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.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

I want to move my entire SilverStripe to another location - what files do I need to edit?


17 Posts   6378 Views


16 July 2008 at 7:50am Community Member, 34 Posts

if you export is as a mysql document and save it in notepad (remember to change the file type to all files) save it as name.mysql. Once this is done open up your hosting and look for php databases and make sure you enter a database and user and add the user to the database with full privileges. Then after you do that go back to your hostings main control panel and open phpMyAdmin and open up the database that you just made and import the "name".mysql document into that table. One final step you need to change the silver stripe config (mysite/_config.php) and where it shows your db details enter the details that you made in your hosting phpMyAdmin. Your details have to be entered like this.

Hosting Username_database
Hosting Username_user

and localhost is fine and you just enter your password how it is in the _config.php file allready


16 July 2008 at 7:51am Community Member, 48 Posts



17 July 2008 at 11:15am Community Member, 14 Posts

where is the .htaccess file?
I looked for it, but I can't seem to find it
thank you in advance


17 July 2008 at 11:17am Forum Moderator, 474 Posts

It's an invisible file in the same folder as sapphire/, cms/ and jsparty/


17 July 2008 at 11:32am (Last edited: 17 July 2008 11:53am), Community Member, 14 Posts

I have to edit all of them?

also how do I view these invisible files?


17 July 2008 at 4:06pm Community Member, 34 Posts

are you trying to find them on local host or web server


17 July 2008 at 8:48pm Community Member, 78 Posts

.htaccess is in the root of your site ie. yourwebsite/httpdocs/.htaccess

To be able to view it locally you need to show hidden files. If using a Mac you can download this nifty little application that turns hidden files on and off at a click of a button

Then you can view .htaccess and modify it.

If you need to find it on a remote site then it should be visible in the files folder on your VPS admin (ie Plesk)


22 July 2008 at 5:46am Community Member, 14 Posts

what if I am not using local host?