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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Moving silverstripe to top-level from a subdir?


Go to End


2 Posts   1665 Views

Avatar
patrics

Community Member, 1 Post

3 December 2008 at 11:08am

I'm new to SilverStripe CMS and i have built a website in a sub-dir called /silverstripe now am i about to launch the site and i want to move it so that it lays strait under the domain in the root-dir. How is the best way to launch a site built on silverstripe?

Avatar
(deleted)

Community Member, 473 Posts

3 December 2008 at 12:32pm

Move all the files in /silverstripe (including .htaccess), then edit .htaccess and change the RewriteBase, dropping the subfolder. The site should work fine after that.