As we mentioned earlier that Google has slowly started converting all blogspot blog URLs to country specific Domain addresses. Your visitors will see their country's top level domain (ccTLD) version of your domain. People living is norway will see a .blogspot.nr domain and those living in Pakistan will see .Blogspot.pk and so on. Blogger team has automatically added the canonical link element to all blogger templates by default in order to avoid its negative consequences with regard to search engine optimization. Everything seems normal except for social networking buttons and Facebook comments plugin. Most bloggers complained that the facebook comments are not displaying after blogger rolled in country specific Urls. Most social media counters can show wrong counts. So in order to solve all these problems we will need to make a slight adjustment to how your template is structured. The steps will be of course very simple and safe.
Caution!
If you are not experimenting any of the errors, problems and bugs I mentioned then you may simply ignore this tutorial and better drink a cup of coffee and watch the video on the right sidebar. :)
You may skip it also if you feel blogger will fix the problem itself very shortly because blogger team is responding quickly to these recent changes.
Solving Canonical URLs Problem
Correcting the bug in Facebook Comments
- Go To Blogger > Deisgn > Edit HTML
- Back up your template. You must always download a copy of your template before making any changes.
- Search a similar code like the one below:
<fb:comments colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' migrated='1' width='520'/>
4. Replace data:post.url with
data:post.canonicalurl
5. Save your template and check to find everything back to normal.
Correcting Sharing Counters
Search for your sharing counters main code inside your template and where ever you find the following code:
expr:href="data:post.url"
Replace it with this:
expr:href="data:post.canonicalUrl"
Need help?
What did here was replacing the dynamic url for posts with the canonical dynamic post url. This will not confuse the social networking sites in choosing the correct url for your blog which is your primary domain. If you are facing any problem related to country specific domains then feel free to post your comments. I would strongly recommend that buy a custom domain as soon as possible, instead of depending on a free domain which has no marketing value. Peace and blessings pals! :)

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »









