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.

General Questions /

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

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

URL Rewrite Help


Go to End


1117 Views

Avatar
jeffmaner

Community Member, 4 Posts

9 June 2013 at 9:41am

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!