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.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

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

Moving directory after installation


Reply

6 Posts   2649 Views

Avatar
mango

21 May 2009 at 2:52pm Community Member, 26 Posts

I'm thinking of building a site under a directory, i.e. www.domain.com/beta, and when it's ready to go live, I'll be moving it to www.domain.com. Can someone please confirm that by moving files to the root directory will not cause any problems? Are there any things I should look out for?

Avatar
Willr

22 May 2009 at 11:45am Forum Moderator, 5511 Posts

Only thing you might need to watch out for is the path written in the .htaccess file. Apart from that it should work fine

Avatar
mango

23 May 2009 at 5:57pm Community Member, 26 Posts

I found in my .htaccess that there is a line that says "RewriteBase /beta" which I believe should be changed to "RewriteBase /" once moved to the root, am I right?

Avatar
Fuzz10

25 May 2009 at 11:16pm Community Member, 787 Posts

Yup.

Avatar
LinseyM

27 June 2009 at 12:34am Community Member, 99 Posts

Hi guys,

Sorry to hijack the thread, but just wondering: is this the same for moving from a subdomain?

I'm currently building site on "http://testsite.mydomain.com" but once it's ready I want to move it to "http://www.mydomain.com"

I've seen posts about moving from one server to another, but I wasn't sure about the effects of changing the address location as well as the physical location of the files...

Am a newbie to Silverstripe (loving it tho!) so bear with me.

Thanks.

:)

Avatar
martimiz

27 June 2009 at 4:40am Forum Moderator, 1095 Posts

Shouldn't be a problem, guess you wouldn't even have to change .htaccess, as long as you copy to the same folder level...