How to add a sitemap.xml file to your sharetribe marketplace

Hi folks,

I did this over the weekend, but thought others might be interested:

http://www.mooreds.com/wordpress/archives/2215

"I added the ability to generate a sitemap for all the listings in the marketplace.

First off, install the gem–I used sitemap_generator as it seemed to do what I needed–allow me to call out certain routes and add them to my sitemap. Then you need to create a configuration file, at config/sitemap.rb."

Also am in talks with the sharetribe folks about adding this as a feature to the core platform, you can follow along here: https://github.com/sharetribe/sharetribe/issues/2204

Cheers,
Dan

1 Like

For the record, Dan’s work was really useful and served as the baseline for https://github.com/sharetribe/sharetribe/pull/2492, which brought the sitemap feature to Sharetribe Go.

Thanks again, Dan!