Mark Datagrid column sorting links as "nofollow".

Review Request #11113 — Created Aug. 2, 2020 and submitted

Information

Djblets
release-2.0.x

Reviewers

Search engine crawlers have a tendency to follow versions of datagrid
pages with different column sorting, which can trigger a lot of load on
a server. While this can be partly mitigated with a robots.txt, it's
best to inform the crawler that this isn't a link it really wants to
follow.

To help avoid indexing these pages, these sorting links now have a
rel="nofollow" attribute. Most of the big crawlers support this to
some degree, though some will still crawl it regardless. Still, it
should cut down load on public servers a fair amount.

Verified the attribute on all the Review Board datagrids.

Summary ID
Mark Datagrid column sorting links as "nofollow".
Search engine crawlers have a tendency to follow versions of datagrid pages with different column sorting, which can trigger a lot of load on a server. While this can be partly mitigated with a `robots.txt`, it's best to inform the crawler that this isn't a link it really wants to follow. To help avoid indexing these pages, these sorting links now have a `rel="nofollow"` attribute. Most of the big crawlers support this to some degree, though some will still crawl it regardless. Still, it should cut down load on public servers a fair amount.
171be304f3fa18a95ab35e57705e5c08571d7cb3
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (4d1770d)