Hi, I have noindex on my tag and author pages, however, if you have noindex pages that are on your site map, google search console shows them as errors. Is there a way to remove tag pages and author pages from the automatically generated sitemap? As most don’t have enough content to be in any way beneficial for SEO.
I have looked on the forum and in 2018 there was a response to a similar post saying that this functionality was being built at the time and to track it here. However, that appears to just exclude tag & author pages with no posts, not those with very few posts.
So is there any way to completely get rid of tag and author pages from my sitemap?
Ghost’s sitemap is automatically generated. If you want a custom one, you’d need to build it using routes and templates, using the same methodology as this tutorial for building custom RSS feeds:
I also have the same issue. I need to remove author pages from sitemap, but there is no option to achieve that. I used nofollow, noindex in the header to let Google know. But GSC complaints with errors :(
Crazy isn’t it @Madusanka - when you use a site map plugin for any jamstack language like react or vue, you can choose which pages to include and which not to include, along with using wildcards like all pages with …/pages/*
Nice, please let me know if they do respond @Madusanka. Sadly, I’m sceptical that they willl - this problem has been here in the forum for a long time!
Got an update saying they don’t track feature requests on GitHub. Instead asked to create idea in the forum. Created a one and posting here for upvoting (@TomJP FYI)
One way to neutralize the tag and author sitemap links (especially if you’re using Ghost Pro and not self-hosting) is to update your routes.yaml so that the offending taxonomies either link back to the homepage — or aren’t rendered at all. The links to tag and author pages are gone with:
Hello quartzstudio,
I tried your solution without success. I am with no self hosting, and was able to remove some page using the canonical url linking to itself, so the page is automatically removed from the sitemap, but no success for the pages tag and author, they still appear. Any idea ? you have a particular setup ?