SwiftPackageIndex-Server icon indicating copy to clipboard operation
SwiftPackageIndex-Server copied to clipboard

Add canonical URLs to the HTTP headers for pages where we have a canonical URL

Open daveverwer opened this issue 1 year ago • 1 comments

We currently only add it to the page's head tag.

See https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls#rel-canonical-header-method

daveverwer avatar Dec 18 '23 18:12 daveverwer

Also, add nofollow to the non-canonical links in the header bar drop down to other documentation versions

Screenshot 2024-01-14 at 15 58 56@2x

daveverwer avatar Jan 14 '24 15:01 daveverwer