Google’s Best Practices for the URL Structure of AMP Pages


Google’s Best Practices for the URL Structures of AMP Pages
‘ );

h3_html = ‘

‘+cat_head_params.sponsor.headline+’

‘;

cta = ‘‘+cat_head_params.cta_text.textual content+’
atext = ‘

‘+cat_head_params.sponsor_text+’

‘;
scdetails = scheader.getElementsByClassName( ‘scdetails’ );
sappendHtml( scdetails[0], h3_html );
sappendHtml( scdetails[0], atext );
sappendHtml( scdetails[0], cta );
// emblem
sappendHtml( scheader, “http://www.searchenginejournal.com/” );
sc_logo = scheader.getElementsByClassName( ‘sc-logo’ );
logo_html = ‘http://www.searchenginejournal.com/‘;
sappendHtml( sc_logo[0], logo_html );

sappendHtml( scheader, ‘

ADVERTISEMENT

‘ );

if(“undefined”!=typeof __gaTracker)
__gaTracker(‘create’, ‘UA-1465708-12’, ‘auto’, ‘tkTracker’);
__gaTracker(‘tkTracker.set’, ‘dimension1’, window.location.href );
__gaTracker(‘tkTracker.set’, ‘dimension2’, ‘website positioning’ );
__gaTracker(‘tkTracker.set’, ‘contentGroup1’, ‘website positioning’ );
__gaTracker(‘tkTracker.set’, ‘web page’, cat_head_params.logo_url );
__gaTracker(‘tkTracker.ship’, );
slinks = scheader.getElementsByTagName( “a” );
sadd_event( slinks, ‘click on’, spons_track );

} // endif cat_head_params.sponsor_logo
});

Google’s John Mueller just lately defined the do’s and don’ts of selecting a URL construction for AMP pages.

This was defined throughout a Google Webmaster Central hangout held on April 9.

Mueller answered a query about whether or not Google prefers a sure kind of URL construction with regards to AMP pages.

Here is the query that was submitted by a website proprietor:

“I used to be questioning if there’s any greatest observe for the URL construction of AMP pages. If you employ a sub-domain or a folder in the higher degree you’ll be able to have a greater risk for analyzing in numerous instruments.

But I used to be questioning if there’s any profit for Google in case you put your AMP pages below the root area as a substitute of a sub-domain or parameters.”

Mueller’s Response

Google’s Best Practices for the URL Structures of AMP PagesMueller speaks on the URL construction of AMP pages

Mueller stated the solely factor Google is worried about, with reference to the URLs of AMP pages, is that they’re all on the similar area.

As lengthy as the AMP URLs are all on the similar area, nonetheless else you select to construction them is all acceptable to Google.

“From Google’s level of view I believe the solely standards that’s essential for AMP pages is that it needs to be on the similar area.

So if in case you have it in the subdomain, or a sub-directory, all of that’s completely superb.”

If that’s all that issues to Google, then what ought to website homeowners select?

Mueller’s recommendation to website homeowners is to go together with the URL construction that works greatest for your present setup.

That means the URL construction needs to be:

  • Easy to trace
  • Easy to observe
  • Easy to take care of
  • Compatible along with your CMS
  • Compatible along with your sever.

“In general, with these kind of related pages, I would recommend doing them in a way that works best for you. So something where it’s easy for you to track, it’s easy for you to monitor, it’s easy for you to maintain that setup. So if it works well for your CMS, for example, or if it works well for your server setup then that’s a good choice.”

If have been trying for a selected optimization approach for AMP URLs, chances are you’ll be out of luck.

Mueller says there’s nothing that makes a lot of a distinction with regards to AMP URLs.

“I wouldn’t worry about is there any kind of Google tweak that makes a big difference with regards to these alternate URLs.”

There is one factor website homeowners ought to be careful for, but it surely’s one thing that applies to all URLs.

Be cautious to not change your URL construction too typically.

Ideally you need to select one and keep it for so long as potential.

If the construction is modified then Google has to reprocess all the URLs, which has the potential to negatively affect rankings.

“The different factor I’d be careful for with these alternate URLs is that you just don’t change the patterns too typically.

So, ideally, in case you choose one thing like a sub-directory or a sub-domain then attempt to hold that for so long as you’ll be able to.

It’s not fairly the similar as in case you change your main URLs with reference to search, however any time you alter URLs generally then we variety of need to reprocess that.

If you’re altering the alternate URLs which might be related to each web page in your website then which means we’ve to course of lots of URLs to variety of perceive that new setup.

So choose choose a sub-domain, or sub-directory, or parameters if you need. Whatever works greatest for you. And attempt to hold that setup, ideally, for the future.”

See the full query and reply in the video under:



Source hyperlink search engine optimisation

Be the first to comment

Leave a Reply

Your email address will not be published.


*