PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
We need to do 301s so that any URL in uppercase, 301s to lowercase. This is the script we have found that could do it, but not sure about the conf file with the "lc".
Is there no other simple htaccess way?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
RewriteMap needs to go in your virtual host definition, not your .htaccess
While you cannot declare a map in per-directory context (.htaccess files or <Directory> blocks) it is possible to use this map in per-directory context.
Is it important to do this - because we have pages that are apparently cached by Google with CAPITALS, and the same with lowercase.
So should we be finding a way to 301 to lowercase?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.