ERROR 404 - PAGE NOT FOUND

Why am I seeing this page?

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.

Other Possible Causes

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.

How to find the correct spelling and folder

Missing or Broken Files

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.

http://example.com/example/Example/help.html

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 example and Example 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.

Broken Image

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.

http://example.com/images/banner.PNG

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.

404 Errors After Clicking WordPress Links

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.

When you encounter a 404 error in WordPress, you have two options for correcting it.

Option 1: Correct the Permalinks

  1. Log in to WordPress.
  2. From the left-hand navigation menu in WordPress, click Settings > Permalinks (Note the current setting. If you are using a custom structure, copy or save the custom structure somewhere.)
  3. Select  Default.
  4. Click Save Settings.
  5. Change the settings back to the previous configuration (before you selected Default). Put the custom structure back if you had one.
  6. Click Save Settings.

This will reset the permalinks and fix the issue in many cases. If this doesn't work, you may need to edit your .htaccess file directly.

Option 2: Modify the .htaccess File

Add the following snippet of code to the top of your .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# End WordPress

If your blog is showing the wrong domain name in links, redirecting to another site, or is missing images and style, these are all usually related to the same problem: you have the wrong domain name configured in your WordPress blog.

How to modify your .htaccess file

The .htaccess file contains directives (instructions) that tell the server how to behave in certain scenarios and directly affect how your website functions.

Redirects and rewriting URLs are two very common directives found in a .htaccess file, and many scripts such as WordPress, Drupal, Joomla and Magento add directives to the .htaccess so those scripts can function.

It is possible that you may need to edit the .htaccess file at some point, for various reasons.This section covers how to edit the file in cPanel, but not what may need to be changed.(You may need to consult other articles and resources for that information.)

There are Many Ways to Edit a .htaccess File

  • Edit the file on your computer and upload it to the server via FTP
  • Use an FTP program's Edit Mode
  • Use SSH and a text editor
  • Use the File Manager in cPanel

The easiest way to edit a .htaccess file for most people is through the File Manager in cPanel.

How to Edit .htaccess files in cPanel's File Manager

Before you do anything, it is suggested that you backup your website so that you can revert back to a previous version if something goes wrong.

Open the File Manager

  1. Log into cPanel.
  2. In the Files section, click on the File Manager icon.
  3. Check the box for Document Root for and select the domain name you wish to access from the drop-down menu.
  4. Make sure Show Hidden Files (dotfiles)" is checked.
  5. Click Go. The File Manager will open in a new tab or window.
  6. Look for the .htaccess file in the list of files. You may need to scroll to find it.

To Edit the .htaccess File

  1. Right click on the .htaccess file and click Code Edit from the menu. Alternatively, you can click on the icon for the .htaccess file and then click on the Code Editor icon at the top of the page.
  2. A dialogue box may appear asking you about encoding. Just click Edit to continue. The editor will open in a new window.
  3. Edit the file as needed.
  4. Click Save Changes in the upper right hand corner when done. The changes will be saved.
  5. Test your website to make sure your changes were successfully saved. If not, correct the error or revert back to the previous version until your site works again.
  6. Once complete, you can click Close to close the File Manager window.
