It's not possible to exlucde individual users from the sitemap.

The setting reverts to the default when the user is saved.

It might be related to:
http://drupal.org/node/708078

Comments

Daniel Schaefer’s picture

I can confirm the isssue. I can either completely enable or disable users in the module configuration panel. There is no control over single users. I can set the user on no-index and it shows under the configuration, however the user is still indexed in the sitemap.
This is a serious problem for me. I'm not sure if might it be kernel-related, though. However, a possible fix would be to provide another tab (other than "Include manually") where I can manually EXCLUDE URLs from the sitemap. There is no way for my site to do it the other way round. (Purpose is only to completely exclude the administrators)

Anyone has a solution/workaround? Help is much appreciated.

Daniel Schaefer’s picture

I can confirm the issue. I can either completely enable or disable users in the module configuration panel. There is no control over single users. I can set the user on no-index and it shows under the configuration, however the user is still indexed in the sitemap.
This is a serious problem for me. I'm not sure if might it be kernel-related, though. However, a possible fix would be to provide another tab (other than "Include manually") where I can manually EXCLUDE URLs from the sitemap. There is no way for my site to do it the other way round. (Purpose is only to completely exclude the administrators)

Anyone has a solution/workaround? Help is much appreciated.

Daniel Schaefer’s picture

Any update?

Anonymous’s picture

Sorry, I have not looked at the _user.module, nor do I use it.

Daniel Schaefer’s picture

The exclusion of single URLs/user accounts still doesn't work... any workaround suggested?

Anonymous’s picture

I still haven't had time to look at the code. Maybe Dave Reid can chime in.

Daniel Schaefer’s picture

please.. This is bothering my client, he puts a lot of effort into SEO. help is appreciated.

Anonymous’s picture

@dsjena: Do you really need the xmlsitemap_user module enabled? I'll see if I can get some time this weekend but don't count on it.

Anonymous’s picture

Version: 7.x-2.0-rc1 » 7.x-2.x-dev
Priority: Major » Critical
Issue tags: +Release blocker
Anonymous’s picture

Daniel Schaefer’s picture

It's a catalogue for consultants, where clients can register. I set up the consultant's pages using the User module so the user/... pages are the actual listings (consultant/...). Problem is that some accounts would have to be excluded from the sitemap (e.g. the admin accounts). I set up a 301 redirect for now, but the client doesn't like it because the accounts are still listed in the Sitemap and therefore cause warnings in the Google dashboard.. The client puts a lot of effort into SEO.

I checked the other thread but couldn't see any updates. Can you tell me if there is a solution already?

THANKS!

Anonymous’s picture

Assigned: Unassigned » Dave Reid
Priority: Critical » Normal

Maybe use Views module to create a custom access and stop using xmlsitemap_user module. Or supply a fix for this issue.

Dave, do you have a suggestion?

Daniel Schaefer’s picture

Thanks!

How could I include the user accounts (= business pages, very important for SEO) into the sitemap then without the sub-module, one by one adding custom paths?

If I can take some time off my schedule, I will try to look into the module myself. Maybe the issue sits "deeper", but for me it's really just this issue of not respecting the custom setting.