Hi
My host has changed to Litespeed from Apache but I am having trouble with my site now.
I have used the basic rewrite rule found on this forum and that works great for certain URL's and not so great for others.
# Multiviews
RewriteEngine On
RewriteCond %{REQUEST_URI} !.+php*
RewriteCond %{DOCUMENT_ROOT}/$1\.php -f
RewriteRule ^([^/]+)/?(.*)$ $1.php/$2 [L]
But problem I am having is that works great on this
http://www.best-butcher.co.uk/butcher-details/test/1
but when it comes to
http://www.best-butcher.co.uk/cp/rate-butcher/test/1
Or any file in the cp directory that does not contain the file extension.
It wont work for some reason. Can anybody help me out with this issue please?
My host has changed to Litespeed from Apache but I am having trouble with my site now.
I have used the basic rewrite rule found on this forum and that works great for certain URL's and not so great for others.
# Multiviews
RewriteEngine On
RewriteCond %{REQUEST_URI} !.+php*
RewriteCond %{DOCUMENT_ROOT}/$1\.php -f
RewriteRule ^([^/]+)/?(.*)$ $1.php/$2 [L]
But problem I am having is that works great on this
http://www.best-butcher.co.uk/butcher-details/test/1
but when it comes to
http://www.best-butcher.co.uk/cp/rate-butcher/test/1
Or any file in the cp directory that does not contain the file extension.
It wont work for some reason. Can anybody help me out with this issue please?
Last edited by a moderator: