Hello,
We apologize for the issue you are facing with the redirects after changing the default language of your website. Unfortunately, Rank Math does not automatically handle redirects for changes in the default language or permalink structure when using WPML.
To manage this situation effectively, you can use the Regex (Regular Expression) feature in Rank Math to create a set of redirects that will cover the changes in your URL structure. This way, you won’t have to manually map all URLs.
For example, you can set up a regex redirect for your old URLs to point to the new ones. Here’s a simple way to do it:
- Go to WordPress Dashboard → Rank Math SEO → Redirections.
- Add a new redirection rule using regex for your old URLs. For instance:
- Click on Add Redirection to save the changes.
You can create similar rules for other URLs as needed. For more complex patterns, you can refer to our documentation on using regex for redirects.
If you have any further questions or need assistance with specific regex patterns, please feel free to reply to this ticket, and a human agent from our support team will be happy to help you further.
Thank you for raising this concern!
Sources:
How to Redirect Posts After Changing 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.