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   1090 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, 5513 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.