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.

Migrating a Site to Silverstripe

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

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

migration problem


Reply

3 Posts   1574 Views

Avatar
animasola

18 May 2009 at 4:32am Community Member, 121 Posts

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)?

Avatar
Howard

18 May 2009 at 4:24pm Community Member, 215 Posts

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 /

Avatar
PGiessler

25 May 2009 at 7:34pm Community Member, 47 Posts

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

Best regards,

Pascal