Hi
We are using xmlsitemap in one of our site. There are some nodes which we had been unpublished some time ago. Then we rebuild the sitemap. But still those nodes have status 1 in the xmlsitemap table and these node links are showing in the sitemap.xml path.

Can anyone suggest. We don't need to show those unpublished nodes in sitemap.xml

Thanks

Comments

Anonymous’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Which xmlsitemap modules do you have enabled? Are there data bits in admin/reports/dblog that might give a clue? Are there data bits in the system log files for PHP and httpd that my give a clue? Unpublished nodes would not be selected unless they are available for anonymous user view.

rinku_talukdar’s picture

Hi earnie,

Thanks for reply.

I am using the 6.x-2.0-rc1+2-dev version of xmlsitemap. I have not seen any clue in admin/reports/dblog.

-Rinku

Anonymous’s picture

I am using the 6.x-2.0-rc1+2-dev version of xmlsitemap

This doesn't answer my question.

Which xmlsitemap modules do you have enabled?

If you go to admin/modules page there are several modules for XML sitemap. Which ones do you have enabled?

rinku_talukdar’s picture

I have enabled the following modules.
XML sitemap, XML sitemap custom, XML sitemap modal UI, XML sitemap node

Thanks

Anonymous’s picture

Have you added any custom links?

rinku_talukdar’s picture

No, I did not add any custom links.

Anonymous’s picture

What permissions do the anonymous users have for viewing content?

rinku_talukdar’s picture

"access content" in node module is enabled for anonymous users to view content.

Anonymous’s picture

How about "view revisions"?

What is the site? I want to take a look at the sitemap.xml report.
Tell me which of the links should not be visible.

rinku_talukdar’s picture

You can see the sitemap link here http://www.artofliving.org/sitemap.xml

There are lots of http://www.artofliving.org/in-hi/* links. We first disabled the "in-hi" language. Then we disable the status to 0 for all the "in-hi" nodes. But still there nodes are visible in "in-hi" language.

Thanks

Anonymous’s picture

By disabled language what do you mean? How was it disabled? How do you execute cron.php and how often?

intyms’s picture

Well i had a similar problem.
I excluded menus and some content types however all the links where still listed in the xml file.

Then i checked the sites/default/files/xmlsitemap folder and all the XML files have new links there.
So it was a problem of browser cache. The simple page refresh helped :)

Good luck !