Hello,
I have an WPMU installation that uses subdirectories instead of subdomains. I would like blog usernames in URLs to not be case senstive.
Consider a WPMU blog located here:
http://www.mysite.com/blogs/someuser
I would like to have it so that the same blog could be accessed with an address like:
http://www.mysite.com/blogs/SomeUser
or
http://www.mysite.com/blogs/SOMEUSER
If I attempt to capitalize the username in the URL now, it loads the correct blog theme but I get a "Not Found" error where the content should be.
Could someone please advise in what part of the code WPMU gets the username from the URL and does a database query with it?
My intent is to first do a strtolower() before comparing it with the data in the database.
I have examined this plugin:
http://n0tablog.wordpress.com/my-wordpress-plug-ins/insensitive/
But I'm not sure if it will work with WPMU or if it does what I want.
I'm not trying to have case insensitve logins (because we are using an external authentication system) but I am trying to have case insensitive URLs.
Any thoughts?
Thank you.
-Dave
Using capital