
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 = ‘‘;
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 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 sort of URL construction relating to AMP pages.
Here is the query that was submitted by a website proprietor:
“I used to be questioning if there’s any greatest follow for the URL construction of AMP pages. If you utilize a sub-domain or a folder in the higher stage you may have a greater chance for analyzing in several instruments.
But I used to be questioning if there’s any profit for Google for those who put your AMP pages below the root area as a substitute of a sub-domain or parameters.”
Mueller’s Response
Mueller speaks on the URL construction of AMP pagesMueller mentioned the solely factor Google is worried about, on the subject of the URLs of AMP pages, is that they’re all on the identical area.
As lengthy as the AMP URLs are all on the identical 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 vital for AMP pages is that it must be on the identical area.
So in case you have it in the subdomain, or a sub-directory, all of that’s completely nice.”
If that’s all that issues to Google, then what ought to website house owners select?
Mueller’s recommendation to website house owners is to go along with the URL construction that works greatest for your present setup.
That means the URL construction ought to be:
- Easy to trace
- Easy to watch
- Easy to keep up
- Compatible together with your CMS
- Compatible together 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 had been wanting for a particular optimization method for AMP URLs, you could be out of luck.
Mueller says there’s nothing that makes a lot of a distinction relating 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 house owners ought to be careful for, however it’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 attainable.
If the construction is modified then Google has to reprocess all the URLs, which has the potential to negatively influence rankings.
“The different factor I might be careful for with these alternate URLs is that you simply don’t change the patterns too typically.
So, ideally, for those who choose one thing like a sub-directory or a sub-domain then attempt to maintain that for so long as you may.
It’s not fairly the identical as for those who change your major URLs on the subject of search, however any time you alter URLs generally then we sort of must 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 so much of URLs to sort of perceive that new setup.
So choose choose a sub-domain, or sub-directory, or parameters if you would like. Whatever works greatest for you. And attempt to maintain that setup, ideally, for the long term.”
See the full query and reply in the video under:



