404 means the file is not found. If you have already uploaded the file then the name may be misspelled or it is in a different folder.
You may get a 404 error for images because you have Hot Link Protection turned on and the domain is not on the list of authorized domains.
If you go to your temporary url (http://ip/
username/) and get this error, there maybe a problem with the rule set stored in an .htaccess file. You can try renaming that file to .htaccess-backup and refreshing the site to see if that resolves the issue.
It is also possible that you have inadvertently deleted your document root or the your account may need to be recreated. Either way, please contact HostGator immediately via phone or live chat so we can diagnose the problem.
Are you using WordPress? See the Section on 404 errors after clicking a link in WordPress.
When you get a 404 error be sure to check the URL that you are attempting to use in your browser.This tells the server what resource it should attempt to request.
In this example the file must be in public_html/example/Example/
Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity e xample and E xample are not the same locations.
For addon domains, the file must be in public_html/addondomain.com/example/Example/ and the names are case-sensitive.
When you have a missing image on your site you may see a box on your page with with a red X where the image is missing. Right click on the X and choose Properties. The properties will tell you the path and file name that cannot be found.
This varies by browser, if you do not see a box on your page with a red X try right clicking on the page, then select View Page Info, and goto the Media Tab.
In this example the image file must be in public_html/images/
Notice that the CaSe is important in this example. On platforms that enforce case-sensitivity PNG and png are not the same locations.
When working with WordPress, 404 Page Not Found errors can often occur when a new theme has been activated or when the rewrite rules in the .htaccess file have been altered.