Permalinks change and redirection

#98377
  • Resolved Antonio
    Rank Math free

    Hi there,
    All my blog post of my website have the following syntax: website.com/category/blogpostname
    I have discovered that it is not the best solution to rank.
    So, I want to change the permalinks to website.com/blogpostname.
    I have activated the autopost redirect feature in Rank Math.
    Now, I am going to change the permalinks in wordpress settings.
    I have also understood that after the latter, I should set a regex redirection too.
    However, I am struggling with the right regex rules to write.
    As well, are in the right order the steps I am going to follow?

    Thanks in advance,

    Antonio

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

    Thank you for getting in touch with us.

    The option for auto post redirect only redirects posts whose slug has been changed, not a change in permalink settings. To redirect your URLs ,please try adding these to Rank math redirection:

    
    Source: /(\s+)/(\d+)/
    Destination: $1
    

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

    Antonio
    Rank Math free

    Hi Michael,

    Thanks for your help!

    As I write the destination, automatically it changes in http://$1 , is this normal?

    Alberto
    Rank Math business

    Hello,

    Just to be sure, have you change the redirection type to Regex? Since that is the kind of redirection my colleague shared.

    Looking forward to help you.

    Antonio
    Rank Math free

    Yes!

    screenshoot

    • This reply was modified 4 years, 1 month ago by Antonio.

    Hi,

    You can change it to : https://yourdomain/$1

    Hope this helps 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 ‘Permalinks change and redirection’ is closed to new replies.