751 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United States
CyberShot says

I am working with wordpress on localhost. I got everything working just fine. My question is this.

I am working with a live site. I have downloaded the sql file and I have uploaded it to localhost. I have found that if I change the address by doing a mass find and replace then the site displays messed up. But If I just edit the home url and blog url then everything shows fine. Got any ideas?

190 posts
  • Attended a Community Meetup
  • Elite Author
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 200 and 499 users
  • Sold between 250 000 and 1 000 000 dollars
themeva says

Are you talking about custom fields containing URL ’s?

751 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United States
CyberShot says

no, I mean opening up the sql file and doing a find/replace the domain name with http://localhost/foldername

when I do that, the theme displays funny, if I just change the url of the home and blog in options using phpmyadmin then it displays better

190 posts
  • Attended a Community Meetup
  • Elite Author
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 200 and 499 users
  • Sold between 250 000 and 1 000 000 dollars
themeva says

Yeah it seems WP is really sensitive to changes, I’ve had issues with people using full domain URL ’s in custom fields, when they do a mass find and replace it breaks the data. I’ve had to stress not to include the full domain name (unless it’s an external URL which is fine) for images etc.

by
by
by
by
by
by