Title: Redirection Plugin
Last modified: August 24, 2016

---

# Redirection Plugin

 *  [codeshadow](https://wordpress.org/support/users/codeshadow/)
 * (@codeshadow)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/redirection-plugin-7/)
 * In reference to this question:
    I would like to make my redirections’ source 
   url (all of them) case insensitive. Is there a way to do this within the current
   version of the plugin? And if not, could you please point out where in the files
   should I add strtolower() in order to have all redirections case insensitive?
   Thank you! [http://wordpress.org/extend/plugins/redirection/](http://wordpress.org/extend/plugins/redirection/)———-
   Here is how I did it: (you ahve to make this change everytime you update, hopefull
   the developer will fix it)
 * In this file:
    wp-content/plugins/redirection/models/redirect.php
 * Change this:
    function matches( $url ) { $this->url = str_replace( ‘ ‘, ‘%20’,
   $this->url ); $matches = false;
 * To this:
    function matches( $url ) { $this->url = str_replace( ‘ ‘, ‘%20’, strtolower(
   $this->url) ); $matches = false; $url = strtolower($url);
 * ———-
    If you are using regex then you may want to expand upon my code if it breaks
   any regex redirects. Lee

The topic ‘Redirection Plugin’ is closed to new replies.

## Tags

 * [etc.](https://wordpress.org/support/topic-tag/etc/)

 * 0 replies
 * 1 participant
 * Last reply from: [codeshadow](https://wordpress.org/support/users/codeshadow/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/redirection-plugin-7/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