33 comments:
forgot to add jump break
Mohammad one of my blogspot blog is having the below error.how to fix it.
We are sorry, but we were unable to complete your request.
When reporting this error to Blogger Support or on the Blogger Help Group, please:
Describe what you were doing when you got this error.
Provide the following error code and additional information.
@ndark
thanks for reminding. :d
What abt Custom Domain users ? we have to do this ?
@Admin
Where exactly are you seeing this error? While saving your template?
@Haider
Correct bro. This tutorial does not apply to bloggers with custom domains. :)
should i do it to my blog http://mybestfavourites.blogspot.com/ ?
@Mohammad No.
When i Visit my blog i see the message.i cant see my blog
all-celeb-pics dot blogspot
help plz
How can we Fix validator.w3.org/ FREE.
hey mohammed i can't find the following codes :(... now what to do???
if i buy custom domain den???
http://nirmalmaza.blogspot.in/
Hello Mohmd, the 'rel=canonical' tag is missing but I can see this code 'b:include data='blog' name='all-head-content' code. Now, when I add this code link expr:href="http://fmwaweru.blogspot.com/" rel="canonical"/> below the <head>, I get this error undefined LHS of numeric is null before 29 in http://fmwaweru.blogspot.com/). What could be the problem? Also, if I've this code <b:include data='blog' name='all-head-content'/> present do I need to add the canonical tag?
wow, new thing for me.. i just know about it.
thanks very much
great post and very helpful...
Thanks once again great post Faizan Ali Just Posted Google Rolled Out First PageRank Update Of The Year 2012 (February 06)
I already solved this problem after viewing your post. Keep sharing.
Ammar Ali recently posted 40 Best Free Great Looking Blogger Templates of 2011
Got a Nightmare today with Google+. Ghosh!!! they banned me.. what the hell??
PLZ ELABORATE HOW CAN WE MAKE OUR POSTS MORE SEO FRIENDLY WITH META TAGS MANUALLY:)
Hi Mohammad when I think of the canonical does it also has the same function as rel="nofollow"?
one more thing i want to hide certain pixels from bottom of my blogger like wen i removed navbar there was a gap left between i used this code
body
{
margin-top:0px;
position: relative;
top: -50px;
}
can this be modified to hide pixels from bottom too plz help:)
Nyc post yr i jst love ur Blog... Nd recomende it to other's..<3
How To Save Ur Blog From Sopa/pipa
@$hubham Meht@
Another misleading anchor text.
I am like a crawler on MBT from which you cannot hide :p
As salamu alyikum mustafa bhai!
SO what you decided to keep your New Wordpress title ???
I think it will be (OBT)ourbloggertricks.com or (MWT) mywordpresstricks.com
mywordpresstricks.com domain still available on godaddy.com
Allah hafiz
Thank you very much friend! its working perfectly.
one doubt, how to change home page url code "data:blog.homepageUrl" into canonical url?
@yateesh
Only if the counts of your sharing buttons are acting abnormal. Showing wrong counts
@admin
Unfortunately May be it got removed by blogger. Since the blog shares celebrity pics so there could be a violation of Image copyrights pal. Can you access it via dashboard? Your posts? If yes then please go to settings and export/backup all your posts.
@jatin rohilla
As I mentioned you don't need to add it if everything looks fine with your facebook plugin and sharing counters
@Felix
I have updated that code at Blogspot blogs 302 redirected
It will work just fine now. :)
@SAm
Heard it for the first time. Does it happen even there? :p
@Auren Lengkong
No body it has a total different effect as I explained in my earlier posts. Nofollow concerns PageRank and canonical concerns issue of duplicate content.
@Dr Lolz
Remove top: -50px; from your body class. :)
@MMK The Rocker
We did purchase mywordpresstricks.com but we changed our idea and this new blog is a surprise which we will disclose next week. :)
@Abdul Basith
We can do that but we don't need to do because only the facebook plugin and sharing counters are having problem and not the homapage elements.
thanks friend tried as you suggested but no avail it just shows 50pixels above header image n hide those pixels if i put top: -50px; in the code.but i wanna hide 50 pixels from bottom from attribution side.plz do help
@Mohammad Mustafa Ahmedzai
Yea they banned me because I had a word "Sexy" in my name. Come on I am Sexy.. What's your problem? :p
I revived my profile and everything is fine, just I can't call myself as "Sexy". Now I am with my original name.
@ Mohammad
thanks problem solved. i simply removed the cononical code.and i can access my blog now.
MediaFire MKV Movies Small Size High Quality, Hd Prints, Tv Shows
I have two problems with this.
1st one : My sharing counters are showing "0". You can see it in the like it share it widget of mine in the sidebar.
2nd one : The recent posts widget at the bottom in the footer is not showing.
When i go to freen8apps.blogspot.com/ncr it's everything all right but it shows the above stated errors in freen8apps.blogspot.in ...
Please help
i'm facing drop in traffic to my blogs because of this change made by google,Can i use this method to get back my traffic..
StudentsCrunch
///The comments plugin requires an href parameter./// this is the message iam getting fb comments plug in
hi guys. i need your help. i have just migrated my Blogger blog to my own domain (GoDaddy). my problem is that my Facebook/Twitter/Google share stats are reset to zero. is there a way to regain those? thanks a bunch!
At First when i applied it, it gave me hrf parameter error, which i resolved by adding migrated='1' to code as shown above. (hope it help to others) but when i'm done, its giving me warning belw comment box "Warning: this comments plugin is operating in compatibility mode, but has no posts yet. Consider specifying an explicit 'href' as suggested in the comments plugin documentation to take advantage of all plugin features."
Then i realized, i am missing
<link href="http://blog-name.blogspot.com/" rel="canonical"/>
below head. which mustafa bhai told in his earlier post. i applied it and viola !! :)
And mustafa bhaai. i've emailed you so many times regarding "readmore" issue of monop template. its ruining my blog. i am really very disappointed at this from you bro :(
Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.
Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.
Regards,
Mohammad