Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Firstly, please head over to your WordPress Dashboard > Settings > Permalinks and set up the permalinks for your posts as per your requirement.
You can refer to this knowledge base article to understand how to correctly set up Permalinks on your site – https://www.elegantthemes.com/blog/wordpress/wordpress-permalink-settings
After you have changed your Permalinks, WordPress will automatically redirect the URL of your old post to the new one without any extra effort from your side.
If for some reason, WordPress doesn’t automatically redirect your old URLs to the new ones, you can do that with the help of the Rank Math Redirection module.
To enable this automatic post redirection feature of Rank Math, you need to ensure that you’ve activated the Redirections module by navigating to WordPress Dashboard > Rank Math > Dashboard > Modules.

Once you’ve activated the Redirections module, head over to the WordPress Dashboard > Rank Math > General Settings > Redirections > Auto Post Redirect and enable the option.

Have a look at this knowledge base article for further understanding – https://rankmath.com/kb/how-to-redirect-posts-after-changing-urls/
Hope this helps.
Looking forward to helping you.
Thank you.
Hi. I understand. Thanks. When i linked post for example on social networks will be redirections works?
Hello,
Yes, assuming the WordPress auto-redirection works after changing the general permalink structure, the redirection should work when sharing the old URLs to social media platforms.
Let us know if it works on your end.
Looking forward to helping you on this one.
Hi, it works without errors for now 🙂 Thanks.
Hello,
We are super happy that it is now working.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.