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

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: February 16, 2026

Feb 16, 2026 - 10:00 am
Google

Data: Google AI Overview Clicks Shifting To Shopping Search Ads

Feb 16, 2026 - 7:48 am
Google Search Engine Optimization

Google Warns Not To Serve "Not Available" With JavaScript

Feb 16, 2026 - 7:41 am
Google Ads

New Google Ads Calculate Your Conversion Value For New Customers

Feb 16, 2026 - 7:31 am
Google Search Engine Optimization

Google & Bing: Markdown Files Messy & Causes More Crawl Load

Feb 16, 2026 - 7:21 am
Google AdSense

Google Ends Parked Domains (AFD) On Search Partner Network

Feb 16, 2026 - 7:11 am
 
Previous Story: Microsoft Advertising Static Headlines For Dynamic Search Ads Available