Friday, 17 April 2015
  3 Replies
  1.4K Visits
0
Votes
Undo
Shall I delete the following row in robots.txt:
Disallow: /components/

in order to suit Googlebot and to improve my SEO?

Googlebot complains that the following resource is blocked:
/components/com_jevents/views/flat/assets/css/modstyle.css?3.2.6

I noticed other developers are using media folder for assets/css files.
'media' folder is not disallowed in the latest versions of Joomla (after 3.3).
9 years ago
·
#146558
0
Votes
Undo
Hello,

Which version of robots do you have? Joomla! did release an updated one.
Can you try adding:

Allow: /*.css$

Does that work?

Thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#146559
0
Votes
Undo
Latest Joomla!3.4.1:

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/


Allow: /*.css$ is not working in my case.

So I've added:
Allow: /components/com_jevents/views/flat/assets/css/

As per this article

Crawling the whole /components/ folder is not recommended, it is much better to separate css and js files in an allowed folder.
9 years ago
·
#146560
0
Votes
Undo
It is certainly much better to only allow certain files and folders. The above one I provided should have allowed it to access the .css files which are fine.

I'm glad you have resolved it nontheless.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.