Hey,

I am using XML sitemap module even tho there ain't too much to show for the search engines. I have only chosen the front page to appear on the sitemap. But when I create the sitemap, there is a one strange link (http://in2atm.com/customer-open-calls) which I don't definitely want to appear for search engines. The link is a Views page, but I have limited the access on every Views page so that the Anonymous users can't access them. Only Permission for Anonymous users is under Node, "View published content".

How can I create a sitemap without this link I mentioned above? I don't want the anonymous users to view this information.

Here is a screenshot of my current sitemap which has "customer open calls" in it.

https://dl.dropbox.com/u/75717543/xml.JPG

I don't really care if I need to use some other module to achieve this, but the search engines should discover just the same what you can see on this page:

www.in2atm.com

Comments

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

Which xmlsitemap modules do you have enabled?
Was the link given accessible by the anonymous user at some point and then modified later?
Do you have cron executing properly? How often is cron executed? Make use of Elysia Cron module to aid in which hook_cron implementations are executing.

Piccolo-1’s picture

I have enabled: XML sitemap and XML sitemap engines.

That link has been accessible by the anonymous user and it has been modified later. Before, I enabled XML sitemap menu module, and the link was in a menu, so I think that's why it appears there. I have already excluded all the menus and disabled the XML sitemap menu module but still the link is appearing in the sitemap.

Cron seems to be executing properly, as the website is under development, I am used to run cron many times in a day.

I installed Elysia Cron and these two lines are the only ones about XML sitemap when I run cron:

https://dl.dropbox.com/u/75717543/cron.JPG

Anonymous’s picture

You have a misunderstanding about cron hooks. The Drupal cron system has 240 seconds (4 minutes) to execute all hook_cron implementations. If the hook_cron implementations at the front of the list take longer than 240 seconds then xmlsitemap's hook_cron implementation will not execute. The purpose of Elysia Cron module is to control which modules hook_cron implementations get more or less time during the 240 second cron sessions. You should execute cron no more than once every 5 minutes and no less than once an hour regardless of if it is development or production. If you run it more than once every 5 minutes then you may see messages in the watchdog table indicating that the cron process cannot continue because cron is still executing a previous session.

Have you tried to rebuild the sitemap.xml report from the admin UI? Note there may be issues already open that display issues with the rebuild process.

Piccolo-1’s picture

I don't really understand what you mean. How should I configure the modules? I have tried to rebuild the sitemap many times, by updating the cached files.

Dave Reid’s picture

Make sure to actually *uninstall* the XML sitemap menu sub-module, not just disable it. And then rebuild the sitemap in the XML sitemap UI.

Piccolo-1’s picture

I uninstalled the XML sitemap menu sub-module, then deleted the old sitemap from the XML sitemap UI, created a new sitemap and updated cached files but the result is still the same as on my first post.

What it could be?

https://www.google.com/search?q=in2atm&oq=in2atm&sugexp=chrome,mod=12&so...

You can see the results of in2atm on Google. I would like that to be changed over time, so there would be just information about the front page. I need my XML sitemap to appear correctly to make this change, even tho it might take some time.

Piccolo-1’s picture

I decided to create sitemap at http://www.xml-sitemaps.com/ and manually sent it to Google through webmaster tools. I have my real sitemap at in2atm.com/smap.xml and I dunno why but the "wrong" sitemap is still appearing at in2atm.com/sitemap.xml. Even when I have uninstalled the whole module.

Anonymous’s picture

If you don't have xmlsitemap enabled and still have a /sitemap.xml then you have a static file in the DocumentRoot which defeats xmlsitemap rendering the page.