geerlingguy / jeffgeerling-com

Drupal Codebase for JeffGeerling.com
https://www.jeffgeerling.com
GNU General Public License v2.0
40 stars 2 forks source link

Make sure XML Sitemap is generated the same as with Drupal 7 #3

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago

Should I use https://www.drupal.org/project/xmlsitemap or https://www.drupal.org/project/simple_sitemap ? Is there an upgrade path?

I'm using the xmlsitemap_custom module along with a bunch of others to add custom links and link ranking options.

geerlingguy commented 4 years ago

https://www.jeffgeerling.com/sitemap.xml is the current sitemap. LOL at the 2nd link on there, what kind of ordering is that?!

geerlingguy commented 4 years ago

I just spent a bit of time getting the Simple XML Sitemaps settings all configured to my liking—basically you get a 'Default' sitemap type, and you edit any menu, content type, taxonomy term, etc. (any entity) and can set defaults like priority and change frequency for that content type. Then you configure extra settings like the settings for any custom links (like / for home page, daily) and then you can generate the sitemap and/or let cron do it, and voila! Sitemap!

geerlingguy commented 4 years ago

There were 4810 links in the old sitemap, there are 4812 in the new one. Close enough for my liking :D

geerlingguy commented 4 years ago

Note that Simple XML Sitemaps seems to not have functionality to automatically push the sitemaps to Google / Bing; the XML sitemap module had a 'Search Engines' tab where you could configure pushing sitemaps to both services daily...

geerlingguy commented 4 years ago

Oh, you need to enable an addon module, Simple XML Sitemap (Search engines)

geerlingguy commented 4 years ago

See: Submit generated XML sitemap to search engines automatically.