The htaccess file seems to be redirecting a call to robots.txt to the index page of the site. This isn't good...cause I can't convince google that we HAVE no robots file. So it thinks the index page IS the robots file. Is there a way to SPECIFICALLY send /robots.txt to /robots.txt ?
Announcement
Collapse
No announcement yet.
.htaccess rules redirecting robots.txt file
Collapse
X
-
.htaccess rules redirecting robots.txt file
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.comTags: None
-
Is there a real robots.txt? In older stores when the NTFD page first came about, it used to serve a 200 status for not found requests that were mapped to the store, like what you'd do with URI management. You would want to check that, and that it's returning the right status, or perhaps just create a robots.txt. If there is one and it's still doing the redirect, then there's something not right in the htaccess.
-
There WAS no robots file. But google said there was, cause calling the site with /robots.txt generates a valid 200 return...however, when I put a REAL robots.txt file in the directory, it still gives the HOME page, not the REAL robots file. And yes, I assume there is something wrong with the htaccess...its old, stupidly complex, but can't get rid of it because of ...well, store owners.
Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
-
Thanks, but those tests are in there.Bruce Golub
Phosphor Media - "Your Success is our Business"
Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
phosphormedia.com
Comment
Comment