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

Website URL without containing silverstripe


5 Posts   686 Views


6 January 2012 at 9:23am Community Member, 1 Post


Probably the worlds easiest question but I just can't figure it out. How do I install Silverstripe so that my pages point to my base URL and don't contain silverstripe

e.g. I want instead of

Thanks in advance!


6 January 2012 at 2:55pm (Last edited: 11 January 2012 1:55pm), Community Member, 29 Posts

Sounds like you have SilverStripe installed in a sub-directory. Moving all the files from your www/silverstripe/ folder to your www/ folder on the server should do the trick.


11 January 2012 at 6:05am Community Member, 2 Posts

Actually, I'm with Bernie on this... I have other subdomains that have their own folders on my domain and want to keep SilverStripe in a separate folder, but have the URL for my main "www" domain point to that folder easily... There has to be an easy way to do this and I'll be searching the forum further, but in case I don't find anything (and this post was right up front on the topic), what's the "real" answer to Bernie's query (no offence to Sticks' response)?


11 January 2012 at 2:02pm Community Member, 29 Posts

You could try creating a .htaccess file in your www directory and using mod_rewrite to direct requests to the SilverStripe folder. You might also need to edit the .htaccess file in the SilverStripe directory to make sure it keeps the '/silverstripe' out of the address bar.

This should help get you started:


12 January 2012 at 4:51am (Last edited: 12 January 2012 4:53am), Community Member, 2 Posts

Thanks Sticks (and thanks for not taking offence to my first post, it's always appreciated when someone helps out and your solution in your first post may have worked out of the box for Bernie)... that seems more thorough than other .htaccess "solutions" I came across that didn't work for me because of my other subdirectories that point to subdomains (they stopped working when the SilverStripe subdirectory started working)...

Should get a chance to test this later...