Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Firstly thanks for this great module. We are running large-weight newspaper company. Our sitemap.xml getting large and large and seo results complains from that. Is there any solution for those three options.
1- Divide it for more pages. For example:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.example.com/sitemap.xml?page=1</loc>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/sitemap.xml?page=2</loc>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
<sitemap>
<strong><loc>http://www.example.com/sitemap.xml?page=3</loc></strong>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
<sitemap>
<strong><loc>http://www.example.com/sitemap.xml?page=4</loc></strong>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
..
..
..
</sitemapindex>
2- Or categorize sitemap based on catagories. For example:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.example.com/sport/sitemap.xml</loc>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/life/sitemap.xml?page=2</loc>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/computes/sitemap.xml?page=3</loc>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
..
..
..
</sitemapindex>
3- Or categorize by date. For example:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>http://www.example.com/<strong>2015_12</strong>/sitemap.xml</loc>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
<sitemap>
<loc>http://www.example.com/<strong>2016_1</strong>/sitemap.xml?page=2</loc>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
<sitemap>
<strong><loc>http://www.example.com/<strong>2016_2</strong>/sitemap.xml?page=3</loc></strong>
<lastmod>2016-01-30T07:33Z</lastmod>
</sitemap>
..
..
..
</sitemapindex>
Comments
Comment #2
a.gursoy CreditAttribution: a.gursoy commentedIssue still continue, is there any suggestion?
Comment #3
a.gursoy CreditAttribution: a.gursoy commentedComment #4
garbo CreditAttribution: garbo commentedI would love to see the possibility to create multiple sitemaps.
These could be categorised by node-type, by language and/or by taxonomy-term.
Comment #5
avanish12 CreditAttribution: avanish12 commentedHi There.
Have you found any solution for taxonomy based index page?
Please update I am still struggling to achieve this feature.
Thanks
Avanish
Comment #6
garbo CreditAttribution: garbo commented@Avanish12,
No, I haven't been able to create taxonomy-based sidemaps with xml-sitemap-module. You could do this though with views or by creating a manual sitemap module.