Jump to:

325 Posts in 200 Topics by 157 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » migration problem

What you need to know when migrating your existing site to SilverStripe.

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

Page: 1
Go to End
Author Topic: 1559 Views
  • animasola
    Avatar
    Community Member
    121 Posts

    migration problem Link to this post

    I have a problem, I deployed Silverstripe locally so I can modify it easily. Now that I'm finished, I have to move it from local to live.

    I uploaded all the files and exported the database and imported them onto the live account. I changed the config file for database name and user. Once I was finished, I checked the site but all I get is a HTTP 404 - File not found. Why is this?

    here is some more detail regarding the matter:

    Working experimental site exists at:

    http://localhost.localdomain/stripe/
    all the files are in a folder names stripe

    I migrated it to:

    http://lexlounge.inting.org/draft/

    What else do I have edit other than the config file (since I changed the db name and user)?

  • Howard
    Avatar
    Community Member
    215 Posts

    Re: migration problem Link to this post

    You're almost there! You will have to change the .htaccess file which is located in the root directory of the installation - there will be a line that looks something like this:

    RewriteBase /stripe

    I'm not 100% but I think that has to be changed to:

    RewriteBase /draft

    or simply:

    RewriteBase /

  • PGiessler
    Avatar
    Community Member
    47 Posts

    Re: migration problem Link to this post

    Yes, you are right. You have to change the RewriteBase in .htaccess. In that case: RewriteBase /draft.

    Best regards,

    Pascal

    1559 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.