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.

Archive /

Our old forums are still available as a read-only archive.

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

redirecting to directory with in root


Go to End


2 Posts   1451 Views

Avatar
zuccess

Community Member, 1 Post

5 November 2008 at 3:59pm

I want to create a redirect page to point to a directory in my root. Is there a way to not have SS interrupt the request?

Avatar
agen7seven

Community Member, 4 Posts

5 November 2008 at 8:01pm

In your .htaccess put:

RewriteCond %{REQUEST_URI} !/directory

Where directory is, well, the directory you want to omit.

---------------------------------
Easy Serve Webhosting - New Zealand servers, Personal service
silverstripe webhosting