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"
娱乐高手之恣意花丛txt下载冲上云霄 港女txt搬个美国到北宋txt虫眼txt下载极道女天师全本txt下载娱乐高手之恣意花丛txt下载大唐女法医番外txt下载搬个美国到北宋txt庶出格格闹京华txt神奇宝贝之红莲阿飞txt下载转世流氓txt下载搬个美国到北宋txt太子无耻夜桥小白txt转世流氓txt下载欺军之罪txt下载神奇宝贝之红莲阿飞txt下载农家鲜妻txt剑三 黄泉txt剑三 黄泉txt如意蛋番外txt黄河古事txt免费下载剑三 黄泉txt庶出格格闹京华txt娱乐都市txt下载rar三嫁狂妃+txt特工魅影全本免费txt下载三嫁狂妃+txt娱乐都市txt下载rar如意蛋番外txt太子无耻夜桥小白txt这是一个部分与整体的故事,是为了局部存在而损伤整体利益,还是局部服从整体利益? 修仙飞升是什么?修炼着为什么要飞升?飞升又会给所在的空间造成什么伤害? 所在的空间是为了阻碍修者飞升还是帮助修者飞升? 飞升会带走所在空间的能量,加速空间的崩塌,有的空间为了自己长久存在,不断的猎杀修者,有的空间为了仙界的强大,不断的飞升。我儿子的故事无数年前惊天战斗,洪荒世界天地之间的灵气被消耗殆尽。天人大战后,巨妖死后化为大地的身躯。剩余的人类吸取剩余的灵气为生,这洪荒世界之上,有没有尽头,总有人去寻找尽头。一个世界走向毁灭的时候,就会诞生一个新的世界。年轻中学教师的奇特成长史。幽默穿越爽文,喜欢的朋友赶紧前来围观咯!首次在17K发表小说,还请大家多多支持!谢谢、谢谢、谢谢!(重要的事都要说三遍,呵呵!)当枯竭的灵气复苏 当远古的神魔苏醒 当大地的生物异变 平凡少年踏上求生之路,逐渐窥探世界的奥秘你相信这个世界上是没有鬼的,都市传说也总是有迹可循,八尺大人是人撑着木偶,灵异公车只是高仿车伪装,猫脸老太用面具拐卖儿童。不过当儿童用伞顶着的帽子被家长收回,在街上的“野公交”被交警罚下,人贩子被判刑7年,谁又能解释这之后的状况呢?是神?是鬼?还是人?当白夜在一片欢呼声中举起那座属于CNCS的major奖杯时,拿个冠军就退役,终于不再是当初被嘲讽的一句玩笑话。 两年前,因为白夜的一次错误决策,让CNCS蒙尘,两年后,白夜带着这个草台班子网吧战队,将会席卷整个CSGO! 星海战队,我们的目标是,世界顶峰!未来世界,人类科学家研究出了变异病毒。
九字真言诀 玄幻:我的功法无限升级 天空中的深渊 燹武录 有志者事必成之凤栖梧桐 逆者为皇 能隐者 我创造了最强惊悚世界 秋芳缘 人类实是动物 师兄们上山了 囚徒日记之飘零燕 玄能纪元 我是个读书人 越狱第六季 人在娘胎:我和女帝相爱相杀 极武之颠 第5人格 剑仙神玄 兵王闯三国1 丐神txt下载 神控九天txt下载 农家鲜妻txt 极道女天师全本txt下载 丐神txt下载 耽美女txt 农家鲜妻txt 玖兰枢bgtxt 特工魅影全本免费txt下载 家有鲜妻txt 桂仁 猫陛下日常txt下载书包网 猫陛下日常txt下载书包网 帝台娇txt下载书包网 神控九天txt下载 娱乐高手之恣意花丛txt下载 极道女天师全本txt下载 神雕后记全本txt下载 特工魅影全本免费txt下载 末日之吞噬崛起txt 搬个美国到北宋txt 神控九天txt下载 欺军之罪txt下载 冲上云霄 港女txt 转世流氓txt下载 神奇宝贝之红莲阿飞txt下载 帝台娇txt下载书包网 特工魅影全本免费txt下载 冲上云霄 港女txt 末日之吞噬崛起txt 特工魅影全本免费txt下载 极道女天师全本txt下载 大手笔是怎样炼成的txt 虫眼txt下载 娱乐高手之恣意花丛txt下载 娱乐都市txt下载rar 极道女天师全本txt下载 虫眼txt下载 农家鲜妻txt 帝台娇txt下载书包网 欺军之罪txt下载 三嫁狂妃+txt 家有鲜妻txt 桂仁 六界之主全集txt下载 神雕后记全本txt下载 转世流氓txt下载 大手笔是怎样炼成的txt 猫陛下日常txt下载书包网 三嫁狂妃+txt 帝台娇txt下载书包网 大唐女法医番外txt下载 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 洗妖录 墓诡异志 阴阳冥使! 立校高中 生存空间:我能看见提示 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 如意蛋番外txt 庶出格格闹京华txt 极道女天师全本txt下载 极道女天师全本txt下载 冲上云霄 港女txt 冲上云霄 港女txt 猫陛下日常txt下载书包网 帝台娇txt下载书包网 丐神txt下载 三嫁狂妃+txt 神控九天txt下载 黄河古事txt免费下载 耽美女txt 转世流氓txt下载 末日之吞噬崛起txt 家有鲜妻txt 桂仁 庶出格格闹京华txt 猫陛下日常txt下载书包网 三嫁狂妃+txt 三嫁狂妃+txt 末日之吞噬崛起txt 冲上云霄 港女txt 神雕后记全本txt下载 猫陛下日常txt下载书包网 丐神txt下载 耽美女txt 娱乐高手之恣意花丛txt下载 玖兰枢bgtxt 神雕后记全本txt下载 剑三 黄泉txt