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"
街道口信用贷款翼农贷款究竟需要多少费用中央银行一般不对企业提供贷款买二手房可以使用公积金贷款吗北京公积金贷款额度最低多少街道口信用贷款短期消费性贷款 定义中央银行一般不对企业提供贷款贷款垫还2015 个人消费性贷款规模什么是短期消费性贷款街道口信用贷款如何确定公积金贷款年限什么是短期消费性贷款中央银行一般不对企业提供贷款2015 个人消费性贷款规模淄博贷款哪个公司靠谱贷款有骗人的吗贷款有骗人的吗婚前公积金贷款婚后贷款展期需要实地调查吗贷款有骗人的吗贷款垫还征信报告显示贷款审批北京公积金贷款额度最低多少融通资产网络贷款买二手房可以使用公积金贷款吗我来贷贷款怎么样浙江民泰商业银行贷款如何确定公积金贷款年限修炼世界原本没有了妖族,几千年后,为何妖族忽然现世?为何师傅会再次叛变?太多问题需要解释了,燕雀和秦棋能解决这修炼世界中的灭顶之灾吗?平凡少年如何在异世翻起惊涛骇浪?如何从一个普通的老实人成为一个至高无上的强者?强者之路,注定逆天而行! 世事不寻常,命恐一朝丧! 即命由天定?? 倘若不为,命仍定? 呵!不可能的!那就证明天只是更强的“人”而已! 那我为何不能取——而——代——之!! 一出生便被命运束缚的少年,被迫选择一条不喜欢的道路,为了生存,他义无反顾,一路跌宕起伏,且看他传奇的一生迷茫之路,唯有剑骨陪伴。 房屋内先是响起一阵‘咕噜噜’的叫声,大约三刻钟后又是响起一阵摸索声,随后响起“咔咔”脆响声。 太阿纳闷道:“赵老夫人,肚子可是饿了,看你吃的这么香,请问你在吃什么?” 一阵沙哑略带嘶嘶音的声音传来:“萝卜!” 太阿见她吃的越来越香,“咔咔”声也越来越响。一个人,两段人生,一个平庸但漫长。一个精彩却短暂。平淡还是绚烂,反复追问自己,到底想要的是什么,如果你有决定,我想那就是你现实生活中最缺的,最得不到的!【恭喜!】 【作家4462377565号成功完本】 【得到认可“神作”】 【获得作家经验10万点】 【正在抽取作品中的技能】 …… 【警告!】 【作家996331415号作品涉及违规内容】 【正在执行抹杀】 …… 【恭喜!】 【作家000005743号累计收到价值打赏币100万的礼物】 【获得作家经验1万点】 【由于此作品无特殊技能】 【正在获取其余同时期作家低一级的作品信息】 【正在抽取技能】 …… 【警告!】 【重生者004370227号抄袭后世作家作品】 【正在执行抹杀】 …… 【恭喜!】 【作家0000094941号每日更新15000字】 【获得称号“全勤(大师)”】 【获得“万界宝箱(黄金)”一个】 …… 这是一个读者为神的世界,作家是这个世界上令人敬仰的修炼者,而其余只能作为游客阅读小说的人,要么是懦弱的蝼蚁,要么是正处于保护期的未成年人。 刚穿越到这个世界的李子梦本以为可以大展才华,却发现穿越者不可抄袭原世界作品。“pa!!!”北斗你是否清醒!!!山中怒拍桌子;艾斯,你个衰仔!!!给我起来把怪兽cao翻!!!圣诞老人指兽示意…当一切的一切变得暴躁起来,重生后的北川也应如是。 (小众文学只是想写一个自己幻想的奥特世界,随缘更新,第一次写文)神枪手秦老六少爷的命运总是那么美好更何况他住在京城,但他的命运与爱恨情仇总是让这位少爷不像一个人们所认为的少爷 人世间爱为何物,武侠当中亦有诠释高武世界,人妖并立,人族式微,人奸横行,比妖兽更可怕的是人心,且看小人物罗文辉在逆境中成长,杀皇证道,成就人族守护神的故事。
游戏太菜,死后入游戏地狱 所以谁是主角 少主凯歌 传奇异术:把我送来当废物 黑白魔神! 残缺的彼端 c 肺癌晚期:我在无魔地球推演超凡 九界第一仙 冲!奔向光明 遥远的桥 九曜雷仙 重生被女帝提亲 三剑诛天 异界修仙之无上帝尊 梦断大千世界 旅行青蛙:开局带回金光咒 重生青春之火重燃 扎西的前半生 这个卡师绝对有问题 司一传 银行贷款利息最低几厘 项目贷款自有资金 淄博贷款哪个公司靠谱 贷款有骗人的吗 银行贷款利息最低几厘 渭南本地私人贷款 奥迪一般最久能贷款多长时间 办理买车贷款需要什么材料 融通资产网络贷款 如何确定公积金贷款年限 贷款垫还 贷款垫还 征信报告显示贷款审批 2015 个人消费性贷款规模 过了元旦贷款好贷吗 北京公积金贷款额度最低多少 奥迪一般最久能贷款多长时间 融通资产网络贷款 贷款展期需要实地调查吗 街道口信用贷款 项目贷款自有资金 中央银行一般不对企业提供贷款 翼农贷款究竟需要多少费用 宜车贷按揭车可以贷款么 办理买车贷款需要什么材料 征信报告显示贷款审批 融通资产网络贷款 翼农贷款究竟需要多少费用 贷款展期需要实地调查吗 融通资产网络贷款 贷款有骗人的吗 项目贷款自有资金 买二手房可以使用公积金贷款吗 街道口信用贷款 征信报告显示贷款审批 北京公积金贷款额度最低多少 国家开发银行生源地助学贷款系 奥迪一般最久能贷款多长时间 征信报告显示贷款审批 国家开发银行生源地助学贷款系 北京公积金贷款额度最低多少 纯芝麻分贷款app 婚前公积金贷款婚后 贷款20年和30年的区别 宜车贷按揭车可以贷款么 项目贷款自有资金 贷款垫还 买二手房可以使用公积金贷款吗 浙江民泰商业银行贷款 短期消费性贷款 定义 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 仙侠模拟修真 破釜行 我在陕西读大学的那段时间 如来密码 盘武纪 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星官网 贷款垫还 融通资产网络贷款 北京公积金贷款额度最低多少 办理买车贷款需要什么材料 贷款垫还犯法 北京公积金贷款额度最低多少 渭南本地私人贷款 办理买车贷款需要什么材料 中央银行一般不对企业提供贷款 贷款20年和30年的区别 贷款20年和30年的区别 买二手房可以使用公积金贷款吗 北京公积金贷款额度最低多少 街道口信用贷款 2015 个人消费性贷款规模 贷款有骗人的吗 淄博贷款哪个公司靠谱 如何确定公积金贷款年限 融通资产网络贷款 什么是短期消费性贷款 贷款垫还犯法 我来贷贷款怎么样 奥迪一般最久能贷款多长时间 中央银行一般不对企业提供贷款 银行贷款利息最低几厘 奥迪一般最久能贷款多长时间 项目贷款自有资金 买二手房可以使用公积金贷款吗 买二手房可以使用公积金贷款吗 过了元旦贷款好贷吗