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"
和exo恋爱游戏很火的建筑游戏海岛和exo恋爱游戏黑客游戏怎么过关黑色厨房游戏何以笙小朋友玩的游戏猴子爬树打虫子小游戏和初音未来游戏很多骷髅打架的游戏大全红球进黑洞游戏怎么玩红球和蓝球画线游戏和exo恋爱游戏很多车的游戏黑猩猩手机游戏和初音未来游戏红球进黑洞游戏怎么玩猴子汽车游戏下载黑色的小猫游戏黑色的小猫游戏黑白冒险益智游戏很火的建筑游戏大全黑色的小猫游戏很多骷髅打架的游戏大全黑客心算小游戏黑色厨房游戏黑故事是游戏攻略黑客游戏怎么过关黑客心算小游戏黑白冒险益智游戏很多车的游戏苦修十余年,却被告知自己有个富家千金的未婚妻?杨祁下山,却没想反遭对方长辈轮番羞辱!   男儿志气尚在,杨祁果断打脸对方,并且提出退婚!   然而,退婚一事不成,杨祁却卷入了江渝的风波之中,在风波之内以逆天医术,超凡武学打拼出一片天地!误入修仙世界,只想苟活于世,却不想误入阴谋之中。 推进前路的,不仅仅是幕后黑手…… 还有隐藏的,深处的未知“仙界的日子枯燥死了!”仙王抱怨,“听说凡间很好玩,不如,去凡间打发下时间?”仙王下凡,不料这一去,万万年来古波不惊的心弦就悄悄的波动了…… “她生病了,该怎么办?”“完了,她好像知道了……”“心跳的好快,我这是怎么了?”“……”一向沉稳的仙王一下子乱了套…… 末世的日子不好过啊……走不出的无尽小路,天降满身是血的橘色大猫……一切的一切,彻底打破了林凡平静的生活。 守卫九州近百年的屏障竟是神明的身躯所化! 而如今屏障渐渐出现缺口,屏障之外的诡异生物不断入侵九州。 守夜人死守在屏障之后,誓死保卫九州。 橘猫师父却告诉林凡,神明不可能怜悯凡人。 那么神明为什么要化身屏障守卫九州百年? 平凡少年在命运指引下踏上救世之路。 这是少年坎坷的成长之路,充满了血与乱的悲歌,同样也是英雄的史诗。   李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 金融大佬曹明义意外身亡,回到上世纪九十年代,身份变成一个混子。 面对糟心的家庭,困窘的生活,看他如何一步步由小做大,翻云覆雨,站立傲世极巅!广袤3的玛法大陆天空出现异变,古老的遗迹和禁地随之发生躁动,神秘的天选者降临,这次会有什么不同吗?这次会改变界域战场人族和魔族的战争吗?(纪念那逝去的兄弟,纪念那些年的燃情岁月。)人生不止有眼前的苟且,仔细看,还有更远的...... 读者群:913285821【官场都市】【无系统】【帝力新书】下医医百病,大医医万民! 身体的病痛只需吃药打针就可治愈,但是贫穷落后的病症又有谁来医治? 邵宽出身特种兵,医术精湛,本可以在部队大有作为,但却虚心接受师兄邀请,到地方上从一个小小的科员开始做起。 从此他亦医亦官,拯救万民。亦商亦军,造福百姓!
武侠录传闻 Avenger天才杀手 原来我真是世外高人 万界百货商铺 持剑天王 云征九天 响彻寰宇的未来之歌 杀死星系的人 热血传奇之法码大陆 摘星传I大千世界 缘起于夏 雨做的风 地球男孩 大清末年 缘修记 瑱:献给集爱于一身的少女 能隐者 破尽时空 此事古难全 重生之笔神 黑故事是游戏 红球和蓝球手机游戏 猴子汽车游戏下载 黑色厨房游戏 黑故事是游戏 黑客速成小游戏 猴子有关的小游戏 黑熊啊游戏 黑故事是游戏攻略 很多车的游戏 很多骷髅打架的游戏大全 很多骷髅打架的游戏 黑白块手机游戏 红球和蓝球手机游戏 何以笙小朋友玩的游戏 黑色厨房游戏 猴子有关的小游戏 黑故事是游戏攻略 很火的建筑游戏大全 和exo恋爱游戏 红球和蓝球手机游戏 和初音未来游戏 很火的建筑游戏海岛 黑猩猩手机游戏 红球进黑洞游戏怎么玩 黑白块手机游戏 黑故事是游戏攻略 很火的建筑游戏海岛 很火的建筑游戏大全 黑故事是游戏攻略 黑色厨房游戏 红球和蓝球手机游戏 和初音未来游戏下载 何以笙小朋友玩的游戏 黑客心算小游戏 黑色厨房游戏 和初音未来游戏下载 猴子汽车游戏下载 黑白块手机游戏 和初音未来游戏 黑客游戏怎么过关 嘿 游戏开始 黑白颜色的跑酷游戏 很多骷髅打架的游戏 黑猩猩手机游戏 红球和蓝球手机游戏 很多骷髅打架的游戏 黑客游戏怎么过关 黑白块手机游戏 猴子爬树打虫子小游戏 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 十二次轮回 抬头一片阳光 当码农遇上系统 彼岸落笔 暗黑世道 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星官网 黑色厨房游戏 黑客心算小游戏 嘿 游戏开始 嘿 游戏开始 黑白颜色的跑酷游戏 黑白颜色的跑酷游戏 黑客速成小游戏 黑客游戏怎么过关 和exo恋爱游戏 黑熊啊游戏 猴子汽车游戏下载 黑白块手机游戏 和初音未来游戏 很多工程车的游戏 黑白冒险益智游戏 很多骷髅打架的游戏大全 黑客心算小游戏 黑客速成小游戏 黑熊啊游戏 黑熊啊游戏 黑白冒险益智游戏 黑白颜色的跑酷游戏 黑故事是游戏攻略 黑客心算小游戏 何以笙小朋友玩的游戏 和初音未来游戏 黑猩猩手机游戏 很多骷髅打架的游戏 黑故事是游戏攻略 很多车的游戏