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"
建行信用卡账单日23民生信用卡提示超限额农行信用卡如何还款浦发银行信用卡还款日期怎么算信用卡是一次性还款吗建行信用卡账单日23一个月办理多张信用卡农行信用卡如何还款信用卡打卡号能查出欠款和利息吗怎么申请大额信用卡信用卡提前多久换卡建行信用卡账单日23qq信用卡有卡吗信用卡提前多久换卡农行信用卡如何还款光大信用卡快到期广发信用卡到期有通知吗信用卡是一次性还款吗信用卡是一次性还款吗广发信用卡到期换卡卡号会变吗信用卡分期了怎么看有没有还完建行信用卡没还款的利息怎么算信用卡打卡号能查出欠款和利息吗味千拉面 信用卡活动兴业银行信用卡地址民生信用卡短信开通超限的指令浦发银行信用卡还款日期怎么算张家港农行信用卡优惠广发信用卡到期换卡卡号会变吗信用卡到期不用了这是一个关于两位少女的故事。被神明眷恋的爱丽丝——西门子拥有被称为&amp;lt;凋叶咒&amp;gt;的诅咒,在得知自己害死了另一位少女的家族后,她决定踏上梦境世界的旅途,以自己的方式拯救那位少女。 说评书的到了异世能干啥?忽悠呗! “你已经取得资格,准备好回归了吗?” “不,那外面,才是真正的囚笼!” …… 那一天,有人格缺陷的平凡青年孟渭澄的颓废生活被搅乱,莫名其妙的超自然现象降临在他的身上,最终获得了奇妙的力量——“捷”。他不知道这是福佑还是诅咒,顺着那个也许根本就只是幻觉的指引,踏上了成为“圣者”的旅程。 魔王,陨落了;没有一点痕迹,然而待他苏醒之日,群魔觐见,俯首称臣。天界,人界,魔界都因他而战栗。一次次阴谋,一个个谜团,都需要鲜血才能显现,在人间,他会卷起怎样的风暴。这最终的谜团,他是否又能解开这一本是全册的短篇小说,就随便写写,有灵感就写,作者比较浪班级群里突然出现了个土豪 土豪说让我们跟他玩游戏完成游戏的有红包奖励 任务即然是跟校花..时空裂缝出现 人类必须躲避远古生物的抓捕 同时,大量未来生物来到现在 人类该何去何从有没有听过这样一句古话,和平年代,动物不能成精。精,俗称妖精,以动物之身,夺天地之造化,识人性,通人慧,为人敌!“三更堂?阎王让你三更死,谁敢留你到五更的三更堂?” 胖哥,先为不可胜呀,算无遗策呀,智珠在握呀。被打的吐血还在这装? 兄弟二人,美女撑腰,携酒上吟亭,满目江山列画屏。自一千四百多年前始,玄宇崩坏,神灵陨落,封御秉承天运降生,救世灭世,全在一念之间。诸强各怀心思,暗流汹涌,谁会是棋手,谁又是棋子?
诸界剑尊 断层世界 超级小渔民 长生神帝 重生82之商业帝国 玩家太凶猛 双魂同身:是个穿越者 开局超强神技:化敌为友 江湖有你才有传奇 fate new time 放牛之世 返祖我的先祖是曹孟德 黑洞末 元世纪:暗尽天明 万界第一剑帝 全班吊车尾,你告诉我毕业上清北? 溟渊邪神 城市中央的水族馆 寄名锁 三国:开局被曹操封护国瑞兽 民生信用卡短信开通超限的指令 光大信用卡快到期 交通银行信用卡逾期还款后果 信用卡是一次性还款吗 民生信用卡提示超限额 张家港农行信用卡优惠 交通银行信用卡逾期还款后果 淘宝网用信用卡付款 盐城信用卡垫还 qq信用卡有卡吗 华夏银行信用卡中心+易达金 华夏银行信用卡中心+易达金 味千拉面 信用卡活动 光大信用卡快到期 建行信用卡账单日23 兴业银行信用卡地址 信用卡超过还款日多久为不良记录 民生信用卡短信开通超限的指令 透支信用卡与夫妻关系 农行信用卡如何还款 信用卡换卡图案变了 农行信用卡如何还款 透支信用卡与夫妻关系 建行信用卡没还款的利息怎么算 怎么申请大额信用卡 兴业银行信用卡 冻结 民生信用卡短信开通超限的指令 透支信用卡与夫妻关系 透支信用卡与夫妻关系 盐城信用卡垫还 信用卡是一次性还款吗 信用卡换卡图案变了 浦发银行信用卡还款日期怎么算 建行信用卡账单日23 味千拉面 信用卡活动 兴业银行信用卡地址 浦发银行信用卡还款日期怎么算 交通银行信用卡逾期还款后果 味千拉面 信用卡活动 各银行信用卡用pos机 兴业银行信用卡地址 淘宝网用信用卡付款 广发信用卡到期换卡卡号会变吗 信用卡超过还款日多久为不良记录 信用卡提前多久换卡 信用卡换卡图案变了 华夏银行信用卡中心+易达金 兴业银行信用卡地址 兴业银行信用卡 冻结 广发信用卡到期有通知吗 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 逝者无休 苍源界 无限绝境 地囚:天降末日 丧尸女友有点甜 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 亚星官网 qq信用卡有卡吗 淘宝网用信用卡付款 兴业银行信用卡地址 民生信用卡提示超限额 味千拉面 信用卡活动 兴业银行信用卡地址 建行信用卡没还款的利息怎么算 兴业银行信用卡地址 华夏银行信用卡中心+易达金 信用卡是一次性还款吗 光大信用卡快到期 交通银行信用卡逾期还款后果 农行信用卡如何还款 广发信用卡2015优惠 淘宝网用信用卡付款 信用卡分期了怎么看有没有还完 民生信用卡短信开通超限的指令 民生信用卡提示超限额 一个月办理多张信用卡 各银行信用卡用pos机 建行信用卡没还款的利息怎么算 民生信用卡短信开通超限的指令 交通银行信用卡逾期还款后果 一个月办理多张信用卡 广发信用卡到期换卡卡号会变吗 交通银行信用卡逾期还款后果 信用卡打卡号能查出欠款和利息吗 味千拉面 信用卡活动 信用卡打卡号能查出欠款和利息吗 光大信用卡快到期