I have created implemented the XML Sitemap module and it is reading the urls on my site. I have noticed that the panel pages with unique urls do not seem show up on the XML list.

The individual node urls show up on the XML list but not the panel page url which may include a number of different content types.

Is there a solution to this I am missing?

Thanks

Comments

kiernan’s picture

Title: How to create allow XML Sitemap to see a Panel page url. » How to allow XML Sitemap to see a Panel page url.
pillarsdotnet’s picture

Component: xmlsitemap.module » Other
Category: support » feature

Sounds like somebody needs to write a XML sitemap panel submodule that would live in sites/all/modules/xmlsitemap/xmlsitemap_panel/xmlsitemap_panel.(info|module|install|test).

luksak’s picture

This integration would be nice. Also pages with optional arguments could be included.

ptmkenny’s picture

Title: How to allow XML Sitemap to see a Panel page url. » Add a submodule to integrate Panel pages
Issue summary: View changes

I know it's been awhile but just wondering if anyone has found a solution for integrating Panels pages into XML Sitemap.

albert volkman’s picture

I'm not sure if this is the most optimal way to go about it, but you can get all the paths via-

$routes = menu_get_router();
$page_manager_routes = array_filter($routes, function($n) {
  if ($n['page callback'] == 'page_manager_page_execute') {
    return $n;
  }
});
$paths = array_filter(array_keys($page_manager_routes));

I don't know where to go from there...

yogaf’s picture

@Albert I'm working on something it'll be ready tomorrow.

yogaf’s picture

XML sitemap Panels module is here - https://www.drupal.org/sandbox/yogaf/2622656

jvieille’s picture

How can we get this module?
Nothing to download here:
https://www.drupal.org/sandbox/yogaf/2622656

Thanks

yogaf’s picture

@jvieille it's a sandobox project, you can get the files with git

git clone --branch 7.x-1.x https://git.drupal.org/sandbox/yogaf/2622656.git

jvieille’s picture

Thanks!
Is it working?

yogaf’s picture

Yep