Active
Project:
XML sitemap
Version:
7.x-2.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2014 at 20:34 UTC
Updated:
4 Apr 2023 at 17:25 UTC
Jump to comment: Most recent
After rebuilding my links, the content tab shows 682 Available and Indexed nodes and 0 Visible. The actual sitemap.xml shows no links, how to make my links visible? I can surely access them.
Comments
Comment #1
dave reidHave you set some content types to be visible in the sitemap? By default you have to go and tell XMLsitemap which content types to include, it does not include them by default.
Comment #2
dtolj commentedThe XMLsitemap is set to "included" and priority level is set to "0.5 normal" in my custom content type but after re-building index, value still shows as zero in "visible" column.
Comment #3
lee luyanda commentedI'm having the same issue, the site map is invisible in my footer and all links needed exist and have been included in options.
Comment #4
dtolj commentedI only have a File field type in my content type as a multiupload widget. These files are not picked up by sitemap.
Comment #5
ikeigenwijs commentedsame issue,
taxonomy is added, but no content nodes.
Comment #6
beccapossibleI'm having the same issue. 206 available Articles, 206 indexed Articles, 0 visible Articles. I've gone in to the Article Content Type and set the inclusion to Included with a priority of 0.5 as well. I've run cron as well, still no visible Articles.
Comment #7
megansh commentedI ran into this issue as well. All taxonomy terms were indexed and visible. All content nodes were indexed but not visible. I had properly configured all of the XML sitemap settings for each content type and taxonomy term, so that wasn't the issue.
This was my third drupal 7 sitebuild in as many months, and I had not had the issue on my last two builds, so I gave it some thought and I believe I have identified the issue.
In the meantime, here's a workaround that fixed the issue for me:
1) completely uninstall the XML sitemap module
2) verify anonymous users have permission to "View published content"
3) re-enable XML sitemap module
4) reconfigure XML sitemap settings on the content nodes and taxonomy terms
5) rebuild sitemap (should now include both content nodes and taxonomy terms)
My theory is that when you build the XML sitemap before anonymous users have permission to "View published content" and later turn on the permission, somehow XML sitemap still doesn't want to include the content nodes that would have been previously hidden by that permission. On the other hand, when you start building the XML sitemap with that permission enabled, the module works as designed.
I haven't really dug into it a lot, but I hope this helps in identifying the issue.
Comment #8
megansh commentedComment #9
dalguete commentedBetter late than never. The problem gets fixed by Rebuilding permissions (/admin/reports/status/rebuild), then rebuild sitemap link (/admin/config/search/xmlsitemap/rebuild) and all back to normal.
Comment #10
er11 commentedThe same issue for drupal8.
after rebuilding it's shown, that content types are indexed, but not visible
sitemap.xml doesn't have anything in it
1 year left and no changes, excellent))
Comment #11
proweb.ua commented#7 works