How to remove TAG prefix from WordPress URL !؟

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello,

    Thank you for contacting Rank Math today.

    Yes this is indeed possible via the redirections module.
    You will need to create a new regex redirection as described on this page: https://rankmath.com/kb/solving-redirection-issues-using-rank-math-seo/

    Looking forward to helping you. Thank you.

    ​​​​​​

    I don’t want to make redirects
    I just want to delete the tag letter from all the url’s

    Hi Amir,

    Thanks for the follow up.

    There is no option to modify the tag URL in WP, removing or directly modifying URLs that have already been indexed is also frowned upon in SEO since this will ultimately cause a bad user experience and cause 404 errors.

    This is where redirections come in since the old posts will redirect to the new URL that does not have the tag base.

    I hope this info helps.

    I have a website whose structure is based on the fact that there are no tags and batches inside its url.
    What should I do now?

    Hi Amir,

    It would still work.

    The URLs would still open and everything will work exactly like it did before you switched to Rank Math.

    It is just that the tag archives will have the /tag/ in them like before.

    The post URLs will not have anything in them like before.

    If something isn’t working, please explain so we can help you better.

    I didn’t understand how to permanently delete / tag / from the url

    I just want as the rankmath allows category URLs from:
    example.com/category/my-category/
    to the :
    example.com/my-category
    changed.
    The same thing happens with tags
    End.

    This means the url of the tags instead of:
    example.com/tag/my-tag/
    in the form of :
    example.com/my-tag/
    Be it.

    Hello,

    Thanks for getting back to us.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    What I wanted to send you had

    Hello,

    Thank you for contacting Rank Math today.

    We are checking this further and we will get back to you soon.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi,

    I am sorry but that method only works when you target URLs exist.

    For example, your previous URL structure was domain.com/topics/post-name

    But, you updated the URL structure to this:
    domain.com/post-name

    Then, to redirect all posts with this structure
    domain.com/topics/post-name

    To this:
    domain.com/post-name

    You would need the method we offer. It will not work in your case since the URLs without the tag in them would show a 404. I am sorry but like I mentioned – there is no option in Rank Math to strip the tag base. You may use a 3rd party plugin for that.

    I am closing this ticket but feel free to open a new one if you have any OTHER queries.

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

The ticket ‘How to remove TAG prefix from WordPress URL !؟’ is closed to new replies.