WordPress.org

Support

Support » Plugins and Hacks » Redirection » Slash / at end of string or not?

Slash / at end of string or not?

  • I was using

    /example.com/string/ to redirect to
    /example.com/pony/ but if the slash at the end of the source url is missing then it redirects to a 404 page.

    ie: /example.com/string goes to 404 page.

    So.. I ticked the regex and used the following string..

    /example.com/string* and that works for both!!1 yay!

    But my question is.. does using the regex like this slow down the site? I have hundreds of redirects like this….?

    Thanks

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

Viewing 1 replies (of 1 total)
  • UPDATE…

    The above information is incorrect…

    Only some of the pages are redirecting properly… it does not work for all… some still show message saying cannot redirect..
    Some are conflicting with other similar strings etc..

    Is there a better way to redirect strings with the slash and without the slash in the same redirect command?

Viewing 1 replies (of 1 total)
  • The topic ‘Slash / at end of string or not?’ is closed to new replies.
Skip to toolbar