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"
双币种信用卡 英文刷信用卡降级交易如何取消信用卡预付款三万信用卡最低还多少钱如何刷国际信用卡双币种信用卡 英文淘宝上信用卡分期付款买手机吗如何取消信用卡预付款淘宝怎么添加信用卡淘宝二手信用卡付款淘宝代办信用卡靠谱吗双币种信用卡 英文淘宝上信用卡分期付款淘宝代办信用卡靠谱吗如何取消信用卡预付款淘宝二手信用卡付款淘宝上支持信用卡付款的店铺如何刷国际信用卡如何刷国际信用卡手机支付宝的信用卡还款在哪里刷了信用卡但是账单为0淘宝不能用信用卡付款淘宝怎么添加信用卡刷信用卡显示超出限额如何取消在用的信用卡支付宝转账吗刷信用卡没有输密码错误三万信用卡最低还多少钱刷信用卡手续费调整手机支付宝的信用卡还款在哪里淘宝上信用卡分期付款买手机萧阳绰号&amp;quot;杀破狼&amp;quot;,为兵部第一人,因任务失败入狱五年,出狱后本想过平淡生活,谁知接连不断有人招惹陷害他,震怒之下,长啸琼霄,血染长天,抵穷山恶水进行万里击杀,直至双方见面后最终一搏!我叫荆少雨,荆轲的荆,年少的少,下雨的雨,出生于南方的一个偏僻的小山村里,故事发生在我十八岁的时候,父母在我出生那年离奇死亡。这里讲的是一些怎样的故事呢? 人皮模特、人骨拼图、凶宅奇案、真人蜡像、密室杀人、碎尸惨案…… 这些故事背后是怎样的一群人呢? 囚禁者、恋物癖、人格分裂、流浪汉、乞丐、白领、高智商人群…… 当你站在地狱仰望天堂,才能真正听懂来自地狱深处的哀鸣。 世界上哪有什么天生的罪犯,只不过是把老实人逼急了而已。 本小说及人物纯属虚构,请勿对号入座。如有雷同,纯属巧合,切勿模仿。没错,正如本书的封面,穿越者杨广抱着萧后,头顶萦绕着两只凤凰,一只绿鸟,三只花蝶缠绕,今世他只爱这七大美人,即使风流,毫不影响他摧枯拉朽的征服世界……一位于300年前陷入沉睡的少年苏醒,竟遇到同当年那位佳人一般的人,后又因意外失忆,被那少女所救,从此踏上了一条不归路……一个超能力者与普通人共存的时代,一个野兽变异危机四伏的时代,一个山海经神兽复苏现世的时代,作为全国诸多超能力者之一的他,能否在异兽泛滥的局势下守卫国家安定,能否在别有用心之人的影响下坚守本心?这个时代会毁灭在异兽的利齿下,还是稳定在超能管理局的保护中?一个少年闯入云海之中,在云海闯荡出一个云海传说......在某一天人们觉醒了异能漆黑的星空,闪烁一丝亮光,古朴的令牌从天边划落.......一个写作爱好者
神州滴滴 重返西游 师姐请自重 尨祀悳 异世界神探 我当天师那几年 镇天神帝 一觉睡到天亮 寂灭星主 恶赎游戏 我与死神画押 弱不禁风召唤师 遇鬼的那些年 逍遥修仙长生传 钦海城风云 真神的能力和毁灭! 狐,媚月 紫薇大帝龙辉 非道非常道 史上第一大反派 刷信用卡没有输密码错误 淘宝二手信用卡付款 淘宝上支持信用卡付款的店铺 如何刷国际信用卡 刷信用卡降级交易 刷信用卡手续费调整 淘宝信用卡付款分期吗 淘宝朋友代付怎么用信用卡吗 刷信用卡能要回吗? 淘宝上信用卡分期付款 淘宝信用卡套现 封号 淘宝信用卡套现 封号 刷信用卡显示超出限额 淘宝二手信用卡付款 双币种信用卡 英文 如何取消在用的信用卡支付宝转账吗 淘宝信用卡还款在哪里 刷信用卡没有输密码错误 刷信用卡的手续费商家出? 如何取消信用卡预付款 私人办信用卡怎么包装 如何取消信用卡预付款 刷信用卡的手续费商家出? 淘宝不能用信用卡付款 淘宝卖家开通信用卡服务 刷信用卡需要输入密码 刷信用卡没有输密码错误 刷信用卡的手续费商家出? 刷了信用卡但是账单为0 刷信用卡没有输密码错误 如何刷国际信用卡 私人办信用卡怎么包装 三万信用卡最低还多少钱 双币种信用卡 英文 刷信用卡显示超出限额 如何取消在用的信用卡支付宝转账吗 三万信用卡最低还多少钱 淘宝信用卡付款分期吗 刷信用卡显示超出限额 如何取消在用的信用卡支付宝转账 如何取消在用的信用卡支付宝转账吗 淘宝朋友代付怎么用信用卡吗 手机支付宝的信用卡还款在哪里 淘宝信用卡还款在哪里 淘宝代办信用卡靠谱吗 私人办信用卡怎么包装 淘宝信用卡套现 封号 如何取消在用的信用卡支付宝转账吗 刷信用卡需要输入密码 淘宝上信用卡分期付款买手机吗 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 应是如此江山 斩阴 女帝修仙路上的绊脚石 暗界进化 剑可开天 葡京官网 快连下载 亚星管理平台 葡京官网 皇冠登3出租 淘宝怎么添加信用卡 刷了信用卡但是账单为0 淘宝信用卡付款分期吗 刷信用卡手续费调整 刷信用卡的手续费商家出? 如何取消信用卡预付款 手机支付宝的信用卡还款在哪里 淘宝信用卡还款在哪里 刷信用卡没有输密码错误 如何刷国际信用卡 淘宝怎么添加信用卡 如何取消在用的信用卡支付宝转账 淘宝信用卡还款在哪里 淘宝信用卡付款分期吗 如何取消在用的信用卡支付宝转账 刷信用卡能要回吗? 淘宝怎么添加信用卡 淘宝怎么添加信用卡 淘宝上支持信用卡付款的店铺 淘宝信用卡付款分期吗 刷了信用卡但是账单为0 刷信用卡没有输密码错误 手机支付宝的信用卡还款在哪里 私人办信用卡怎么包装 淘宝上信用卡分期付款买手机吗 如何取消在用的信用卡支付宝转账吗 淘宝卖家开通信用卡服务 如何取消信用卡预付款 淘宝信用卡付款分期吗 淘宝代办信用卡靠谱吗