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.

Installing SilverStripe /

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

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

mysite.com/silverstripe/


Go to End


2 Posts   1315 Views

Avatar
silverfox

Community Member, 3 Posts

10 March 2010 at 7:34am

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

Community Member, 39 Posts

10 March 2010 at 10:27am

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