WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Trailing Slash (2 posts)

  1. robflate
    Member
    Posted 2 years ago #

    I've seen a few topics on this subject but they've been closed.

    https://img.skitch.com/20110725-e9s7j6m9u317yhjr1tu4frhhnw.jpg This redirect works when you go to;

    http://www.flat-e.com/ionisation (no trailing slash)

    but 404s if you go to;

    http://www.flat-e.com/ionisation/ (trailing slash)

    WordPress correctly canonicalises other urls on my site. Any advice appreciated. Thanks.

    http://wordpress.org/extend/plugins/redirection/

  2. jrf
    Member
    Posted 2 years ago #

    If you make the source url a regex and change it to the below it will work:

    Source URL: /ionisation[/]?

    You may even want to change it to match only if the complete URL matches by changing the regex to:

    Source URL: ^/ionisation[/]?$

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic