How to redirect website.com/category(this)/tegory_name% ?

#38848
  • Resolved Moneff
    Rank Math free

    Hello,

    I installed the module mainly because my website permalinks about my categories are:

    mywebsitename.com/category/my-category-name
    I want to become
    mywebsitename.com/my-category-name

    I want to redirect the /category/ from all my categories
    I saw that the module has this function, could you please tell me how? 🙂

    Best Regards,

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

    Thank you for contacting Rank Math today.

    Your can enable this option by heading over to Rank Math > General Settings > Links > Strip Category Base and click on this option.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Moneff
    Rank Math free

    Great, it worked perfect. I kinda missed that function.

    Could you please tell me how can I change the mywebsite.com/tag/%tagname% , i want to make it mywebsite.com/етикет/%tagname%
    I want to rename “tag” to “етикет”

    Thank you

    Todd
    Rank Math free

    Hi Moneff,

    You can do that from WordPress Dashboard > Settings > Permalinks
    null

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Moneff
    Rank Math free

    If i do it from there, will I still get redirected?
    I mean i can change it from there, I know, but will they be redirected ?

    Todd
    Rank Math free

    Hi Moneff,

    Sorry, the old posts will not get redirected by just changing the tag base.

    You create a new regex redirect though and set it up like this:
    null

    That will redirect these URLs:
    domain.com/tag/tag-name
    to
    domain.com/етикет/tag-name

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Moneff
    Rank Math free

    Thank you for helping me.

    I believe there is a problem when I do the things done from the photo:

    It gives me this error:

    Invalid regex pattern: tag/(*)

    Please add at least one valid source URL.

    Todd
    Rank Math free

    Hello,

    Not sure how you are adding but it is working fine for me:
    https://i.rankmath.com/Vms2oJ

    Do check the above screencast and make sure you are choosing the same option in the regex.

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

The ticket ‘How to redirect website.com/category(this)/tegory_name% ?’ is closed to new replies.