That is not quite what the stackover solution suggested and your .htaccess directives, as they are, will never work.
Seems nobody tested the .htaccess change on the site.
I tested using:
http: //lotusmoonjewellery . com/sterling-Silver-agate-Ring-101501
(spacing is intentional to prevent indexing of this post)
and got the same 404 error. No upper case -> lower case rewriting at all.
The stackoverflow suggestion is using just:
Code:
RewriteBase /
# force url to lowercase if upper case is found
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) rewrite-strtolower.php?rewrite-strtolower-url=$1 [QSA,L]
Which might work, depending upon your PHP code.
I would also wonder "why" the need for this rewriting as it does seem to be useless code.
Bookmarks