Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Copying a live site to localhost

Go to End

2 Posts   1055 Views


Community Member, 68 Posts

25 November 2013 at 1:31pm

I want to copy my live site back to my computer/localhost (windows).

I have another site that is installed successfully on localhost.

I have copied all the SS files to a folder under wamp/www and exported the database.
Then I created a new database and user, and imported the database.
Changed the database settings in _config.php.

After dev/build?flush=1, the website has the correct theme but only the default pages.

Hours/days later, I have chased every 'red herring' I can find.

Is it simply that you can only have one website under wamp/www or can someone please point in the direction the problem is likely to be hiding?

Thank you.


Community Member, 68 Posts

26 November 2013 at 5:16pm


It was the small matter of using a different name for the new database. I found a reference in an old post that referred to this issue.

This begs the question, why did creating a database with a new name cause a problem when shifting the site from the web server to localhost when it didn't when shifting the site from localhost to the web server?

(on the plus side, I know a lot more about identifying errors.)