-1

In my project pages are implemented using Panels module and contain lot of nodes.

I've set up xml sitemap module, generated xml, and currently i can see many "/node/$id" urls, but:

  1. That are not actual pages themselves, but parts of pages (or even parts of menus, etc)
  2. Pages have aliases, that should be used, but not "/node/$id" urls.

How it is possible to remove "/node/$id" urls from sitemap and leave just pages with aliases?

3
  • 2
    You need to go through all the nodes you don't want in the sitemap, and exclude them manually.
    – Clive
    Commented Apr 3, 2014 at 9:42
  • Using the Content Access module can stop people from accessing certain content types, but I'm not sure if that will remove them from your xml site map or not. Maybe try it...
    – Felix Eve
    Commented Apr 3, 2014 at 9:45
  • Which XML Sitemap submodules are you using? Node? Menu?
    – mpdonadio
    Commented Apr 3, 2014 at 11:31

1 Answer 1

0

To implement this with pages, implemented with Panels, it is necessary to manage pages urls manually with Xml Sitemap Custom subplugin: https://drupal.org/node/1235804

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.