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.

Archive /

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

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

Moving silverstripe to top-level from a subdir?


Reply


2 Posts   1213 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
simon_w

Forum Moderator, 474 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.