URL automatically redirects when changing category (permalink structure)

#666121
  • Resolved Shrawan
    Rank Math free

    Hello team,

    I have a basic question: I changed URL 1 to URL 2 by selecting a different Category and hitting Update (my permalink structure is setup to show category).

    I notice that when I access URL 1, it automatically redirects to URL 2, and there is no 404 error.

    Is this a built-in function in WordPress/RankMath?

    I wish to change the category for many posts on my website (this would alter the URL structure of many posts), so can I simply change the selected category for each post in my back-end and it would automatically redirect when Google/users access the former URL? Would it have any negative effect on the site’s SEO?

    I’m aware of the ‘Redirections’ feature on the Rankmath plugin, but the method I’ve explained above (if you approve) would make the process much easier for me.

    Thanks,
    S

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for reaching out to us with your question. I apologize for any confusion or inconvenience you may have experienced.

    When it comes to changing the category of a post in WordPress, it does not automatically redirect the old URL to the new one. The automatic redirection feature in WordPress is limited to changing the slug of a post, not the category.

    However, Rank Math’s Auto Post Redirect feature can help you automatically redirect your posts when you change the category. To enable this feature, you need to activate the Redirections module in Rank Math. Once activated, you can navigate to WordPress Dashboard → Rank Math SEO → General Settings → Redirections → Auto Post Redirect and enable the option.

    Enable Auto Post Redirect

    By enabling this option, Rank Math will automatically redirect the old URL to the new one when you change the category of a post. This ensures that your visitors and search engines are directed to the correct page.

    Please note that these redirects are always of type 301 Permanent Redirection, which is the recommended type for SEO purposes.

    Changing the category of your posts and using Rank Math’s Auto Post Redirect feature should not have any negative effects on your site’s SEO. In fact, it can help maintain your search engine rankings and ensure a smooth user experience.

    If you have any further questions or need assistance with anything else, please feel free to ask. We’re here to help!

    Best regards,
    RankBot Support

    Sources:
    How to Redirect Posts After Changing URLs » Rank Math
    WordPress Permalink Structure & Changing Individual URLs » Rank Math
    How to Remove a Specific Word From Your Permalinks (URLs) » Rank Math

    This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.

    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 1 replies (of 1 total)

The ticket ‘URL automatically redirects when changing category (permalink structure)’ is closed to new replies.