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"
招商信用卡可以同时办两张卡吗光大信用卡分期业务办理范围梦幻西游2招行信用卡农行信用卡冲支付宝光大乐视信用卡几天下卡招商信用卡可以同时办两张卡吗招行炉石信用卡兑换商品库存不足梦幻西游2招行信用卡信用卡未还款会判多久建行信用卡刷卡免息期多长时间花期信用卡好审批吗招商信用卡可以同时办两张卡吗办理信用卡没有固定电话怎么办花期信用卡好审批吗梦幻西游2招行信用卡建行信用卡刷卡免息期多长时间首次办工行信用卡额度光大乐视信用卡几天下卡光大乐视信用卡几天下卡百货店刷兴业信用卡欠信用卡3千六年了会不会坐牢广州哪里办花旗信用卡信用卡未还款会判多久交通信用卡客服欠信用卡一个月不还信用卡少还26元利息1300农行信用卡冲支付宝招商信用卡电话号码百货店刷兴业信用卡招商信用卡追加临时一场封神大战,尘埃落定,埋藏过往! 那些前世情缘、封神旧恨,似乎随风而逝,万年后,一个冷血杀手,踏月而来,带领一众妖女诛仙斩神! 云海天涯两渺茫,何日功成名遂了,还乡! 醉笑陪公三万场! 不用诉离觞!简介:光明与黑暗,烈火与寒冰,在这个混沌的世界之中。 一个无名少年的出世,搅动乾坤,颠覆世界。 亲情、友情、爱情、勇气、冒险。 在少年的身上逐渐显现,直到冰与火的对决。烈烈风中,米罗慷慨陈述。也许有人会笑我愚蠢、鲁莽,但我要告诉大家,人类慢慢千年的历史中,就是那些旁人眼里的愤怒匹夫,不管兵甲漫天、屠刀如林,也死守尊严和底线,才有了冰山大陆的盛世百年。我选择做那个莽夫,因为我不愿在死后成为埋葬在黄土之下的冢中枯骨,放弃换来的苟活一命,买不走苍天大地上男儿的万丈豪情,我就要用今天的一战,在后世危难时刻放出照耀青史的一寸豪光。 神秘的古国文明,他们从哪儿来,又回到哪儿?历史到底在掩盖什么?神明是传说,还是是我们未知的文明?为什么要说科学的尽头是神学?神秘的古一个已被世人所遗忘的姬姓,一名贫困山区大学生姬小天如何穿越到三国之封神天下的,再现祖上荣光的十余世的轮回,一生的痴缠苦恋,究竟是为了前世的荒唐而赎罪,还是为了千年的爱恋而痴狂? 只为那双独一无二的眼眸,他心甘情愿的为之反叛仙道、颠覆魔界,走遍天涯海角,只求永世相伴。 只为那颗一成不变的真心,她无所畏惧的陪他出生入死、浪迹天涯,穿越千山万水,惟愿携手夕阳。 然而,造化弄人。原本祥和安宁的世间,却偏偏因为一个不知所以的地灵而纷乱不断。人仙魔三界中的是非恩怨,总归一个“权”字而起,一个“情”而乱,一个“痴”字而迷,一个“释”字而终。 三界本无界,不过是一花一木一世界,一树一叶一菩提,自在其中罢了! 这是一个处处被虐的宝妈,一路磕磕碰碰走逆袭成为女强人的故事。 女主做了宝妈后,开始被现实的家庭成员歧视被家庭的精神暴力压抑着。 一次偶然的机会,忽发奇想的想为孩子打造一个梦中完美的开满玫瑰花房屋。 她仿佛看到自己的孩子,她要改变固有的房屋设计,设计出既舒适有艺术感的房子,就在完美房间玩耍,快乐的成长。 于是每一天,她拼尽全力的去完成心中的梦想。 因为这个梦想,一步一步,从零开始,把房间每个细节的幻想画面变现实生活的一部份。 女主如同涅槃重生的凤凰,走上了人生的巅峰,从此也获得经济上和精神上的丰收。 法斯特从霍格沃兹毕业后与自己的好友鲍克斯、兰一起探险魔法世界。当一行三人探索魔法古墓时,兰受到了护陵诅咒。这种诅咒非常残忍,当被诅咒人三十岁时就会自燃化为灰烬。鲍克斯和法斯特走遍大街小巷,黑林深处却都无功而返,唯有求助魔法部的帮助,故事便从这里开始…… 恭喜绑定育儿成长系统 本系统因不可描述原因 受损程度78%,无法主动提供任何帮助 如遇危险请用爱感化对方 谢谢合作 简介?什么简介 作者已经被整疯了 哈哈哈 假的 假的 全是假的 去你的育儿系统啊啊啊啊!于曾子安而言,命运是一座大山,要么翻过它,要么便只能匍匐于它脚下苟延残喘……
亡者遗梦 赴灭乾坤 直播:开局巡山,被迫成为金钱豹保镖 星游手册 遮天神帝 随便都能重 前传:异世奇闻录 苍茫铭主 今宵杯中映明月 庆南吏 缤纷剑 无尽:神明游戏 遇见生命之梦 你假装修炼一下吧,球球了! 一怒称帝 天域行 跨时间长河 归玄录 神探太司懿之鬼人谷 峰峰的奇妙冒险 信用卡少还26元利息1300 建行信用卡刷卡免息期多长时间 首次办工行信用卡额度 光大乐视信用卡几天下卡 光大信用卡分期业务办理范围 招商信用卡电话号码 工商银行建国60周年信用卡 信用卡欠款60万 招商银行信用卡固定额度多长时间 办理信用卡没有固定电话怎么办 私人养信用卡是手多少个点 私人养信用卡是手多少个点 交通信用卡客服 建行信用卡刷卡免息期多长时间 招商信用卡可以同时办两张卡吗 欠信用卡一个月不还 建行60周年银制信用卡 信用卡少还26元利息1300 信用卡被停卡能否办理小额贷款 梦幻西游2招行信用卡 建行信用卡 收费 梦幻西游2招行信用卡 信用卡被停卡能否办理小额贷款 广州哪里办花旗信用卡 信用卡逾期60天可以申请贷款吗 信用卡逾期一次严重吗 信用卡少还26元利息1300 信用卡被停卡能否办理小额贷款 欠信用卡3千六年了会不会坐牢 信用卡少还26元利息1300 光大乐视信用卡几天下卡 建行信用卡 收费 农行信用卡冲支付宝 招商信用卡可以同时办两张卡吗 交通信用卡客服 欠信用卡一个月不还 农行信用卡冲支付宝 工商银行建国60周年信用卡 交通信用卡客服 怎么能买到信用卡 欠信用卡一个月不还 信用卡欠款60万 百货店刷兴业信用卡 建行60周年银制信用卡 花期信用卡好审批吗 建行信用卡 收费 私人养信用卡是手多少个点 欠信用卡一个月不还 信用卡逾期一次严重吗 招行炉石信用卡兑换商品库存不足 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我不是昏君 文明始神 华夏巅峰崛起 我在东京当嫌疑犯 九万里大地 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 信用卡被停卡能否办理小额贷款 信用卡欠款60万 交通信用卡客服 私人养信用卡是手多少个点 欠信用卡一个月不还 农行信用卡冲支付宝 欠信用卡3千六年了会不会坐牢 信用卡被停卡能否办理小额贷款 工商银行建国60周年信用卡 交通信用卡客服 光大信用卡分期业务办理范围 怎么能买到信用卡 花期信用卡好审批吗 私人养信用卡是手多少个点 招商银行信用卡固定额度多长时间 广州哪里办花旗信用卡 欠信用卡3千六年了会不会坐牢 信用卡逾期60天可以申请贷款吗 私人养信用卡是手多少个点 建行60周年银制信用卡 农行信用卡冲支付宝 农行信用卡冲支付宝 欠信用卡3千六年了会不会坐牢 欠信用卡3千六年了会不会坐牢 工商银行建国60周年信用卡 建行60周年银制信用卡 信用卡被停卡能否办理小额贷款 信用卡少还26元利息1300 百货店刷兴业信用卡 建行信用卡刷卡免息期多长时间