• Resolved bobinfrance

    (@bobinfrance)


    Is there a way to set case insensitive redirects?

    I’ve inherited an old site with no standards so I have images\Gh1.jpg and images\gH2.jpg etc. which I’ve moved it to WP and I’d like to catch them in one redirect rule.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Godley

    (@johnny5)

    The only option currently is to use a regular expression to match the different cases.

    Thread Starter bobinfrance

    (@bobinfrance)

    Thanks John,

    When you say currently does that suggest it might be an option in the (near) future?

    Plugin Author John Godley

    (@johnny5)

    Yes, it is planned for the future. I can’t say when, and probably not the ‘near future’, but it will be added.

    Thread Starter bobinfrance

    (@bobinfrance)

    Many thanks it’s a great plugin regardless.

    If I wanted to add something to deal with this directly to my .htaccess file any advice on how to advoid redirection chains – I fully understand if this is an over the top question for here.

    Plugin Author John Godley

    (@johnny5)

    To avoid redirect chains you need to avoid making a chain! There’s nothing much else that can be said about it really, and I would say its harder to create one than not create one. You can always check your redirects to see if you have them chained up.

    Thread Starter bobinfrance

    (@bobinfrance)

    OK thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Case Insensitive Redirects’ is closed to new replies.