PARINetwork / pari

Django/Wagtail based PARI webapp
http://ruralindiaonline.org
BSD 3-Clause "New" or "Revised" License
36 stars 11 forks source link

Add canonical URL tags #394

Closed charl3sj closed 5 years ago

charl3sj commented 5 years ago

The same page can have multiple urls, because of anchors (#), Variables that don’t change page content (utm_source) www or without www and so on. These page may all get crawled and Google may either show a wrong version of the link or not show any of the version or show multiple versions of the url in search (Thus making both compete with each other to rank higher).

1. To Homepage

Add following tag <link rel="canonical" href="https://ruralindiaonline.org/" />

2. Pagination

The purpose of these tags is to help search engines better understand your paginated series of pages. The proper way to implement rel=prev/next tags is like this:

gounder commented 5 years ago

Additionally, we should rel canonical tag on all pages, articles, resources, face and their categories.

charl3sj commented 5 years ago