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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

URL Rewrite Help


Reply

306 Views

Avatar
jeffmaner

9 June 2013 at 9:41am Community Member, 4 Posts

I wondered if I might get some URL rewrite help from the members of the forum.

I'm using WinHost, and am unable to install to the root. This means that my website's URLs include the folder where SilverStripe is installed, like http://mysite.com/Silverstripe. I managed to write a few inbound rules to resolve http://mysite.com to http://mysite.com/Silverstripe. But I've been unable to write outbound rules to make sure that clicking on, for example, About Us, doesn't leave the URL as http://mysite.com/Silverstripe/about-us. I just want to eliminate the folder name from the URLs that the user will see.

Thanks!