Description
Perform a 301 redirect from an uppercase URL to the lowercase version for all non-admin URLs (that do not include a filename).
Please help by reporting any bugs or feature requests at the link below.
Bugs:
- Report at: Github Issue Tracker
Questions/Comments:
- http://joshbuchea.com/
Installation
Installation
- In your WordPress Dashboard go to “Plugins” -> “Add Plugin”.
- Search for “WP Force Lowercase URLs”.
- Install the plugin by pressing the “Install” button.
- Activate the plugin by pressing the “Activate” button.
Changelog
2.1.1
- Security: prevent redirects to other hosts from crafted URLs (open redirect hardening)
- Fix: no longer redirects WordPress REST API URLs (/wp-json/), which broke case-sensitive routes
- Fix: undefined index notice for REQUEST_URI when run without a web request (WP-CLI, cron)
- Tested up to WordPress 7.1
2.1.0
- Fix: undefined index notice for QUERY_STRING (props jamesryanbell)
2.0.1
- Version bump
2.0
- Ground up rewrite
- URLs with params are now converted & redirected to lowercase as expected
1.0
- Initial commit