Robots problem after upgrade
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
- pot1906dk
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Apr 07, 2010 5:58 pm
- Location: Århus, Denmark
Robots problem after upgrade
Hi
I just upgraded from J2.5 to 3.4. In the post installation notes it say that are changes in the robots file and that I should fix it manually.
However there no info on what to change nor where in the file. Somewhat poor information, I think. But after some search, I found that basically I should just copy the .dist file to my robots.txt.
After doing so, all seems fine. The reason for the changes should be new requirements from Google, to access places like /images and /plugins etc.
But when I run Googles test for responsiveness, it say that my site is responsive -- BUT there are resources that Google cannot access. It then list several files in /images and /plugins or subdirectories of these.
So it does not seem that the .dist file does things right. or how do I interpret this??
I just upgraded from J2.5 to 3.4. In the post installation notes it say that are changes in the robots file and that I should fix it manually.
However there no info on what to change nor where in the file. Somewhat poor information, I think. But after some search, I found that basically I should just copy the .dist file to my robots.txt.
After doing so, all seems fine. The reason for the changes should be new requirements from Google, to access places like /images and /plugins etc.
But when I run Googles test for responsiveness, it say that my site is responsive -- BUT there are resources that Google cannot access. It then list several files in /images and /plugins or subdirectories of these.
So it does not seem that the .dist file does things right. or how do I interpret this??
Poul Theodorsen
http://cinnt.dk
http://cinnt.dk
- imanickam
- Joomla! Master
- Posts: 28202
- Joined: Wed Aug 13, 2008 2:57 am
- Location: Chennai, India
Re: Robots problem after upgrade
If you just notice the differences in the robots.txt files between joomla! 2.5 and 3.x, you would notice that some of the directories (e.g., \images) for which the permission was denied for the robots are allowed now.
You would have noticed the following text in the file robots.txt or robots.txt.dist.
You would have noticed the following text in the file robots.txt or robots.txt.dist.
The document in the first link explains about the file robots.txt and the document in the second link validates the file robots.txt of a site.# 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
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged
- pot1906dk
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Apr 07, 2010 5:58 pm
- Location: Århus, Denmark
Re: Robots problem after upgrade
Thanks imanickam
I did notice all of this though, but it's not the solution.
In the robots.txt.dist file (which should work with J3) these are the directives :
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/
With these in my robots.txt I still get lots of errors - even for directories not mentioned in the disallow directives.
If you test this page https://www.mindfulsolutions.dk/uddannelse you get several errors because Google cannot access /images, /plugins and /templates
Is it because I have set the IndexIgnore * in .htaccess? which I did because that was also what Joomla asked me to do after the upgrade.
/poul
I did notice all of this though, but it's not the solution.
In the robots.txt.dist file (which should work with J3) these are the directives :
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/
With these in my robots.txt I still get lots of errors - even for directories not mentioned in the disallow directives.
If you test this page https://www.mindfulsolutions.dk/uddannelse you get several errors because Google cannot access /images, /plugins and /templates
Is it because I have set the IndexIgnore * in .htaccess? which I did because that was also what Joomla asked me to do after the upgrade.
/poul
Poul Theodorsen
http://cinnt.dk
http://cinnt.dk
- josh2015
- Joomla! Intern
- Posts: 94
- Joined: Sun Feb 01, 2015 10:00 am
- Location: Dar Es Salaam Tanzania
- Contact:
Re: Robots problem after upgrade
Google webmaster console have Robots Test Tool, it is a must use tool if you want to get everything right with your robots.
You can check of your robots.txt file status, it is funny and I don't know why
several time I have found that robots.txt test on physical drive is as update than one Google is reading.
Plz use this tool to check plus lots of other tweaking
You can check of your robots.txt file status, it is funny and I don't know why
several time I have found that robots.txt test on physical drive is as update than one Google is reading.
Plz use this tool to check plus lots of other tweaking
https://www.beyocloud.com - Official Site
https://www.beyocloud.com/joomla-managed-server/ - Joomla Managed Server
https://www.beyocloud.com/joomla-managed-server/ - Joomla Managed Server
- pot1906dk
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Apr 07, 2010 5:58 pm
- Location: Århus, Denmark
Re: Robots problem after upgrade
Hi Josh
I already did that. The Google test gives 0 errors and 0 warnings.
Everything seems to be as it should.
I already did that. The Google test gives 0 errors and 0 warnings.
Everything seems to be as it should.
Poul Theodorsen
http://cinnt.dk
http://cinnt.dk
- ribo
- Joomla! Virtuoso
- Posts: 3507
- Joined: Sun Jan 03, 2010 8:47 pm
- Contact:
Re: Robots problem after upgrade
Just make the suggestion of joomla and also check this http://forum.joomla.org/viewtopic.php?f ... 0#p3319272 for Googles test for responsivenesspot1906dk wrote:Hi
I just upgraded from J2.5 to 3.4. In the post installation notes it say that are changes in the robots file and that I should fix it manually.
However there no info on what to change nor where in the file. Somewhat poor information, I think. But after some search, I found that basically I should just copy the .dist file to my robots.txt.
After doing so, all seems fine. The reason for the changes should be new requirements from Google, to access places like /images and /plugins etc.
But when I run Googles test for responsiveness, it say that my site is responsive -- BUT there are resources that Google cannot access. It then list several files in /images and /plugins or subdirectories of these.
So it does not seem that the .dist file does things right. or how do I interpret this??
chat room spontes : http://www.spontes.com
- pot1906dk
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Apr 07, 2010 5:58 pm
- Location: Århus, Denmark
Re: Robots problem after upgrade
Hi Ribo
Not sure exactly what you mean. I have made the exact changes that Joomla suggest, and still got the prolem.
The thread you link to suggest that these lines should do the trick:
Allow: /*.js*
Allow: /*.css*
However I already got them in my robots file, Here's the total file:
(which still gives errors for both /images and /templates)
Not sure exactly what you mean. I have made the exact changes that Joomla suggest, and still got the prolem.
The thread you link to suggest that these lines should do the trick:
Allow: /*.js*
Allow: /*.css*
However I already got them in my robots file, Here's the total file:
(which still gives errors for both /images and /templates)
Code: Select all
# If the Joomla site is installed within a folder such as at
# e.g. http://www.example.com/joomla/ the robots.txt file MUST be
# moved to the site root at e.g. http://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://tool.motoricerca.info/robots-checker.phtml
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: /*.js*
Allow: /*.css*
Allow: /*.png*
Allow: /*.jpg*
Allow: /*.gif*
Allow: /*.js*
Allow: /*.css*
# Custom
Disallow: /download/
Disallow: /audio/
Disallow: /*?* # Fjerner alle sider med ?parameter
# JSitemap entries
Sitemap: https://www.mindfulsolutions.dk/index.php?option=com_jmap&view=sitemap&format=xml
Sitemap: https://www.mindfulsolutions.dk/sitemap.xml
Poul Theodorsen
http://cinnt.dk
http://cinnt.dk
- ribo
- Joomla! Virtuoso
- Posts: 3507
- Joined: Sun Jan 03, 2010 8:47 pm
- Contact:
Re: Robots problem after upgrade
it did not said that.only for googlebot said
i just put at the top, you can put it at bottom if you want
Code: Select all
# 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://tool.motoricerca.info/robots-checker.phtml
#Googlebot
User-agent: Googlebot
Allow: *.css
Allow: *.js
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/
chat room spontes : http://www.spontes.com
- ribo
- Joomla! Virtuoso
- Posts: 3507
- Joined: Sun Jan 03, 2010 8:47 pm
- Contact:
Re: Robots problem after upgrade
Also you must check if your robots.txt is updated in gwt
chat room spontes : http://www.spontes.com
- Per Yngve Berg
- Joomla! Master
- Posts: 30928
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Robots problem after upgrade
Code: Select all
disallow: /*?*
- pot1906dk
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Apr 07, 2010 5:58 pm
- Location: Århus, Denmark
Re: Robots problem after upgrade
@Ribo
Isn't the code you suggest fully contained in mine? I use Useragent:* which mean all useragents, including Google. Otherwise the directives are just like mine.
@Per Ynge
Yeah, I know I will have to change it here too. As you can see, there are 2 sitemaps. In fact they are equal, so I ca just remove the one with a "?".
But that has nothing to do with my problem, I think?
Isn't the code you suggest fully contained in mine? I use Useragent:* which mean all useragents, including Google. Otherwise the directives are just like mine.
@Per Ynge
Yeah, I know I will have to change it here too. As you can see, there are 2 sitemaps. In fact they are equal, so I ca just remove the one with a "?".
But that has nothing to do with my problem, I think?
Poul Theodorsen
http://cinnt.dk
http://cinnt.dk
- ribo
- Joomla! Virtuoso
- Posts: 3507
- Joined: Sun Jan 03, 2010 8:47 pm
- Contact:
Re: Robots problem after upgrade
Unfortunately for some reason it works with "User-agent: Googlebot" and not with "User-agent: *" But my opinion is that these files it s better to allow only googlebot that google wants this for its reasons and not for other bots.pot1906dk wrote:@Ribo
Isn't the code you suggest fully contained in mine? I use Useragent:* which mean all useragents, including Google. Otherwise the directives are just like mine.
chat room spontes : http://www.spontes.com
- pot1906dk
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Apr 07, 2010 5:58 pm
- Location: Århus, Denmark
Re: Robots problem after upgrade
OK, maybe the reason for Google Responsive Test giving errors constantly is in fact only temporary problems.
I tried to run the test a few times without changing anything in my robots file.
And the number of errors are not the same from to test to test.
Maybe it simply times out for some reason. So one should perhaps just look at the notification that the page is responsive, and then ignore all the error messages after that.
I tried to run the test a few times without changing anything in my robots file.
And the number of errors are not the same from to test to test.
Maybe it simply times out for some reason. So one should perhaps just look at the notification that the page is responsive, and then ignore all the error messages after that.
Poul Theodorsen
http://cinnt.dk
http://cinnt.dk
- ribo
- Joomla! Virtuoso
- Posts: 3507
- Joined: Sun Jan 03, 2010 8:47 pm
- Contact:
Re: Robots problem after upgrade
If you will do the robots as i show you google will see it as responsive if also your template is responsive, if your modules are responsive too. etc. Now don t ask me why google test likes "User-agent: Googlebot" and not with "User-agent: *" You can ask in google forums for that if you want. This is google issue and not joomla issue as when google say "jump" we must jump.
chat room spontes : http://www.spontes.com
- pot1906dk
- Joomla! Enthusiast
- Posts: 141
- Joined: Wed Apr 07, 2010 5:58 pm
- Location: Århus, Denmark
Re: Robots problem after upgrade
Agree on the Google thing.
Anyway, Google has no problems with my page, and the test says that my page is responsive - which I basically knew.
I'm just wondering why Google still makes several errors about not being able to access this and that. But I'm pretty sure that it's got to do with their test being too slow and thus timing out occationally.
So I'll just leave it here :-)
Anyway, Google has no problems with my page, and the test says that my page is responsive - which I basically knew.
I'm just wondering why Google still makes several errors about not being able to access this and that. But I'm pretty sure that it's got to do with their test being too slow and thus timing out occationally.
So I'll just leave it here :-)
Poul Theodorsen
http://cinnt.dk
http://cinnt.dk