NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Incorrect canonical URLs on lower tiers. #2818

Closed blairlearn closed 10 months ago

blairlearn commented 4 years ago

Issue description

On all lower tier sites (e.g. www-dev-acsf.cancer.gov, www-dev-ac.cancer.gov, or ncigovcdode275.prod.acquia-sites.com) the generated canonical URL points to the lower tier server instead of production.

This is problematic as:

ESTIMATE 20

Steps to reproduce the issue

  1. Browse to https://www-dev-acsf.cancer.gov
  2. View page source
  3. Search for <link rel="canonical"

What's the expected result?

What's the actual result?

Related Tickets

andyvanavery31 commented 10 months ago

Our Robots.txt sets Disallow so Google does not index the site.