Open rcnascimento opened 2 months ago
Describe the bug The sitemap is enabled but the link is not added after my custom robots.txt content.
robots.txt
To Reproduce Steps to reproduce the behavior:
Expected behavior The plugin must auto add the sitemap index reference to the robots.txt. At the end of generated file.
I have changed this hook callback priority to 10 (the usual) and now the line appears on my robots.txt:
https://github.com/rankmath/seo-by-rank-math/blob/13a1ce8bfb08288151c2fe737ea74dc355c17b02/includes/modules/sitemap/class-sitemap-index.php#L30
Describe the bug The sitemap is enabled but the link is not added after my custom
robots.txt
content.To Reproduce Steps to reproduce the behavior:
robots.txt
via plugin (menu "General Settings", tab "Edit robots.txt");robots.txt
file in browser;Expected behavior The plugin must auto add the sitemap index reference to the robots.txt. At the end of generated file.