itinerisltd/wp-force-lowercase-urls

Force uppercase URLs to lowercase.

0.1.0 2021-10-07 10:09 UTC

This package is auto-updated.

Last update: 2024-03-29 03:59:40 UTC


README

CI Releases Packagist Version PHP from Packagist Packagist Downloads GitHub License Hire Itineris Twitter Follow @itineris_ltd Twitter Follow @_codepuncher

Force uppercase URLs to lowercase.

Goal

Prevent issues caused by pages existing on URLs of various casing.

Features

  • Forces URLs to lowercase
  • Ignores file URLs

Pull requests are welcomed.

Minimum Requirements

  • PHP v7.4
  • WordPress v5.8

Installation

Composer (Recommended)

composer require itinerisltd/wp-force-lowercase-urls

Build from Source (Not Recommended)

# Make sure you use the same PHP version as remote servers.
# Building inside docker images is recommended.
php -v

# Checkout source code
git clone https://github.com/ItinerisLtd/wp-force-lowercase-urls.git
cd wp-force-lowercase-urls
git checkout <the-tag-or-the-branch-or-the-commit>

# Build the zip file
composer release:build

Then, install release/wp-force-lowercase-urls.zip as usual.

Common Issues

N/A

FAQ

Will you add support for older PHP versions?

Never! This plugin will only work on actively supported PHP versions.

Don't use it on end of life or security fixes only PHP versions.

It looks awesome. Where can I find more goodies like this?

Where can I give ⭐⭐⭐⭐⭐ reviews?

Thanks! Glad you like it. It's important to let my boss knows somebody is using this project. Please consider:

Developing

Testing

composer style:check

Pull requests without tests will not be accepted!

Feedback

Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.

Change Log

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email dev@itineris.co.uk instead of using the issue tracker.

Credits

wp-force-lowercase-urls is a Itineris Limited project created by Lee Hanbury-Pickett.

Full list of contributors can be found here.

License

WP Force Lowercase URLs is released under the MIT License.