Forum

Thread tagged as: Problem

Localhost to Dev site - content not showing

I've moved my site from local host to a development site at - https://dev4.foamymedia.com

I've exported and imported the local database to dev site

However most of the page content is not showing, even though it is showing in the perch dashboard, and no matter i try i can not get the content to show up on the site.

heellllllppppppppp :)

Stuart Cookney

Stuart Cookney 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Please show us your Diagnostics Report.

Also, did you develop the site in a subfolder and have now moved it to the root directory?

hi

here is a screenshot of the report

screenshot

the local site was built inside the htdocs/The-Oaks/

first time using perch so bit of a noob..

Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, that's your problem - you've built the site in a subfolder, so now all your paths are wrong.

In Perch, go to your home page, and then the Page Options tag.

Does the Path field say something like /The-Oaks/index.php ?

Change it to just /index.php. DO NOT check the box to move the file - you're just correcting the path.

Does that fix the home page?

ah ok! yes thanks, will go through and change all these paths...

what happens if i build a site again this way and there are like 80 pages - there a way to auto change these paths without having to manually do it?

as i build all the sites locally in the htdocs folder..

Drew McLellan

Drew McLellan 2638 points
Perch Support

as i build all the sites locally in the htdocs folder..

That's the bit you need to fix. As you've just seen, that's not a great way to work as it introduces inconsistencies between your dev and live environments. Those inconsistencies result in surprises when you go live, and nobody wants that.