751 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
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?

215 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
+4 more
themeva
says

Are you talking about custom fields containing URL ’s?

751 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
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

215 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
+4 more
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