Viewing 3 replies - 1 through 3 (of 3 total)
  • webmaestro,
    For the Quick Redirects, you should be able to just create the redirect ‘/sign-in/’ and point it to wherever you want ( I just tested in several of our dev sites to verify). You should not need to create two redirects for that type of URL, as WordPress will always add the ending ‘/’ to the URL from the .htaccess permalink settings, so adding it in is actually redundant in this case. Just create one with it, as the plugin will check it at that point in the game.

    And, you should always use the the URL relative to the root whenever possible as it is easier to match a URL that way.

    A few things to note:

    1. You cannot have a directory existing on the server or it will not redirect – this is due to the WordPress permalink structure (and the way it sets up the .htaccess file for mod rewrite).
    2. As we state in the plugin description and FAQs, the plugin does not allow any form of wildcard redirecting. This is intentional, as the plugin is designed to be simple to use and if for users who need basic redirect functionality.
    3. The plugin does not write ANYTHING to the .htaccess file. It uses WordPress’ wp_redirect (which is a variation of the PHP header location redirect) to perform all the redirects (with exception to meta redirects). So it is our feelings that if someone is advanced enough to know how to write complex regex statements to create redirects, then they would (or should) be advanced enough to set up redirect patterns in .htaccess, as it is MUCH more efficient then PHP redirecting.

    Hope this helps.
    Regards,
    Don

    Thread Starter webmaestro

    (@webmaestro)

    Thanks for the speedy reply.

    You might want to mention an FAQ or in the ‘Help’ that trailing slash should be added?

    Thanks for a great plugin!

    Web Maestro Clay

    Web Maestro Clay –
    I could have sworn there was something in the FAQs about it, but doing a quick search, I see there is not. I will add something to the FAQs today, as soon as we get the update 5.1.3 posted. It will not be in the Read Me FAQs this run (just missed it), but it will be in the RSS stream of FAQs in the plugin menu.

    Warm Regards,
    Don

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create a 'directory' redirect with or without trailing slash?’ is closed to new replies.