CSS/JS crawl errors in Google Webmaster for Joomla site.

Written by CCP User on . Posted in Blog

Reportedly since yesterday Joomla users have been getting errors in there Google Webmasters as the crawlers are not able to crawl the modules and there CSS/JS. 

  • To resolve this issue you need to go to your site's root folder via FTP. For some the root folder might be under "public_html" folder while for some it may be under "httpdocs" folder.
  • Open the "robots.txt" file. 
  • It will look something like below : You need to change this to " Allow: /modules/ " . 
    • User-agent: *
      Disallow: /administrator/
      Disallow: /cache/
      Disallow: /cli/
      Disallow: /components/
      Disallow: /includes/
      Disallow: /installation/
      Disallow: /language/
      Disallow: /libraries/
      Disallow: /logs/
      Disallow: /modules/
      Disallow: /plugins/
      Disallow: /templates/
      Disallow: /tmp/

  • Set the modules to Allow: /modules/
  • This should resolve the issue. Thank you for reading the article. 

How to add Google Analytics to Joomla 2.5 and 3.4

Written by Super User on . Posted in Blog

       After making a site as an end user the first thing you would like to see is how many people are viewing your site. Google Analytics is a well known service through which you can create and analyze the traffic stat reports. But the first thing that comes into a novice users mind is how do I enter the complex looking code. A simple solution is through a third party plugin. Joomla has an extensive list of plugins for site analytics.

  • I would personally recommend using BigShot Analytics plugin. You can download the same from the below link :

https://www.thinkbigshot.com/joomla-extensions

  • Normally the code for Google Analytics would looks something like below :

  • <script>   (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){   (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

      ga('create', 'UA-xxxxx-x', 'auto');   ga('send', 'pageview');

    </script>

    Observe the UA-xxxxxx-x your code would be a little different. This is the code that you will need to enter in the bigshot analytics plugin.
  • After installing the extension you need to go to Extensions > Plugin Manager > System - BigShot analytic plugin. Publish the plugin.
  • Now you need to keep the UA-xxxx-x code in the web property id of the plugin. Save and close.
  • You are all set now.

This is how you set the Google Analytic code in Joomla site.

 

More Articles ...

Follow Twitter!

Add Facebook

Add on Linkedin

You are visitor number

  • 1.png6.png9.png9.png9.png2.png
 

Copyright @2015 All Rights Reserved