Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Moving / Relocating sites...

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

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

Page: 1
Go to End
Author Topic: 3002 Views
  • HackDefendr
    Avatar
    Community Member
    8 Posts

    Moving / Relocating sites... Link to this post

    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

  • 3dkiwi
    Avatar
    Community Member
    17 Posts

    Re: Moving / Relocating sites... Link to this post

    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

  • pIscIs
    Avatar
    Community Member
    8 Posts

    Re: Moving / Relocating sites... Link to this post

    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.

  • Bruce B
    Avatar
    Community Member
    145 Posts

    Re: Moving / Relocating sites... Link to this post

    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

    3002 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.