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"
广发信用卡的人工服务广发信用卡白金客服广发信用卡调整交易限额广发信用卡短信验证失败广发信用卡额度4000广发信用卡的人工服务如果信用卡被起诉在还全款广发信用卡调整交易限额广发信用卡 网购广发信用卡面签等通知广发信用卡购iphone6s广发信用卡调整交易限额广发信用卡签约商户广发信用卡封顶额度广发信用卡短信验证码广发信用卡面签等通知如果信用卡在取款机里取1000那一个月的利息是多少广发信用卡额度比中信广发信用卡额度比中信广发信用卡传真行车证广发信用卡8000分24期广发信用卡额度比中信广发信用卡 网购广发信用卡查询积分兑换广发信用卡额度4000广发信用卡不能跨行取广发信用卡短信验证失败怎么办广发信用卡查询积分兑换广发信用卡传真行车证广发信用卡签约商户世界之大无奇不有! 宁可信其有不可信其无! 而你所见所听不一定为真,那些藏匿在背后的真象,是你无法逾越的鸿沟! 或许你可以尝试一下,但未必能够成功? 你是否还愿意去尝试? 去揭开世界的真相?一次意外绝对的意外,在我看爱情公寓5的时候因为一次小小的意外,竟然样我穿越了。 可是样我傻眼的是我穿越到了,爱情公寓刚刚开始的时候,你没有听错就是爱情公寓1, 而且我竟然被系统绑定了,,,还只有15岁。 大学毕业的苏大强在机缘巧合之下灵魂穿越到了异大陆附身于傀儡皇帝,一心想要回到社会主义的他屡次失败之后无奈接受现实,开始着手建立属于自己的社会主义。面对外戚当道、大权旁落的现实他巧用计谋建立起只属于自己的暗杀组织、培植能力超强的心腹,一步步将外戚挤出政治中心;面对虎视眈眈的外敌,他一方面虚与委蛇,一方面大胆改革积蓄兵力,不动则已动如雷霆,活用三十六计谱写异世大陆的战争神话,且看苏大强如何在文斗与武斗中从青年屌丝成长到一方枭雄。一次偶然的相遇,命运从此改变,讲述不一样成长历程,有丰富多彩的剧情,跌宕起伏的人生,爆笑而严谨,闯女生更衣室、旅游掉进女生池塘、被一群基友大叔追的满街跑……领略不一样的玄幻之旅。洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”很黑很黑有个房间孤独的在山上.......飘走了~江彦辰穿越到诸多小说融合的世界,成为有着数千亿资产的集团富少, 以为就此可以过上纸醉金迷、策马奔腾的快乐生活, 但他却发现自己貌似是剧情中的反派,目的只有不被主角打脸,活到小说结局。 只要弄死气运男主、收服气运女主就可以获得大量反派值, 从而获得万千好礼,所以他“毅然决然”决定做一个“人见人爱”的大反派!大易王朝景元年间,时国师夜天为天下至强者,把持朝政,下鱼肉百姓,民不聊生;上残杀修士,致尸横遍野。啸聚虎狼之众,组成暗网,专门诛杀异己。一时间,九州天下,白骨露于野,千里无鸡鸣。当此之时,秦天易,起于青萍之末,止于草莽之间,举起反抗苛政的大旗,解救众生于水火之中。从微末境界,一步步成为天人强者,诛杀国师;运筹帷幄之间,将锦绣江山皆收入囊中。最终,秦天易携天下大势,结束了大易王朝的残暴统治,还天下万民一朗朗乾坤,最终成就千古一帝。一个平凡的摸鱼打工人,一次宿醉后莫名转生异界。 获得了先天灵根,开启了一段朋克的修仙生涯。
蓝猫龙骑团之新的轮回 幻空残梦集 模拟修仙五百年,我证道成帝 我在修真世界当黑道 全球惊悚:我再不死,就真无敌了 虚度三十年华 虚梦记 死灵德鲁伊 万界百货商铺 江承传 迪迦耀世另传 民间怪谈诡事录 重生:回到八零当首富 别人修道我修妖 我不是神父 烟雨大唐 穿越魏国之男儿当自强 在时间的尽头遇见你 屹立高墙之下 飞花刀影 广发信用卡白金专线 广发信用卡积分还款 如果信用卡在取款机里取1000那一个月的利息是多少 广发信用卡额度4000 广发信用卡白金专线 广发信用卡餐饮优惠 广发信用卡 5.9 0.63 广发信用卡面签拍照吗 广发信用卡不能跨行取 广发信用卡哪款比较好 广发信用卡 网购 广发信用卡 开卡条件 广发信用卡超额是什么意思 广发信用卡积分还款 广发信用卡的人工服务 广发信用卡额度4000 广发信用卡 5.9 0.63 广发信用卡不能跨行取 广发信用卡案例 广发信用卡调整交易限额 广发信用卡积分还款 广发信用卡短信验证码 广发信用卡白金客服 广发信用卡封顶额度 广发信用卡面签等通知 广发信用卡超额是什么意思 广发信用卡不能跨行取 广发信用卡白金客服 广发信用卡案例 广发信用卡不能跨行取 广发信用卡额度4000 广发信用卡购iphone6s 广发信用卡短信验证失败 广发信用卡的人工服务 广发信用卡查询积分兑换 广发信用卡额度4000 广发信用卡短信验证失败 如果信用卡在取款机里取1000那一个月的利息是多少 广发信用卡超额是什么意思 广发信用卡短信验证码 广发信用卡短信验证失败怎么办 广发信用卡哪款比较好 广发信用卡磁条换芯片 广发信用卡 5.9 0.63 广发信用卡封顶额度 广发信用卡积分还款 广发信用卡 开卡条件 广发信用卡短信验证失败怎么办 广发信用卡超额是什么意思 如果信用卡被起诉在还全款 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 虚拟超神者 金灵神剑诀 不死狂医 黑鸦之吻 我与妖女一起斩神 亚星管理平台 亚星官网 万利官网 亚星管理平台 澳门葡京官网 广发信用卡餐饮优惠 广发信用卡签约商户 如果信用卡在取款机里取1000那一个月的利息是多少 广发信用卡白金专线 如果信用卡在取款机里取1000那一个月的利息是多少 日本信用卡欠款回国 广发信用卡 开卡条件 广发信用卡额度4000 广发信用卡的人工服务 广发信用卡封顶额度 广发信用卡案例 广发信用卡 5.9 0.63 广发信用卡案例 广发信用卡的人工服务 广发信用卡白金专线 广发信用卡白金客服 广发信用卡签约商户 广发信用卡白金专线 广发信用卡查询积分兑换 广发信用卡短信验证失败怎么办 广发信用卡超额是什么意思 广发信用卡不能跨行取 广发信用卡磁条换芯片 如果信用卡在取款机里取1000那一个月的利息是多少 广发信用卡 开卡条件 广发信用卡 5.9 0.63 广发信用卡调整交易限额 广发信用卡传真行车证 广发信用卡短信验证码 广发信用卡面签等通知