Switching to new permalinks structure

#46656
  • Resolved Nur Islam
    Rank Math pro

    I have a website with 570 posts.
    I want to change the permalink structure.

    Can I redirect the old links to the new links with Rank Math, all at once?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Alberto
    Rank Math business

    Hello,

    If you have the option “Auto Post Redirect” enabled on Rank Math, it should be done automatically.

    You can find it by going to the WordPress Dashboard > Rank Math plugin Dashboard > General Settings > Redirections and there, at the bottom, it is; just as I show you in the following screencast: https://i.rankmath.com/UkZgI0

    Thank you.

    Hi, This did not help. After setting up the 301 redirections, I changed the permalink structure. But the old links shared on different social media platforms redirecting to the 404 page instead of the new URL.

    Alberto
    Rank Math business

    Hello,

    Then I suggest you create some regex rules to redirect the URLs to the new pages. Please take a look at the following resource page for more info on this: https://rankmath.com/kb/solving-redirection-issues-using-rank-math-seo/

    Looking forward to helping you. Thank you.

    Hi,
    I have created regex for redirection. First I have tried it on Rank Math redirection, it didn’t work. After that, I have installed another plugin “Redirections” and added the same regex there, it worked.
    Regex rule

    Source URL example: /2020/02/23/post-name/category/author
    Redirection URL: /category/post-name

    This is the rule I have applied to the mentioned screenshot.

    For Rank Math redirection, should I use that in any other way?

    • This reply was modified 4 years, 8 months ago by Nur Islam.

    Hello,

    Thank you for contacting Rank Math today.

    The code should be able to work as expected in Rank Math too. Could you please head over to Rank Math > General Settings > Redirections > Debug redirections and enable this option and let us know the kind of error that is reported during the redirection process?

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Switching to new permalinks structure’ is closed to new replies.