Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Navigating to folder

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

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

Page: 1
Go to End
Author Topic: 1030 Views
  • Android08
    Avatar
    Community Member
    18 Posts

    Navigating to folder Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Navigating to folder Link to this post

    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!

  • Android08
    Avatar
    Community Member
    18 Posts

    Re: Navigating to folder Link to this post

    Thanks, that seems to have worked perfectly.

    1030 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.