This site is hosted by HostGator!
Build your website today and get 20% off! Coupon code: "OFFER404"
大连到甘肃庆阳火车站普通列车预售多长时间火车票西安到海拉尔火车中转株洲至遂溪火车时间表汉中到阆中有火车吗大连到甘肃庆阳火车站邯郸 北戴河火车西安到海拉尔火车中转乌市至奎屯火车票查询北京到宁波硬卧火车时刻表九龙到上海的火车票价格西安到海拉尔火车中转从重庆到九江火车线路站点靖边发西安火车通辽到中卫的火车票北京到宁波硬卧火车时刻表经过德清的火车有哪些地方湖南郴州到济南火车湖南郴州到济南火车岳阳到衡山火车时刻表广州-襄阳火车票湖南郴州到济南火车乌市至奎屯火车票查询从开封到华山站的火车汉中到阆中有火车吗贵阳北站和贵阳火车北站重庆至随州市火车时刻表从开封到华山站的火车岳阳到衡山火车时刻表从重庆到九江火车线路站点元宇宙经典游戏出马传奇,沈庸一人独开四号,各有所长 另有三位妹妹辅助,四人共同纵横驰骋,称霸游戏!爷爷宁愿坐牢十年,都死守的秘密。 终于在十年后, 重见天日,我传承爷爷的秘密,揭开了那些不为人知的往事……天下事,世间事,不过都是一剑的事。 两剑的话,太麻烦了。你做过梦吗?如果有东西可以进入你的梦境,噩梦来临了……从末日十年之后穿越而来,比别人领先了十年!但由于江北辰的复活,丧尸也加速了进化!看我如何在这个混乱的时代站上巅峰。 懒得介绍当陈氏家族击败王氏家族后,宇宙的大权被陈子轩掌握。内阁首辅陈滨海和他的儿子“严世藩再世”之称独掌朝廷大权并在宇宙上大肆贪污和排除异己。黑暗帝国之中陈子轩击败王操成为首席将军并勾结李肃大肆排除异己。 面对陈氏家族的嚣张气焰,王操为了捍卫黑暗君主,于是和陈子轩展开了激烈的明争暗斗。最终陈子轩被迫退让,王操和汪美含联手打消了陈子轩的嚣张气焰。一缕天魔残魂为引,带领一个意外来到这个世界的特种兵,走上修仙之路,在魔族圣主的布置下,慢慢走上与仙帝的对抗之路。历经艰险,在生死徘徊之际,觉悟天道有缺,最终战胜天帝,圣主。回归家园。[无限流+灵异+悬疑+鬼怪。] 数十年前,袁文锦的爷爷因为一己私欲,与恶鬼做交易。 把自己孙子献祭给它,便保他一生福贵。 在袁文锦出事后他的爷爷便反悔,他要保下袁文锦。他借助黑暗的力量把袁文锦与一个神秘的地方链接起来。 恶鬼恐惧那力量,一怒之下便屠了他满门。只留下袁文锦一人苟活在世。黄乞意外经理一场异世旅行,回归之后发现世界已然焕然一新!在经历过许多文明的他也不清楚对蓝星而言这是机缘还是阴谋,因为他曾看到过世界的真相!
百万年满勤我成了一代宗师 不是一般的校园修仙 百年2077 火影忍者穿越到日向家 不死树之阿巫 都市猎仙人 圣穹寂 丹王之王 天堂游戏:别人逃命我抽卡 大道之无恨 梦断仙踪 痴神怒 一个普通人的一生 诸天冒险 永世天殇之帝君诞生 蛹变z 谁也? 末日:黎明的曙光 金域藍城 暮虎识香 黄石 洛阳的火车时刻表 天津东站到沧州的火车表 经过德清的火车有哪些地方 汉中到阆中有火车吗 黄石 洛阳的火车时刻表 通辽市到赤峰坐火车几小时 秦皇岛到图们火车票 营口东站的火车时刻表 贵阳北站和贵阳火车北站 桃山到加佳木斯的火车 乌市至奎屯火车票查询 徐州至济宁火车票多少钱 坐火车网 天津东站到沧州的火车表 大连到甘肃庆阳火车站 汉中到阆中有火车吗 秦皇岛到图们火车票 贵阳北站和贵阳火车北站 太原舟山火车票代售点查询 西安到海拉尔火车中转 天津东站到沧州的火车表 通辽到中卫的火车票 普通列车预售多长时间火车票 靖边发西安火车 北京到宁波硬卧火车时刻表 坐火车网 贵阳北站和贵阳火车北站 普通列车预售多长时间火车票 太原舟山火车票代售点查询 贵阳北站和贵阳火车北站 汉中到阆中有火车吗 天津东站到沧州的火车表 株洲至遂溪火车时间表 大连到甘肃庆阳火车站 从开封到华山站的火车 汉中到阆中有火车吗 株洲至遂溪火车时间表 经过德清的火车有哪些地方 坐火车网 通辽到中卫的火车票 重庆至随州市火车时刻表 桃山到加佳木斯的火车 毫州至济南火车 秦皇岛到图们火车票 靖边发西安火车 天津东站到沧州的火车表 徐州至济宁火车票多少钱 重庆至随州市火车时刻表 坐火车网 邯郸 北戴河火车 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 凌晨电台 镇诡司 文亦有道 大秦:苟成千古一帝的我被曝光了! 鬼镜夜探 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 汉中到阆中有火车吗 从重庆到九江火车线路站点 靖边发西安火车 汉中到阆中有火车吗 徐州至济宁火车票多少钱 湖南郴州到济南火车 天津东站到沧州的火车表 秦皇岛到图们火车票 北京到宁波硬卧火车时刻表 毫州至济南火车 桃山到加佳木斯的火车 毫州至济南火车 黄石 洛阳的火车时刻表 大连到甘肃庆阳火车站 唐山到燕郊火车几点 株洲至遂溪火车时间表 邯郸 北戴河火车 黄石 洛阳的火车时刻表 秦皇岛到图们火车票 邯郸 北戴河火车 毫州至济南火车 经过德清的火车有哪些地方 广州-襄阳火车票 坐火车网 广州-襄阳火车票 秦皇岛到图们火车票 普通列车预售多长时间火车票 天津东站到沧州的火车表 重庆至随州市火车时刻表 北京到宁波硬卧火车时刻表