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

Navigating to folder


Go to End


3 Posts   1356 Views

Avatar
Android08

Community Member, 18 Posts

14 September 2008 at 10:15pm

Edited: 14/09/2008 11:34pm

Is it possible to navigate directly to a folder on the site that I have another program in, SilverStripe is installed in the root directory of my site, whenever I try to go to the folder I get redirected to my 404 page. I have edited the .htaccess file to allow me to get into the folder but I was only really guessing at how to do it and it hasn't worked, whenever I go to another page within the folder I am redirected back to the 404.

Thanks.

Avatar
Willr

Forum Moderator, 5523 Posts

15 September 2008 at 2:45pm

This is what I use and it seems to work on my sites

RewriteCond %{REQUEST_URI} !^/foldernotinss/.*

do that before the final RewriteRule and you should be fine!

Avatar
Android08

Community Member, 18 Posts

16 September 2008 at 12:03am

Thanks, that seems to have worked perfectly.