Jump to:

4873 Posts in 7260 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Moving directory after installation

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

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

Page: 1
Go to End
Author Topic: 2509 Views
  • mango
    Avatar
    Community Member
    26 Posts

    Moving directory after installation Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Moving directory after installation Link to this post

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

  • mango
    Avatar
    Community Member
    26 Posts

    Re: Moving directory after installation Link to this post

    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?

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: Moving directory after installation Link to this post

    Yup.

  • LinseyM
    Avatar
    Community Member
    99 Posts

    Re: Moving directory after installation Link to this post

    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.

  • martimiz
    Avatar
    Forum Moderator
    1038 Posts

    Re: Moving directory after installation Link to this post

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

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