Mark Datagrid column sorting links as "nofollow".

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

chipx86
Djblets
release-2.0.x
djblets

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
Mark Datagrid column sorting links as "nofollow".
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (4d1770d)
Loading...