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

Google Globally Rolls Out Monitoring Capabilities In AI Mode

Sep 28, 2026 - 7:59 pm
Search Forum Recap

Daily Search Forum Recap: September 28, 2026

Sep 28, 2026 - 10:00 am
Google Updates

Google September 2026 Spam Update Has Big Weekend Impact

Sep 28, 2026 - 7:51 am
Google

Google Web Search Service API Documentation Has Been Removed

Sep 28, 2026 - 7:41 am
Google Ads

Several Google Merchant Center Policy Documents Updated

Sep 28, 2026 - 7:31 am
Google

Google Tests Replacing Show More Button On AI Overviews With Loading...

Sep 28, 2026 - 7:21 am
Previous Story: Microsoft Advertising Static Headlines For Dynamic Search Ads Available