New sites seem to be not sending 404 for file not found

Asked by:
Mojosie / 66 Points
Time:
2013-03-05 11:40 pm EST
Category:
Website Troubleshooting
Hits:
464
This is the second site that I have set up recently with this problem. If a file is not found it doesn't give a 404 it gives a 500 error. This is a problem when google visits the site and looks for robots.txt if you don't have a file by that name. It stops google from indexing the site. I have had to set up an empty file to get around it. Here's a link to see what you get for a file not found http://www.firstchoiceridingacademy.com/robts.txt. (I intentionally spelled robots wrong since I have now created an empty robots.txt file)

Then it seems to resolve itself at some point since another of my sites now gives the 404.

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ScottM
Staff
16,266 Points
2013-03-06 12:29 am EST
Hello Mojosie,

Here is a link to our tutorial on troubleshooting 500 internal server errors.

We have discovered the issue with the 404. There seems to be something in the .htaccess file in upper layers. We added a specific .htaccess file in the FCRA folder and it now works with the normal 404 error page.

Best Regards,
Scott M [...]

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}