Skip to content

polomasta/dynamic-spree-sitemaps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUMMARY

This Spree extension generates dynamic, seo-friendly sitemaps on the fly in html, xml and txt formats.

This extension is compatible with the static_content extension and will check for content in the Page table.

In order to avoid an seo penalty for duplicate content, products are only listed once at /product/productName

INSTALLATION

  1. Install the extension

    script/extension install git://github.com/polomasta/dynamic-spree-sitemaps.git

  2. Rename the directory to sitemaps

    mv vendor/extensions/dynamic-spree-sitemaps vendor/extensions/sitemaps

  3. Add link to sitemap to a view

    <%= link_to 'Sitemap', '/sitemap' %>

The sitemaps are accessible at public_domain/sitemap.html, public_domain/sitemap.xml, and public_domain/sitemap.txt

Hat tip stephp for doing all the heavy lifting with her spree-sitemaps extension.

About

dynamic html, txt and xml sitemaps for spree stores

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%