Disabling The Harmful Scripts From Blogger for SEO Factor

min
() Words
Share
Share
Tweet
Share
Share
Share
Pin it

Disabling The Bad SEO JavaScript From Blogger Template

As we already know that blogger templates are developed with many programming languages such as JavaScript, CSS/Css3, HTML5, Jquery, Bootstrap, and Font-awesome etc. but have you ever thought which one among these prevents Googlebot to crawl our blogger site efficiently? Maybe yes. JavaScript is one of the programming languages that can extremely harm our site SEO and it stops Web Crawlers to fully understand our site.

Check out: How to Get Missing Comment Thread Work in Blogger

There are many scripts present in our blogger templates but some scripts play a vital role to maintain our template functionality. Removing the wrong scripts can badly crush our templates. Therefore, before you disable the JS, make sure you are not going to remove the useful JavaScript. We must know which one is unwanted and which one is important for us.

Read Also: How to Hide Outer Wrapper and Sidebar Wrapper in Blogger Pages/Posts

How to Find Unwanted Scripts In BlogSpot Blogger Template?

There are many ways to detect the bad SEO JavaScript but the proper way is, we use the Search Console within the Google Webmaster Tool to know about the bad SEO JavaScript. I will show you a step by step guide. So let's do it right know.

  1. Login to your Webmaster tool
  2. Select your site > Crawl > Fetch as Google
  3. Copy the URL of any published post/page and paste it in the fetch box
  4. Note: Do not copy the entire URL. Just copy it without homepage as shown in the given example:

    http://farooqahmadbhat.blogspot.com/2017/02/analysing-joomla-vs-wordpress.html

    In the above-mentioned URL, I have highlighted the text that you need to copy from your own published post.

  5. Now paste it in Fetch as Google text box and hit Fetch and Render (See the screenshot)
  6. Disabling The Bad SEO JavaScript From Blogger Template

    You will see one of the following results:

    Redirected, Partial, Complete OR Success

    You can learn about the above-mentioned results from Google's official page. If your response is complete or success then just leave you don't need to do anything but if it is redirected or partial then continue to the next step

  7. Move your mouse pointer towards the submitted link and hit click

You'll see the scripts that are responsible for your poor SEO. In this step, you need to click the link(s) and you will be redirected to the new tab where you will find the exact script. It's time to disable these scripts from your template

How to Disable Bad SEO JavaScript In Blogger Template

Before you follow the steps, it is highly recommended to keep a full backup of your template

  • Go to your blogger dashboard > Template > Edit HTML
  • Click anywhere inside the template editor and press Ctrl + F
  • Search for the codes that you found within the search console during Fetch as Google
  • When you find the exact JavaScript code, insert the 'no' before and after as shown in the given example:

    Before

    <script type='text/javascript'> //<![CDATA[ //CSS Ready function loadCSS(e, t, n) { "use strict"; var i = window.document.createElement("link"); var o = t || function getposts(json){var totalposts //]]> </script>

    After

    <noscript type='text/javascript'> //<![CDATA[ //CSS Ready function loadCSS(e, t, n) { "use strict"; var i = window.document.createElement("link"); var o = t || function getposts(json){var totalposts //]]> </noscript>
  • Finally, click Save Template

After you make these changes, you must retry the Fetch as Google to reconfirm the results. I hope this tutorial helped you.

Discover How to Gain Your Blog Traffic By 209%

Get Free Access

More From Knigulper

Speak Your Mind