Support » Plugin: Permalink Manager Lite » Evading Multiple Redirects

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi Toshi!

    By default, the free version of plugin will use the canonical redirect. In practice, my plugin will automatically redirect the original permalink (based on native permalink settings) to the currently used custom permalink set with Permalink Manager. It means that “1st URL” should always redirect to the actual URL (2nd URL and then later 3rd final URL).

    However, if you would like to change the custom URL at some point (2nd URL -> 3rd URL), the canonical URL probably will not be applied. In such situation, to auto-redirect 2nd URL to 3rd URL you will need either:

    Thread Starter toshiamcbrowns

    (@toshiamcbrowns)

    Hello Again,

    So I understand paid plugin allows auto 301 redirect from 2nd to 3rd URL.

    But can it also do this automatically?

    1st URl >> 3rd URL
    2nd URL >> 3rd URL

    Plugin Author Maciej Bis

    (@mbis)

    Hi @toshiamcbrowns,

    In free version of plugin, below variants will be covered with “canonical redirect”:

    • initially: 1st URl >> 2nd URL
    • then: 1st URl >> 3rd URL (after 2nd URL is replaced with 3rd URL)

    In short, the canonical redirect will work like this:
    https://permalinkmanager.pro/docs/faq/old-permalinks-redirect/#canonical-redirect-in-permalink-manager

    • original/native URL => actual custom URL (it could be only one URL: either 2nd URL OR 3rd URL)

    In free version of plugin, to make sure “2nd URL” does not return 404 error, after you finally change the custom permalink to “3rd URL”, you will need a custom PHP snippet:
    https://gist.github.com/maciejbis/6fde3381a29f2e224640aa4953d9a929

    —————-

    The paid version allows to save the old permalinks as “extra redirects” after the custom permalinks are updated:
    https://permalinkmanager.pro/docs/plugin-settings/old-custom-permalinks-redirect/

    For instance, after you replace “2nd URL” with “3rd URL”, Permalink Manager Pro will save “2nd URL” as “extra redirect” that would work like an alias for that specific post.

    I hope the above is useful to you. If you require any further information, feel free to contact me.

    Best regards,
    Maciej

    • This reply was modified 1 month, 2 weeks ago by Maciej Bis.
    • This reply was modified 1 month, 2 weeks ago by Maciej Bis.
    Thread Starter toshiamcbrowns

    (@toshiamcbrowns)

    Thanks, I got your point. I Would be interested in getting the paid plugin.

    Just a couple of doubts related to this statement.

    <<For instance, after you replace “2nd URL” with “3rd URL”, Permalink Manager Pro will save “2nd URL” as “extra redirect” that would work like an alias for that specific post.>>

    My queries:

    1- so in the paid plugin,
    the 1st URL will auto redirect to 3rd URL
    and the 2nd URL will redirect to 3rd URL as well.

    Is this done automatically for all the posts?

    2 – now multiple redirect chains will not be there?
    ie 1st to 2nd and then 2nd to 3rd

    Sorry for so many questions.

    Plugin Author Maciej Bis

    (@mbis)

    Hi @toshiamcbrowns,

    No problem at all 🙂 The redirect chain/loop will not be the case here – my plugin will always use the canonical URL as a target URL (so in your case 1st URL will directly redirect to 3rd URL).

    In order to make the paid plugin redirect the “intermediate” URL (2nd URL) you will need to make my plugin save the 2nd URL as “extra redirect” by enabling “Save old custom permalinks as extra redirects” option in Permalink Manager settings:

    As long as “Save old custom permalinks as extra redirects” option is turned on, all the old permalinks will automatically be saved as redirects. This applies to both individual permalink adjustments or bulk changes (with “Permastructures” & “Regenerate/reset” tool).

    Best regards,
    Maciej

    Thread Starter toshiamcbrowns

    (@toshiamcbrowns)

    Wonderful.
    This is what I wanted.
    You were so helpful, definitely trying my hands on the paid version 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.