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"
学生如何在网上订火车票从承德到秦皇岛火车时间是荆州火车站售票厅电话火车k238??^哪些站重庆到大足火车时刻学生如何在网上订火车票山东滨州至天津火车时刻表荆州火车站售票厅电话火车车k1268今天火车为什么会晚点高铁郑州东至海口火车荆州火车站售票厅电话汤阴到吕梁火车时刻表查询新肇到松原的火车时刻表榆林到泰安的火车?今天火车为什么会晚点苏州火车站一寒山寺广元到成都火车里程广元到成都火车里程商丘到烟台的所有火车贵阳至绥阳县火车广元到成都火车里程火车车k1268杭州到拉萨多少火车重庆到大足火车时刻z62火车途径火车k238??^哪些站杭州到拉萨多少火车商丘到烟台的所有火车汤阴到吕梁火车时刻表查询  综武大陆,王朝林立。   李损穿越而来,成为古墓派唯一男弟子,激活鸿蒙签到系统。    从此丹药、神功,样样不缺,美女、公主接连不断。   九阴真经我有!   十绝体我有!   大还丹我有!   降龙十八掌我有!   我有!我有!我全都有!   李损签到十年,自此无敌世间!                   周元真灵入洪荒,绑定天道信用卡。开局狂刷信用卡,先天不朽道胎,先天混沌至宝,先天神魔秘法……统统安排上! 不知不觉,他竟然欠下了亿万功德! 而在这时,信用卡提示,逾期不还,天罚降临,神魂俱灭! 窝草—— 为了保住小命,他开始疯狂抢夺功德,女娲造人,立教成圣,六道轮回,三皇五帝……他都要插一脚! 而为了防止主角“意外”死亡,无法追回欠债,天道也跟着变质了,处处维护主角。 老子:“竖子!你竟敢抢我人教教主之位?” 原始:“小贼!不要跑,还我杏黄旗!” 天道:“咳咳……” 众圣:天道不公啊!所有的开始与结局总是异乎寻常。神奇,惊险及离奇的挑战铺天盖地涌入平常的生活。一个世界走向毁灭的时候,就会诞生一个新的世界。都迷茫过,那一刻,我看见了光。幽默穿越爽文,喜欢的朋友赶紧前来围观咯!首次在17K发表小说,还请大家多多支持!谢谢、谢谢、谢谢!(重要的事都要说三遍,呵呵!)当枯竭的灵气复苏 当远古的神魔苏醒 当大地的生物异变 平凡少年踏上求生之路,逐渐窥探世界的奥秘大脑中的意识瞬间被灌入的海水淹没 “卧底三年就这样结束了吗?”萧子昂不甘、后悔、愤怒的情感充斥全身………… 前朝太子?孤独两世?也好,既然重生在这乱世,那就为自己活一次。繁华盛地与乱战兼并并存,妖兽人魔具在。权势、钱财不如所爱之人一颦一笑,我在,即为惊鸿人间宴。本作品讲的是一个不知名的小人物一步一步成为仙界至尊武道巅峰的故事赵铭伦认为, 住对门的林洛伊是他的一生之敌; 从小到大,林洛伊没少告他的状,拆他的台,揭他的短! 直到生日这天, 赵铭伦居然获得了,能任意改变林洛伊身体的能力! 本以为这下子能彻底拿捏她, 万万没想到,林洛伊竟然……
诡异调查录 住进了女病房 穿越时空争霸战 末日,等不到的黎明 鲁笠的灵异故事报 东华大帝传 济世医侠 我真的不想这么渣! 异星生存之制霸宇宙 天云笑仙录 天堂游戏:别人逃命我抽卡 女魔皇 再听新声曲度 神谕万族 草莽也能是英雄 海贼之审判 王爷凶猛 弄哭同桌后,我天下无敌! 虫医 封神:请尽情吩咐妲己 济南南到厦门火车时刻表 临沂到天津塘沽的火车 苏州火车站一寒山寺 重庆到大足火车时刻 济南南到厦门火车时刻表 任丘到哈尔滨今天的火车票 亳州到丰城火车时刻表 甘谷到商落职火车票 z62火车途径 新沂到霸州的火车时刻表 火车车k1268 20号济南到坪上火车票 商丘一昆山火车票 临沂到天津塘沽的火车 学生如何在网上订火车票 重庆到大足火车时刻 亳州到丰城火车时刻表 z62火车途径 保定到宁波的火车途径点 荆州火车站售票厅电话 临沂到天津塘沽的火车 榆林到泰安的火车? 从承德到秦皇岛火车时间是 新肇到松原的火车时刻表 今天火车为什么会晚点 商丘一昆山火车票 z62火车途径 从承德到秦皇岛火车时间是 保定到宁波的火车途径点 z62火车途径 重庆到大足火车时刻 临沂到天津塘沽的火车 连云港开亳州火车站时刻表 学生如何在网上订火车票 杭州到拉萨多少火车 重庆到大足火车时刻 连云港开亳州火车站时刻表 苏州火车站一寒山寺 商丘一昆山火车票 榆林到泰安的火车? 火车k238??^哪些站 新沂到霸州的火车时刻表 阜阳到海门的火车 亳州到丰城火车时刻表 新肇到松原的火车时刻表 临沂到天津塘沽的火车 20号济南到坪上火车票 火车k238??^哪些站 商丘一昆山火车票 山东滨州至天津火车时刻表 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 轮回情债 魔法师的异界 双生记事本 影视世界从一千万开始 摘星! 欧博官网 亚星管理平台 澳门葡京游戏官网 欧博官网 亚星游戏官网 荆州火车站售票厅电话 广元到成都火车里程 亳州到丰城火车时刻表 从承德到秦皇岛火车时间是 新沂到霸州的火车时刻表 火车车k1268 临沂到天津塘沽的火车 z62火车途径 山东滨州至天津火车时刻表 荆州火车站售票厅电话 荆州火车站售票厅电话 苏州火车站一寒山寺 亳州到丰城火车时刻表 新沂到霸州的火车时刻表 西安直达海口的火车时刻表 今天火车为什么会晚点 贵阳至绥阳县火车 任丘到哈尔滨今天的火车票 广元到成都火车里程 新沂到霸州的火车时刻表 济南南到厦门火车时刻表 高铁郑州东至海口火车 商丘到烟台的所有火车 西安直达海口的火车时刻表 重庆到大足火车时刻 保定到宁波的火车途径点 保定到宁波的火车途径点 新肇到松原的火车时刻表 高铁郑州东至海口火车 火车k238??^哪些站