Redirect Wordpress URLs to Lowecase
Hi, I'd like for domain.com/example and domain.com/EXAMPLE to point to the same file. I found a site that recommended adding the following to my .htaccess file:
RewriteEngine on
RewriteBase /
RewriteMap insensitive tolower:
RewriteRule ^[\/]*(.*)$ /${insensitive:$1} [R,L]
The problem is, my .htaccess file is not empty. I assume the following was added by WordPress:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Is it possible to combine the two so that the wordpress code continues to work, but the server treats all URLs as lowercase?
Many thanks!