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.

Archive

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

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

Navigating to folder


Reply

3 Posts   1075 Views

Avatar
Android08

14 September 2008 at 10:15pm (Last edited: 14 September 2008 11:34pm), Community Member, 18 Posts

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

15 September 2008 at 2:45pm Forum Moderator, 5511 Posts

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

16 September 2008 at 12:03am Community Member, 18 Posts

Thanks, that seems to have worked perfectly.