#2786 Add a sitemap XML file for Allura - NEEDS URL ROUTING

v1.0.0
closed
General
nobody
2015-08-20
2011-09-13
No

Sitemap index is located at /_sitemap, sitemaps are at /_sitemap/0, /_sitemap/1, etc.

Related

Tickets: #2812

Discussion

  • Rick Copeland - 2011-09-13
    • summary: Add a sitemap XML file for Allura --> Add a sitemap XML file for Allura - NEEDS URL ROUTING
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -1,0 +1,1 @@
    +Sitemap index is located at /_sitemap, sitemaps are at /_sitemap/0, /_sitemap/1, etc.
    
    • status: in-progress --> code-review
    • assigned_to: Rick Copeland ☕ --> Tim Van Steenburgh
     
  • Rick Copeland - 2011-09-13

    Code on rc/2786. To QA, locally, visit /_sitemap and verify there is a sitemap index. Then visit /_sitemap/0 and verify there is a sitemap.

     
  • Dave Brondsema

    Dave Brondsema - 2011-09-14

    We still need to figure out how to reference multiple sitemap indexes from robots.txt, and determine if we need to generate them statically or can do it live (check to see performance of the URLs, and see how often the current sfpy-generated sitemap files are accessed in prod).

     
  • Dave Brondsema

    Dave Brondsema - 2011-09-14
    • labels: --> seo
     
  • We can add multiple sitemap declarations to the robots.txt file: http://www.sitemaps.org/protocol.php#submit_robots

    We'll need to generate these statically. Too slow to serve dynamically. I ran some time tests with curl against prod sitemaps, and these new Allura sitemaps are about 10 times slower, even with the tiny sandbox dataset.

    That said, functionally this works fine (although url is /allura_sitemap, not /_sitemap) - merging to dev.

     
    • status: code-review --> closed
    • assigned_to: Tim Van Steenburgh --> Rick Copeland ☕
     

Log in to post a comment.