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"
网上申请信用卡没开卡 销卡招行信用卡积分攻略银行给黑户办理信用卡违法么固定电话激活信用卡座机电话可以激活信用卡吗网上申请信用卡没开卡 销卡房贷都下了信用卡能下吗银行给黑户办理信用卡违法么信用卡没有激活可以再申请吗宁津代还信用卡失踪支付宝代付使用信用卡银行给黑户办理信用卡违法么光大信用卡去柜台领取支付宝代付使用信用卡广发信用卡显示处理中宁津代还信用卡失踪广发信用卡开通后几天可以用交通信用卡曲线二卡座机电话可以激活信用卡吗交通银行信用卡 北京餐厅中国邮政信用卡生肖卡交通信用卡曲线二卡信用卡没有激活可以再申请吗广发信用卡样样行分期怎么样用信用卡分期买的东西可以退货吗无锡农行信用卡用信用卡分期买的东西可以退货吗广发信用卡样样行分期怎么样交通银行信用卡 北京餐厅光大信用卡去柜台领取一拳可开辟天地,一气可灭三千袁宇,就是这么一个强大而可怕的存在,却也逃不过七情六欲的熏染,反而活的越来越像个人了。网游映射现实,大三学生江晓玩了十年的《神话》直到关服。 他把网游玩成了单机,制霸游戏各种榜单。 当别人还在打怪升级的时候,他已是满级存在,当别人拿着几十万战力炫耀的时候,他的战力早已超越一亿; 他是全服隐藏职业之首,精通所有职业技能,能随心所欲切换职业战斗形态。 且看江晓如何玩转灵气复苏的游戏世界。夏炙一觉醒来发现自己穿越到了平行世界。 这里的人竟然将游戏定位第九艺术,玩家为了玩到一款好玩的游戏出多少钱买都愿意,游戏设计师成为最热门的行业。 夏炙狂喜,因为上个世界的无数经典游戏,这里的人竟然都没玩过。 于是一名超级天才游戏设计师诞生了。 美女导师:“我不配做陈欢的导师,他的‘马里奥’足够让我学一辈子。” 游戏测评员:“‘塞尔达’是足以改变世界的游戏,陈欢领先了业界一千年。” 攻略大佬:“扶我起来,我要和苇名一心拼刀,别拦我我还能送!” 全球玩家:“夏炙快点出新游戏,多少钱我们都买。” 其他游戏设计师:“年度游戏还选什么,直接给夏炙算了。” 夏炙本人:“别急别急,在做了(新建文件夹)。”腾龙大陆。   万族林立,人以强者为尊。   而肖不易的身份却是反派,和主角王岩所对立的反派在整个大陆上,除了一些传闻,还有一名非常神秘且强大的战士,是这片大陆最强悍的战士之一,他死后由他而已继续保护传送阵法生存于草原之上的野蛮兽族,隐藏于尸骨坟堆中的不死亡灵,接受大自然恩赐的自然精灵,以及夹杂在无数种族之间弱小的人类! 高傲的巨龙、残忍的恶魔、神圣的天使、嗜血的血族、睿智的矮人、伟岸的古树…… 无数的种族在这片大陆栖息,维持着各自的生活。 当命运的钥匙重新回归于这片土地,安逸时光画上句号,整个世界再度动乱! 为了复仇,他最后惨死,当转世踏足这片神奇的大陆时,他又会做出怎么样的选择! 一切,只为当初的承诺! 宅男孙广如果没有选择,肯定守着自己的一亩三分田……但是老天给了机遇怎么也要搏一搏,试想一下,诸天万界有什么好玩的呢……命运齿轮缓缓转动,被命运抛弃的三旬青年,独自一人在他乡流浪。断靳刺,斩霹雳。快刀乱意斩豪门。真的穿越异界了怎么办?我天生能看到奇怪的东西,爸妈担心我出事便让我拜师隐藏。可就在一次熟人的胁迫式“邀请”,师傅用两片龙鳞再次揭开了我的秘密,自此,我便走上了一条未曾想过的路??
人在江湖之七种歧途 阳间借命人 猪样年华 绝世双屠 界面争波 九界双帝录 葬音者 破天机系列之困天迷龙局 灾厄祓禊 缤纷剑 生命如来 天狼星之落花传说 神鬼莫判 参天录 天下流离 从崩碎九洲开始见证无敌 屌丝道士的异闻录 降僵除鬼记 CNC苍蓝暮光 震惊!开局校花给我生了三胞胎 威士全币种芯片信用卡额度是多少 信用卡进度查询说在制卡怎么回事 用信用卡分期买的东西可以退货吗 信用卡冻结后怎么解冻 宁津代还信用卡失踪 光大信用卡去柜台领取 用信用卡分期买的东西可以退货吗 网申浦发信用卡 申请的招行信用卡不想要了 网上申请信用卡没开卡 销卡 交通信用卡曲线二卡 交通信用卡曲线二卡 房贷都下了信用卡能下吗 信用卡进度查询说在制卡怎么回事 申请信用卡上门好还是网申好 招行信用卡积分攻略 座机电话可以激活信用卡吗 威士全币种芯片信用卡额度是多少 信用卡欠款未还 信用卡没有激活可以再申请吗 信用卡进度查询说在制卡怎么回事 信用卡没有激活可以再申请吗 信用卡欠款未还 无锡农行信用卡 交通银行信用卡 北京餐厅 中信信用卡为什么征信后被拒 威士全币种芯片信用卡额度是多少 信用卡欠款未还 信用卡欠款未还 申请的招行信用卡不想要了 信用卡冻结后怎么解冻 广发信用卡样样行分期怎么样 商场信用卡购物退款 交通银行 申请信用卡上门好还是网申好 房贷都下了信用卡能下吗 招行信用卡积分攻略 商场信用卡购物退款 交通银行 用信用卡分期买的东西可以退货吗 房贷都下了信用卡能下吗 中国邮政信用卡生肖卡 招行信用卡积分攻略 网申浦发信用卡 广发信用卡开通后几天可以用 座机电话可以激活信用卡吗 怎么申请信用卡3000 平安信用卡差劲 申请信用卡上门好还是网申好 用信用卡分期买的东西可以退货吗 信用卡进度查询说在制卡怎么回事 中信信用卡为什么征信后被拒 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 幻役 虚空新界 再世追凶 方块一生 维度之上 万利官网 欧博官网 百家乐官网 万利官网 欧博官网 交通银行信用卡 北京餐厅 信用卡没有激活可以再申请吗 座机电话可以激活信用卡吗 座机电话可以激活信用卡吗 招行信用卡积分攻略 招行信用卡积分攻略 申请信用卡上门好还是网申好 信用卡进度查询说在制卡怎么回事 信用卡冻结后怎么解冻 固定电话激活信用卡 平安信用卡差劲 信用卡没有激活可以再申请吗 怎么申请信用卡3000 支付宝代付使用信用卡 商场信用卡购物退款 交通银行 申请的招行信用卡不想要了 信用卡没有激活可以再申请吗 申请信用卡上门好还是网申好 用信用卡分期买的东西可以退货吗 用信用卡分期买的东西可以退货吗 商场信用卡购物退款 交通银行 商场信用卡购物退款 交通银行 平安信用卡一直审核中 申请信用卡上门好还是网申好 信用卡冻结后怎么解冻 怎么申请信用卡3000 网上申请信用卡没开卡 销卡 威士全币种芯片信用卡额度是多少 广发信用卡开通后几天可以用 交通信用卡曲线二卡