Removing /tag from the permalink

#703780
  • Resolved Anonymous
    Rank Math free

    I need to remove the /tag in url.
    Ex:
    my-site.com/tag/post1/ should be appear link this my-site.com/post1

Viewing 1 replies (of 1 total)
  • Hello, I’m sorry to hear that you’re experiencing issues with your URL structure. To remove the /tag from your URL, you can use the Redirection Manager in Rank Math.

    Here’s how you can do it:

    1. Navigate to WordPress Dashboard → Rank Math SEO → Redirections.
      Navigate to Redirections

    2. Click the Add New button to create a new redirection.
      Add New Redirection in Rank Math

    In the source field, add the below code:

    /tag/(.*)

    And in the destination URL, add this code:

    $1

    Make sure to select the Regex option in the Match Type dropdown menu.

    This will redirect URLs from my-site.com/tag/post1/ to my-site.com/post1.

    If you need further assistance, feel free to ask!

    Sources:
    Solving Redirection Issues Using Rank Math SEO Plugin » 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 ‘Removing /tag from the permalink’ is closed to new replies.