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

mysite.com/silverstripe/


Reply

2 Posts   850 Views

Avatar
silverfox

10 March 2010 at 7:34am Community Member, 3 Posts

Hi, I have created a site locally and have now installed silverstripe on the web server successfully, i don't want the site to have a url that is /silverstripe/xxx should this be addressed before I begin to move over my local site as per the documentation on uploading to a web server?

Many thanks

Avatar
edk

10 March 2010 at 10:27am Community Member, 39 Posts

Hi Silverfox,

I like Silverstripe b/c it is relatively easy to strip out that leading directory. It should be as simple as changing the .htaccess file to point to your root directory of your domain. Of course you want to move all your files & folders into the root directory (out of your current nested "silverstripe" folder.

Example:
In your htaccess file (around line 14) you currently would have:

RewriteEngine On
RewriteBase /Silverstripe-TwoFour

just switch that up to be simply

RewriteEngine On
RewriteBase /

-chango