Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cronjobs: inject canonical URLs into older manual pages (SEO) #1241

Open
wants to merge 2 commits into
base: grass8
Choose a base branch
from

Commits on Nov 12, 2024

  1. cronjobs: inject canonical URLs into older manual pages (SEO)

    The GRASS GIS manual pages of the different versions have been published for a long time with a difficult to understand concept of being invisible, redirected or shown, which also strongly affects the search engine ranking.
    
    SEO: Without indication of "canonical" URLs different versions wipe each out out in search engines. Canonical tags help consolidate duplicate or similar content by specifying the preferred version of a page, ensuring search engines index and rank the desired URL while avoiding duplicate content issues.
    
    This PR changes the cronjob scripts to
    - inject "grass-stable" as the "canonical" into older manual pages under versioned URL
    - inject "grass-devel" as the "canonical" into the development manual pages under versioned URL
    
    Like this no "duplicate content" from a SEO perspective should occur.
    
    Also `robots.txt` is updated to reactivate the manual pages of old GRASS GIS versions (which now contain "grass-stable" as the canonical).
    
    Fixes OSGeo/grass#4579
    neteler committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    66c0702 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. change: injects in versioned and "devel" clone manual the "canonical"…

    … to point to "stable" manual (rather than "devel")
    neteler committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    9824486 View commit details
    Browse the repository at this point in the history