Forum
Welcome, Guest
Please Login to access forum.
Inactive robots.txt detected (1 viewing) 
Go to bottom
TOPIC: Inactive robots.txt detected
#6433
Universidad Miguel Hernandez
Fresh Boarder
Posts: 4
User Offline
Inactive robots.txt detected Karma: 0  
As joomla developers ask, my robot.txt is in the root folder:

# If the Joomla site is installed within a folder
# eg www.example.com/joomla/ then the robots.txt file
# MUST be moved to the site root
# eg www.example.com/robots.txt
# AND the joomla folder name MUST be prefixed to all of the
# paths.
# eg the Disallow rule for the /administrator/ folder MUST
# be changed to read
# Disallow: /joomla/administrator/


But JSitemaps doesnt look there and think i dont have a robot.txt:

Inactive robots.txt detected

Is a bug? how can i solve it?
 
Logged Logged  
  The administrator has disabled public write access.
#6434
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:BUG: Inactive robots.txt detected Karma: 79  
It means that you have the robots file of the Joomla distribution named robots.txt.dist
You have to rename it correctly as robots.txt
 
Logged Logged  
  The administrator has disabled public write access.
#6435
Universidad Miguel Hernandez
Fresh Boarder
Posts: 4
User Offline
Re:BUG: Inactive robots.txt detected Karma: 0  
No, I dont have to remane anything. My robots.txt is correct.

I will try to explain again better:

Joomla Developers says:

# If the Joomla site is installed within a folder
eg www.example.com/joomla/ then the robots.txt file
# MUST be moved to the site root
# eg www.example.com/robots.txt
# AND the joomla folder name MUST be prefixed to all of the
# paths.
# eg the Disallow rule for the /administrator/ folder MUST
# be changed to read
# Disallow: /joomla/administrator/

So, as joomla developers say, my robots.txt is in the site root: www.example.com/robots.txt

But Jsitemaps looks for it in the joomla folder: www.example.com/joomla/

So, it seems to be a Jsitemap bug, no?
 
Logged Logged  
  The administrator has disabled public write access.
#6436
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:BUG: Inactive robots.txt detected Karma: 79  
That's obvious, it's how it works the component can look in the subfolder where Joomla is really installed, it can't refer to the root path that is outside.
By the way if you like to place the robots.txt to the root instead of in the real Joomla installation folder do this. Normally it must follow the Joomla subfolder as by default in every Joomla distribution.
 
Logged Logged  
  The administrator has disabled public write access.
#6437
Universidad Miguel Hernandez
Fresh Boarder
Posts: 4
User Offline
Re:BUG: Inactive robots.txt detected Karma: 0  
Please remember I am trying to help. Not atacking you.

First, i dont LIKE to move Robots.txt to the site root. I do it because Joomla Developers says i MUST do it. (see the message above). Also, this is a Google Support MUST HAVE.https://support.google.com/webmasters/answer/6078399?hl=es&ref_topic=6061961


So, JSITEMAP is looking for the robots.txt file in a wrong folder (the joomla installation folder), instead of looking for it in the Site Root (is where a the robots.txt must be)

I think that at least to solve this BUG, you could change this message:

"Error: File robots.txt not found on your server, please check your file system"

To this one:

"Error: File robots.txt not found on your joomla folder installation"

Or maybe should be better if the component could check if the robots.txt exists in the site root (just check it, nor edit it). And show a message like:

"Error: File robots.txt found on your site root. Jsitemap can only edit it if robots.txt is in your joomla folder installation"


PD: Remember, just trying to improve the Jsitemap.
 
Logged Logged  
  The administrator has disabled public write access.
#6438
John Dagelmore
Admin
Posts: 3722
User Online Now
Re: Inactive robots.txt detected Karma: 79  
Thank you for your suggestions to improve the component, i appreciate.
By sure i will try to manage this situation for a better user experience in the next release.
Meanwhile a possible approach would be keeping a copy of the robots.txt in the subfolder to allow JSitemap to edit it, then copy it to the site root by FTP once done.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top