Google: Don't Use Relative Paths In Your rel-canonical

Jan 30, 2023 - 7:21 am 1 by

Google Abstract

Gary Illyes from from the Google Search Relations team posted another PSA on LinkedIn, this one says "don't use relative paths in your rel-canonical." Gary wants you to use the full, absolute URL, when it coms to rel-canonical.

Here is his post:

Google Rel Canonical Absolute

This is not new advice, Google said this in 2018 and in 2013 - but that is why this is a PSA from Google.

So much so, John Mueller from Google also shared what Gary wrote on Twitter:

John explained why, is the why is not obvious to you, John said, "One of the problems is that it's relative to where the content was found. www or non-www? http or https? staging subdomain? staging domain? random other domain that's hosted by the same company? If you want to pick something specific, it's good to be specific."

Forum discussion at on LinkedIn.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Flux, AdSense Ad Intent, California Link Tax & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Video Recaps

Search News Buzz Video Recap: Google Core Update Flux, AdSense Ad Intent, California Link Tax & More

Apr 19, 2024 - 8:01 am
Google Ads

Google Tests More Google Ad Card Formats

Apr 19, 2024 - 7:51 am
Google Search Engine Optimization

Google: It's Unlikely Your Rankings Dropped Because You Have Two Websites

Apr 19, 2024 - 7:41 am
Google Search Engine Optimization

Google: Indexing API May Work For Unsupported Content But...

Apr 19, 2024 - 7:31 am
Google Search Engine Optimization

Google: Are Hyphenated Domains Bad For Google Rankings?

Apr 19, 2024 - 7:21 am
Bing Search

Bingbot To Test Zstd Compression After Fully Gaining Full Brotli Compression

Apr 19, 2024 - 7:11 am
Previous Story: Google Ads News & Feature Announcements Dry Up