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"
上海车贷款公司有哪些商业贷款取消上海车贷款公司有哪些手续上海贷款不压车上海贷款压车上大学可以申请贷款吗生源贷款条件上海车贷款公司有哪些手续上海不押车可以贷款可信吗事业人员贷款怎么贷上海房贷款利率计算器上海车贷款公司有哪些生源贷款麻烦吗上海二套房公积金贷款政策2017上海车贷款公司有哪些手续事业人员贷款怎么贷生源贷款系统上海二手房的贷款上海二手房的贷款上大学贷款怎么还上海不押车怎么贷款公司上海二手房的贷款上海不押车可以贷款可信吗商业贷款可以带多少年上海贷款压车商业贷款首付含利息么上海贷款不压车期房贷款可以自己商业贷款可以贷几成生源贷款麻烦吗生在玄幻世,杀戮为常事。青帝空间让我重获新生,我必让犯我者血流成河。牛天是一个孤儿,自幼被父母抛弃,由于误吃了千年灵芝和毒蟒的血,使自己意外的变成了一个拥有神奇能力的人,他开矿厂开荒种药材,建养殖区,一夜之间暴富,带领全村人走上致富之路,且看一个无名小子,如何从一个小农民逆转命运,叱咤都市。十四年前,陌生少年初次来到这片陌生的时空。十四年后,少年踏上修玄之路。父母离奇失踪,世界暗流涌动,北界风起云涌,且看南宫清如何乘风破万里浪,纵横玄天大陆!我们该去享受,还是该去抱怨,这不是一部小说,是很多故事,或许会有一个触动你,加油林泽穿越到一个全民御兽的时代。 临近高考,他手上却只有一头被称为观赏型宠兽的小雪球。 “小雪球?也就看着养眼,没什么用处啊。” “不能进化的宠兽有什么用?” “潜力太低了,这辈子都不可能突破一阶。” “想考上御兽学院?不可能。” 质疑、讥讽与奚落纷沓而至。 林泽面色平静的看了眼宠兽面板 “隐藏进化路线!” “女皇路线:潜力无限的进化方式,最高可进化至王级。” 小雪球、冰晶魂、雪女、霜蓝少女、极冰王女......冰雪女皇! ...... 众人:“什么?小雪球还有进化形态?” “卧槽,你的宠兽怎么都是从未见过的品种!?还这么厉害!?”喜欢一个人可以持续多久 一年 十年 还是一万年 这个世界只有黑色 这个世界只有地狱 我们只不过是,寻找那微不足道的光点 可笑的是,根本就没有光点 鸿蒙世界共有十重天,传说进入三重天后,便可长生不死,他们毕生都在追求长生之道,但若想要长生,谈何容易,得到多少?又会失去多少?公元1252年,天玄大陆地下世界的灵族不堪忍受魔族压迫发动暴乱,联合妖族和人族的激进派向魔族总部发动总攻,最终大获全胜。次年灵族内部分化独立派和亲妖派,魔族为复仇大批涌向地上世界,而仙族为巩固自己统治地位暗中推波助澜,异空间地玄大陆的修罗族对天玄这片土地虎视眈眈,整个大陆也迎来了最黑暗的时代…在精武英雄世界里,苦练国术成就丹劲宗师。在僵尸先生世界里拳打僵尸跟九叔苦练道术。在鬼吹灯世界里炼化避尘珠获得滔天气运终成金丹高手。在聊斋世界里论道燕赤霞,在白蛇世界里斗法法海。接下来是西游,封神……少年林羽岐因体质原因无法再修练,但意外复苏神秘小塔,修乱天不灭决,觉醒特殊体质,从此神挡杀神,佛挡杀佛,若我成神,我便灭尽世间一切敌…… 境界设定:凡→仙→圣→神这是一部青春时期的回忆录。每个人的青春都是丰富多彩的,值得可歌可泣的,值得大说特说的,我们富有热血,我们积极向上,我们有过迷茫,也曾失落彷徨,愿你们独一无二的青春,能够得到你们想要的结果,活出自己的自由。
神算异世 洪荒:通天!你徒弟又作死 我一生中佼人 穿越成为林府三公子 小农民阿斗 阴阳,五行诀 重返西游 梅花玉 剑耀行 大汉儒尊,诗成传世惊诸圣 三国:系统骗我给曹操打工 寻天界 大壮历险记 谋族篡位 宅家百年,出门已成剑神 逍遥小医圣 排行榜上你的名字 夙愿:归宿 觉醒之穴 我不想当贼头 商业贷款时间年龄上限 上海房贷款利率计算器2015 生源贷款系统 上海二手房的贷款 商业贷款时间年龄上限 期供类贷款是什么意思 生源贷款续贷步骤 生源贷款表填写范本 商业贷款首付含利息么 生源贷款麻烦吗 上海不押车可以贷款可信吗 生源贷款支付宝登录 商业贷款可以带多少年 事业人员贷款怎么贷 上大学可以申请贷款吗 上海贷款压车 生源贷款续贷步骤 商业贷款首付含利息么 上海不押车怎么贷款公司 上海车贷款公司有哪些 上海房贷款利率计算器2015 上海车贷款公司有哪些手续 商业贷款取消 上海二套房公积金贷款政策2017 事业人员贷款怎么贷 商业贷款可以带多少年 商业贷款首付含利息么 商业贷款取消 上海不押车怎么贷款公司 商业贷款首付含利息么 上海贷款压车 上海房贷款利率计算器2015 上海贷款不压车 上海车贷款公司有哪些 期房贷款可以自己 上海贷款压车 上海车贷款公司有哪些手续费 生源贷款续贷步骤 商业贷款可以带多少年 上海车贷款公司有哪些手续费 上海贷款压车 生源贷款步骤 上大学贷款怎么还 生源贷款支付宝登录 上海二套房公积金贷款政策2017 上海房贷款利率计算器2015 上海不押车可以贷款可信吗 上海贷款不压车 商业贷款可以贷几成 生源贷款条件 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我被关在地牢 我在大明当皇帝 潜龙神医 叶富贵的世界 武神修炼日记 快连下载 亚星管理平台 亚星游戏官网 快连下载 亚星管理平台 生源贷款表填写范本 上海贷款压车 上海车贷款公司有哪些手续费 生源贷款系统 上海贷款不压车 上海二套房公积金贷款政策2017 生源贷款条件 上海房贷款利率计算器 商业贷款可以带多少年 事业人员贷款怎么贷 商业贷款可以带多少年 商业贷款取消 商业贷款可以贷几成 生源贷款麻烦吗 上海车贷款公司有哪些 生源贷款麻烦吗 上海不押车怎么贷款公司 生源贷款条件 生源贷款麻烦吗 商业贷款可以带多少年 生源贷款条件 生源贷款支付宝登录 期供类贷款是什么意思 生源贷款支付宝登录 生源贷款系统 上海不押车怎么贷款 上海二套房公积金贷款政策2017 上海车贷款公司有哪些手续 上海房贷款利率计算器2015 商业贷款时间年龄上限