Latest news and resources from Youjoomla Team.
On April 21st 2015 Google Inc has changed their search algorithm and started boosting mobile-friendly websites on mobile devices. This way all mobile searchers can find the relevant and readable results faster.
All not-mobile-friendly websites are left behind. For now this change will affect results on mobile devices only and is executed on per page basis. Since all our Joomla templates are mobile ready you can rest assured that this change might not affect you much. But the Joomla itself might cause some trouble for you.
Joomla distribution robots.txt blocks many directories from robots. These include , cache, images, plugins, templates. Now days many Joomla extensions cache images, css or js files and all your template images are located in templates folder.
# If the Joomla site is installed within a folder such as at # e.g. www.example.com/joomla/ the robots.txt file MUST be # moved to the site root at e.g. www.example.com/robots.txt # AND the joomla folder name MUST be prefixed to the disallowed # path, e.g. the Disallow rule for the /administrator/ folder # MUST be changed to read Disallow: /joomla/administrator/ # # For more information about the robots.txt standard, see: # http://www.robotstxt.org/orig.html # # For syntax checking, see: # http://www.sxw.org.uk/computing/robots/check.html User-agent: * Disallow: /administrator/ Disallow: /bin/ Disallow: /cache/ Disallow: /cli/ Disallow: /components/ Disallow: /includes/ Disallow: /installation/ Disallow: /language/ Disallow: /layouts/ Disallow: /libraries/ Disallow: /logs/ Disallow: /modules/ Disallow: /plugins/ Disallow: /tmp/
Google mobile-friendly website test will fail when these directories are blocked and will serve your page without images, templates css or js files. To fix this problem simply open your robots.txt which is located in your Joomla website root folder and replace it with this one.
# If the Joomla site is installed within a folder such as at # e.g. www.example.com/joomla/ the robots.txt file MUST be # moved to the site root at e.g. www.example.com/robots.txt # AND the joomla folder name MUST be prefixed to the disallowed # path, e.g. the Disallow rule for the /administrator/ folder # MUST be changed to read Disallow: /joomla/administrator/ # # For more information about the robots.txt standard, see: # http://www.robotstxt.org/orig.html # # For syntax checking, see: # http://www.sxw.org.uk/computing/robots/check.html User-agent: * Disallow: /administrator/ Disallow: /cli/ Disallow: /components/ Disallow: /includes/ Disallow: /installation/ Disallow: /language/ Disallow: /libraries/ Disallow: /logs/ Disallow: /tmp/
If previous test result came back as not mobile friendly, redo the test after the robots.txt change and your website should be mobile friendly.
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Youjoomla.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.