redirect attachments to image file – sitemaps

#226494
  • Resolved Spiros Kalimeris
    Rank Math pro

    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

Viewing 5 replies - 46 through 50 (of 50 total)
  • I confirm that https://kalimeristherapist.com/%CF%87%CF%81%CE%AE%CF%83%CE%B9%CE%BC%CE%B1-%CE%B3%CE%BD%CF%89%CE%BC%CE%B9%CE%BA%CE%AC-quotes/ (and its amp version as well) is still showing in sitemap according to ahrefs.

    Hello

    A sudden problem has come up. The sitemap is not readable by google and the link is giving a 404 error. Could it be the intervention you made?

    I extended the login so you can repair

    Ankit
    Rank Math business

    Hello,

    I have checked your sitemap, and it appears to be working. Here is the screenshot for your reference: https://i.rankmath.com/aDGJKK Could you please recheck the GSC or re-submit the sitemap again?

    Looking forward to helping you. Thank you.

    I fixed it by myself if you check the log. But i why it went 404 i would like an answer. Also about the 404 url. I will extend the login once more but please lets not repeat the same things over and over. Can it be removed or not?

    Prabhat
    Rank Math agency

    Hello,

    I again checked your sitemaps, and there is no URL in the uppercase format as you mentioned. The URL present in the sitemap is in lowercase format and it is fully active (not returning any 404 error).

    Please have a look at this screencast for a quick reference:
    https://i.rankmath.com/JuFbHl

    This might be an internal bug within Ahrefs that it is converting this URL to uppercase and then checking it.

    You might want to get in touch with the support of Ahrefs as they would be in a better position to explain the issue.

    Hope that helps.

    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.

Viewing 5 replies - 46 through 50 (of 50 total)

The ticket ‘redirect attachments to image file – sitemaps’ is closed to new replies.