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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Moving / Relocating sites...


Go to End


4 Posts   3709 Views

Avatar
HackDefendr

Community Member, 8 Posts

14 May 2008 at 7:31am

I was just curious of how difficult it would be to move my silverstripe site onto a different server and change the folder name.

I don't suppose there is something built in that can handle this.

J

Avatar
3dkiwi

Community Member, 18 Posts

14 May 2008 at 9:26am

Edited: 14/05/2008 9:27am

From my limited play with this. There is no tool to do this but the process is not too hard:

Take the complete SilverStripe directory structure and place it in the new location.

This includes the cms, sapphire, tutorial, themes... dirs

For the renaming step I am guessing is you require to rename tutorial to another name. If so rename the directory to whatever you require and then move into this directory and edit the _config.php file.

The line:

$project = 'tutorial';

Needs to be changed to match the new directory name.

I am pretty sure that is all that is required.

Anyone else want to add any more steps if required...

3d

Avatar
pIscIs

Community Member, 8 Posts

15 May 2008 at 6:23pm

if you moving SS to another server, you must move your database too! with phpMyAdmin import/export you can do it easily. plus, you must change your .config.php db params to new(sql db user name, pass, database name).
also you must reset all permissions of assets folder.

Avatar
Bruce B

Community Member, 164 Posts

16 May 2008 at 9:28am

One last step - all your templates are likely to reference the tutorial folder for css and images. You will need to change all those references.

cheers
bruce