Preventing the Country specific Blogger Blogspot Blogs URL redirection for SEO optimization with Canonical URLs and Scripts
|Preventing the SEO and Social Activity Leak on Blogger|
Instructions to Follow:
Well if you are wondering what these canonical urls are then it's nothing but a link specification in XML that states search engines and crawlers to consider only the top level domain that .com as the main site or source despite all the country specific redirections taking place on the site. To enable this feature on your site go to your Blogger Template → click Edit HTML → Now look for the <head> tag or use CTRL+F to find it and add the below code just below the <head> tag.
Preventing SEO Impact in Search Engines with Canonical URL's
<link expr:href="data:blog.canonicalUrl" rel="canonical"/>
<ItemPage><Blogger> <link href="<$BlogItemPermalinkURL$>" rel="canonical"/> </Blogger></ItemPage>
Well if you are worried about distributed Social Media activity on your Blogspot blog mainly consisting of comments and social share counts then this method will be just perfect for you besides that having all your social media activity of your visitors on your Top level domain is a good signal for improving SEO on your site. To stop this country specific redirection we will use a re-redirection script that redirects country specific url back to the original source avoiding a country specific url redirection. To avoid the redirects go to your Blogger Template → Click Edit HTML → Add the below code after <head> tag and save your template.
Preventing Blogger Redirections to Country Specific Domains with Re-redirection Script