Hello,
We apologize for the issue you are facing with the canonical URLs on your site. Unfortunately, there isn’t a built-in feature in Rank Math to set a default canonical URL for all new posts and pages globally. However, you can manually set the canonical URL for each post or page using the Rank Math meta box when editing them.
To change the canonical URL for individual posts or pages:
- Edit the post or page in WordPress.
- Scroll down to the Rank Math meta box.
- Go to the Advanced tab.
- In the Canonical URL field, enter your desired URL format:
www.watchcount.com/articles/
.
- Save or update the post/page.
If you want to automate this process for all new posts and pages, you might need to consider custom coding or using a plugin that allows you to set default values for custom fields.
For your specific setup with a reverse proxy, it may also be beneficial to consult with your developer to ensure that the canonical URLs are correctly configured to reflect your desired structure.
Thank you for raising this concern! If you have any further questions or need assistance, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further.
If we change the Settings – General WordPress Address (URL) and Site Address (URL) to http://www.watchcount.com/articles, will RankMath create default canonical URLs using this pathing? Or do you pull the path information from somewhere else within WordPress?
Hello,
Please note that Rank Math by default generates a self-referencing canonical URL for your pages. If you add any custom canonical to your pages, Google will not index them and these pages will not be added to your sitemap.
In this case, you can change the permalink structure from WP Dashboard > Settings > Permalinks or you can directly change your WordPress Address and Site Address, but this will change the root URL of your website.
However, after changing the permalink of your website, Rank Math will automatically generate the self-referencing canonical URL.
Hope that helps and please don’t hesitate to let us know if you have any other questions.
Thank 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.