Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do you handle the Sitemap for a user generated content website like a social media network?

Kshitij Choudhary asked in Rails

I want Google to index my dynamic sitemap that gets updated every time a user creates a record

Reply

Homepage — http://looksideway.com/
Project example — https://looksideway.com/projects/122-studiotime-website
Basically I want the Sitemap to include all projects links - https://looksideway.com/projects/* (except edit routes)

Reply

As long as the page is linked somewhere, Google will usually find and index it automatically, so you may not need to do this as

You could probably use the sitemap_generator gem to create sitemaps and point Google to it. https://github.com/kjvarga/sitemap_generator

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.