As I earlier told you that every Sunday I take one relevant question from lots of queries asked by Showeblogin live visitors and discuss it with all my readers. Today, I will elaborate a very important topic that may impact the speed and search engine optimization of your blogger blog.
The extract of the question asked by one of my visitor is –
“Hi Suresh, I am from California (US) and a regular user of your site. Today, I am asking you very basic problem I am facing right now. So, please help me immediately. Actually, I was testing my blog speed through Google PageSpeed Insights and found lots of errors. Under suggestion summary [Should fix], I got these message:
Your page has 9 blocking script resources and 4 blocking CSS resources. This causes a delay in rendering your page.”
Step-1: Login to blogger.com and visit the dashboard of your blog.
Step-2: Now, click on template menu from the left sidebar.
Step-3: From template window, click on Edit HTML.
<head> </head> tag.
But, I personally advise you that paste your codes where it will be required and not anywhere as said by any third party. I mean some codes are only useful for a particular static page and therefore it should not be place in the blogger template. To get fast speed of your blog and to prevent rendering unnecessary blocking script resources, you should paste the code in HTML editor of that particular static page itself.
Most of queries generally I got for placing AdSense Unit codes into blogger template. So, if you are getting error while inserting AdSense codes then please read separate tutorial specifically deals with creating and adding AdSense Ad code to blog.
There are another error messages you may see while saving your blogger template:
Error parsing XML, line 646, column 15: Attribute name “async” associated with an element type “script” must be followed by the ‘ = ‘ character.
Error parsing XML, line 2119, column 3: The element type “script” must be terminated by the matching end-tag “</script>”.
I would strongly refer my free online tool for Encoding and Decoding codes that may solve most of your codes related errors. But if you are facing again problem then please try these guidelines:
</script> end-tag or both. As a result of which your all codes will appear on live webpage and shall not work properly.
Sometimes in scripts we use ampersands (&), less-than (<) or greater-than (>) sign, single quote (‘) and double quotes (“) and that results errors like –
Error parsing XML, line 1681, column 18: The content of elements must consist of well-formed character data or markup.
Thus, we have added
//]]> just before/above closing
</head> tag in HTML editor of your blogger blog template and paste that file just above
</head> tag using the following standard format:
Step-1: Go to layout of your blogger blog.
If you are facing another problem then please fill free to ask me through making a comment below.