Re: [Z] How to remove index.html at the end of each category URL and how to move the pages location from default "pages" folder
Hi,
It could be that you are getting into an infinate loop.
Try this:
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule ^/pages/(.*) /${lowercase:$1} [R=301,NC]
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
It could be that you are getting into an infinate loop.
Try this:
Code:
RewriteMap lowercase int:tolower RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule ^/pages/(.*) /${lowercase:$1} [R=301,NC]
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!