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"
建行信用卡逾期1个月建设信用卡网上激活吗建行信用卡怎建行信用卡支付宝账单怎么查询建行有30万能办信用卡吗建行信用卡逾期1个月建设银行奥运会信用卡建行信用卡怎建设信用卡没钱还怎么办建行的信用卡有年费是多少建行车主信用卡通过率建行信用卡怎建行柜台办理信用卡要多久建行周年信用卡建行信用卡征信后被拒建行的信用卡有年费是多少建设银行白金信用卡特殊申请建行员工白金信用卡年费建行员工白金信用卡年费建设信用卡账单短信建设信用卡突然被降额建行员工白金信用卡年费建设信用卡没钱还怎么办建设信用卡怎么还款?建行有30万能办信用卡吗建设信用卡网银开通短信提醒吗建行信用卡最高配建设信用卡怎么还款?建设信用卡账单短信建行柜台办理信用卡要多久2009年到2021年间,g城作为改革开放后迅速崛起的沿海城市之一,政治经济快速发展,商界奇才、慈善大家、教育大亨······齐聚在g城,由此展开一场场腥风血雨的争斗······ 天地正气在,英雄傲世来。一刀尽江河,一手握日月,共人间悲欢,历九世劫波。缘来行到水穷处,缘尽坐看云起时。世间毁誉,世人冷眼,能奈我何?道行乾坤,德载天下!萧瑟秋风,斗转星易,换了人间! 试看萧易觉醒蜕变,傲世苍穹,笑看风云!  大脚从天而降把人类震回了原始时代,到处都是人吃人的恐怖景象……商业微信:zicsnk 同名漫画:https://afdian.net/@1994sr本是先帝血脉,然遭逢巨变,只得流落凡间,颠沛流离,沦落红尘,招人欺辱,命运多舛,历经生活困苦,然而时光荏苒,白驹过隙,逐渐成人的小混混,难敌红尘诱惑,真所谓窈窕淑女君子好逑,何况乎一个人人叱之以鼻的小痞子,更是整日做着赖蛤蟆想吃天鹅肉的美梦,戏剧性的是美女爱痞子,佳人何其多,为了心中执念,痞子也可憾苍天……各种职业、血脉、体质纷纷涌现,成仙难,难于上青天!每个人心中都有一个自己的江湖,江湖故事。 凌云被师傅赶下山,一人独闯江湖。 江湖纷争,人心难测,我自清醒。 懂事的人负责任的人,也就是别人口中的老实本分的人,吃亏和傻缺的另外一种叫法,峰回路转与好人好报,只会在戏中剧中。穷且意坚,不坠青云之志!身为一代赘婿,他肖天明有自己的坚持,有自己需要守护的家人,当老婆于危难之际,自当奋不顾身,全力以赴!尘寰外,碧海中,桃花之间桃花岛。秋风起,海波兴,几度潮来听玉箫。且看东邪黄药师传人,如何纵横都市。满天神佛朝我跪拜,天下美女唯我独揽!已完本,放心阅读。 钟离墨原本是一个省队的主力队员,有望进入NBA的男人。 可是却因为一个拉杆,穿越到了另一个平行世界的自己身上。 哪知刚穿越一会儿,就遇到了一个小鲜肉男团!
一念神魔:护主独心 黑白暗涌 末土之旅 重整秩序 回到世纪初 不灭造化决 九幽练魂决 剑指云水间 灰度区间 盅哥的强无敌 终末残响 完美系统之尘世闲游 全球曝光:我的中二日记竟成真了 零渡空间 大学的江湖 一剑证长生 我的一米书屋 末世魔潮 地球的再分裂:燕赵楚鼎立 转生异世界却成为失忆者 建设信用卡逾期宽限期 建行房贷搭售信用卡 吉通信用卡农行 建行周年信用卡 建设信用卡逾期宽限期 建设信用卡怎么还款日 吉通信用卡农行 建行柜台办理信用卡要多久 建设信用卡怎么还款? 建行海航ic金信用卡 建设信用卡突然被降额 建设信用卡突然被降额 建行信用卡异地激活吗 建行房贷搭售信用卡 建行信用卡征信后被拒 建行周年信用卡 建设信用卡没钱还怎么办 建设信用卡怎么还款? 建设信用卡网银开通 建行信用卡支付宝账单怎么查询 建行房贷搭售信用卡 建行信用卡最高配 建设信用卡网银开通短信提醒吗 建行的信用卡有年费 建行公务卡和信用卡同额度吗 建设信用卡怎么还款日 建设信用卡网银开通短信提醒吗 建设信用卡网上激活吗 建设信用卡网上激活 建设信用卡网银开通短信提醒吗 建行有30万能办信用卡吗 建行的信用卡有年费 建行信用卡支付宝账单怎么查询 建行信用卡逾期1个月 建设信用卡怎么还款? 建行有30万能办信用卡吗 建行信用卡支付宝账单怎么查询 建设银行白金信用卡特殊申请 建设信用卡怎么还款日 建行信用卡征信后被拒 建行信用卡最高配 建行公务卡和信用卡同额度吗 建行信用卡异地激活吗 建设银行办理信用卡不用写资料 建行周年信用卡 建行的信用卡有年费 吉通信用卡农行 建行信用卡最高配 建设信用卡怎么还款日 建设银行奥运会信用卡 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 都市赌徒 赢得天下薄幸名 乱劫起 七月之火 仙玄御界 皇冠登3出租 亚星管理平台 澳门葡京官网 皇冠登3出租 亚星官网 建行信用卡最高配 建行的信用卡有年费 建设信用卡突然被降额 建设信用卡怎么还款? 建设银行白金信用卡特殊申请 建设信用卡网上激活吗 建行柜台办理信用卡要多久 建设信用卡账单短信 建设信用卡没钱还怎么办 建行有30万能办信用卡吗 建行有30万能办信用卡吗 建行信用卡逾期1个月 建行信用卡逾期1个月 建设信用卡怎么还款? 建设信用卡怎么还款日 建设信用卡网银开通短信提醒吗 建行信用卡最高配 建行的信用卡有年费 建设信用卡突然被降额 建设信用卡逾期宽限期 建行周年信用卡 建设信用卡网上激活 建行公务卡和信用卡同额度吗 建设信用卡怎么还款日 吉通信用卡农行 建行信用卡最高配 建行信用卡最高配 建设信用卡网上激活 建设信用卡网上激活吗 建设银行办理信用卡不用写资料