-
Hello
First of all i followed the instructions here https://rankmath.com/kb/filters-hooks-api-developer/#how-to-add-code-snippets-to-rank-math-php and it broke my site at the point of creating rank-math-php file. Thankfully it was restored when i removed it.
So first question is about this if there is a safe way to do this.Second i would like to ask about the sitemaps. I currently use jetpack sitemap which by default includes attachments pages in it and i obviously do not prefer that. I have made them no-index a couple of weeks ago with rank math but they are still on the jetpack sitemap. Should they still be there?
Now i have added the redirection option to the original post that rank math offers, but this is not so ok because there are many orphan images on my site. Is it bad for seo to include attachments in it which redirect? Because doing an audit with ahrefs gives the “Noindex page in sitemap” error.
Finally i am thinking of starting using rank math sitemaps and i would like you to guide me with a safe way to migrate. This is because removing attachments from the sitemap is included as an option to rank math. It will not affect the actual images correct?
I wuld appreciate your feedback to all of the above which are kind of connected together.
Thanks
The ticket ‘redirect attachments to image file – sitemaps’ is closed to new replies.