0

Hey guys...

I have some code im using in a sub directory called /manager/ and I have the following htaccess file

RewriteEngine on
RewriteOptions inherit 
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]
RewriteRule .* - [L]

Options +Indexes
IndexOptions +FancyIndexing

#Rules for root 
RewriteRule ^$ /index.php

RewriteRule ^([^/.]*)$ $1/ [R]
RewriteRule ^([^/.]*)/$ index.php?page=$1 [QSA]

#For news slugs eg /readmore/id/
RewriteRule ^([^/.]*)/([^/.]*)$ $1/$2/ [R]
RewriteRule ^([^/.]*)/([^/.]*)/$ index.php?page=$1&nID=$2 [QSA]

However its not working it just goes back to the root....
How do I fix this problem??

Dan

2
Contributors
1
Reply
5
Views
5 Years
Discussion Span
Last Post by LastMitch
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.