Google: Location/Order Of rel Attribute Does Not Matter

Mar 15, 2021 - 7:31 am 0 — by

Google Dominos

Does it matter if you put the rel attribute in your HTML link before the link or after it? The answer is no. You can put the attribute in your HTML link where you want. Google will pick it up either way.

John Mueller of Google was asked this on Reddit "Does the order of the canonical tag and URL in HTML matter?" John said "nope," and yes, this may be obvious to you and me but it was a question that some SEOs may have and I have never seen it asked before, so I am covering it.

Here is what concerned this SEO:

Rel Attribute

Nope, both work just fine.

Forum discussion at Reddit.

 

Popular Categories

The Pulse of the search community

Google Search Volatility

More Details

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Search Engine Optimization

Google On When To Fix 404 Errors & Updates 404 & Sitemaps Docs

Nov 27, 2026 - 12:12 pm
Search Forum Recap

Daily Search Forum Recap: November 27, 2026

Nov 27, 2026 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google November Core Update, December Core Preannounced, Search Ranking Hub, Google StarSearch & Search Ad News

Nov 27, 2026 - 8:01 am
Bing Ads

Bing AI Mode Ads Blending More With Organic Results

Nov 27, 2026 - 7:51 am
Google

Google AI Mode Image Results Ask A Follow Up Button

Nov 27, 2026 - 7:41 am
Google

Google AI Mode Gains Multiple Image Uploads

Nov 27, 2026 - 7:31 am
Previous Story: Microsoft Advertising Static Headlines For Dynamic Search Ads Available