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"
坚持真理作文题目健康的饮食作文英语作文记叙文微笑作文800字记忆里的那个人作文600字江门环境情况的作文坚持真理作文题目家的味道高中作文800字记叙文微笑作文800字家乡小河的环境作文400字坚持阅读的英语作文记忆深处作文800字初三记叙文微笑作文800字家乡游记作文800字初中作文记忆深处作文800字初三记一次活动作文教案坚持阅读的英语作文家乡的国庆节作文500字教妈妈用微信英语作文教妈妈用微信英语作文家长会前的感受的作文家乡中国的特产作文600字教妈妈用微信英语作文家乡小河的环境作文400字件感人的事500字作文纪念李大钊作文家风家规家训作文题目纪念李大钊作文件感人的事500字作文家长会前的感受的作文家乡游记作文800字初中作文 建文四年,朱棣拖家带口举兵造反,攻进应天府时,最疼爱的太孙朱瞻基却离奇失踪。 朱棣大怒,认为是建文乱臣所为,遂屠杀一万四千余建文乱臣及家眷,流放三万余靖难遗孤,以表对太孙疼惜之意。 …… 十一年后,一少年乱了朱棣心智,朱棣时常化作普通老头,与他一起打猎。 “老爷子,我真不是你孙子,我是从死人堆里爬出来的,没有亲人。” 朱棣听着朱辰的独白,禁不住就落泪了。 “谁说你没亲人,我现在告诉你,你爷爷是永乐大帝朱棣,你是大明皇嫡长孙。” 朱辰:“老爷子,您别骗我了。” 朱棣道:“不信也罢,我欠你一个盛大的复辟仪式。” 次日,应天府白日宵禁,万人空巷,十万大明铁骑进城,为首一人,正是那身穿铠甲,龙虎精神的老爷子! 爷孙俩隔空对望一眼,朱棣一笑。 十万大明铁骑下马,恭敬跪地大吼:“恭迎大明皇嫡长孙回朝!”什么是咖啡?如果你在半年前问我,我就会说,咖啡是苦茶。80%的后悔,并不是你做了什么而后悔,而是因为你没有做什么而后悔异世重生,命运多舛。 在家族利益中被驱逐,在万族大乱中求生存。 拥有一颗强者之心,老天却总跟他开玩笑,无法修炼灵力。 终以剑入修,走出剑仙之道。 在部落与外来势力集团利益冲突中, 解决问题的最有效手段就是, 挥舞手中的上帝之鞭,那是最通行的语言。 请跟随狙击战神, 进入神秘非洲,统领部落,反抗霸权,重树正义, 铸就封神的传说! 去体验热血澎湃,野性喷张的另一种生命状态。 五年时间,陈默当牛做马。 五年,李雅晴事业蒸蒸日上,成了万人追捧的女总裁。 五年,陈默还是那个平凡的家庭煮夫。 离婚,是唯一的选择,然而陈默不明白,金钱和权势真的那么重要吗?当年的自己是如此的不屑一顾,没想到李雅晴为了一点蝇头小利,居然跟自己离婚……本文讲述了主人公李俊杰从小被保姆刘细香拐走后,历经种种人生磨难后长大成人并最终与父母相认的故事,向读者展示了生命的顽强。曹泽带着系统穿越大唐,只要花钱就可以抽到各种东西。 开局遇到程处默,误打误撞成了国师。 “陛下,如今灾民遍野,急缺大量粮食!” “不慌,国师那里有粮卖。” “陛下,边关告急!” “来人,去国师那里买点98K来。” “陛下,如今大唐建设急缺人力!” “带上国师,咱去国外走一圈。” 从此,大唐的龙旗插满了世界各个角落。 日光照耀之处,皆为大唐领土!孟沧渊作为一一个时代的传奇,帮助孟家成就霸主地位以后,找了个小山村隐居起来,只想平平淡淡的过完余生,偶尔治病救人,刚安稳的度过了几年,老友来访后,带来了无止境的麻烦,孟沧渊:老子欠你的嘛?大学毕业,却选择回到山村的夏东藏,意外激发了手艺人系统! 石雕、玉雕、根雕、无所不能; 刺绣、锻造、印染、样样精通! 小件、大件、超大件,件件震惊世界! 我叫夏东藏,我为传承千年的华夏手艺代言!羊城火车站下来了一个刚刚从部队回来的士兵,一个拥有无尽战力却前途黑暗的强者,拥有上古血脉的王者
第十魔神 全民兽化:从柳树开始进化 命运回响 网游之日月星辰 建座地府当后宫 末世,全能战神 最强仙帝在都市 都市:校园武道高手 宇宙之上是什么 末日桃花生存系统 界面争波 庆南吏 与温韬同行 重生:玻色子生命体 逆斩神明 都市晨阳 圣域九歌 怖城 地球升维 亘古唯一剑 假如我是妈妈作文5百字 假文盲六年级下册作文 家乡的国庆节作文500字 江门环境情况的作文 假如我是妈妈作文5百字 家乡的国庆节作文100字 家乡的国庆节作文500字 家乡的大山作文350字 家风家规家训作文题目 家里的动物作文三年级 家乡朔州英语作文 家乡朔州英语作文 江门市环境变了作文 假文盲六年级下册作文 坚持真理作文题目 江门环境情况的作文 假期见闻作文600字初一 家风家规家训作文题目 家族聚会的烦恼的作文 记叙文微笑作文800字 假文盲六年级下册作文 记一次活动作文教案 健康的饮食作文英语作文 记忆深处作文800字初三 坚持阅读的英语作文 江门市环境变了作文 家风家规家训作文题目 健康的饮食作文英语作文 家族聚会的烦恼的作文 家风家规家训作文题目 江门环境情况的作文 健康饮食得英语作文 记忆里的那个人作文600字 坚持真理作文题目 件感人的事500字作文 江门环境情况的作文 记忆里的那个人作文600字 家乡的国庆节作文500字 江门市环境变了作文 记一次活动作文教案 纪念李大钊作文 家里的动物作文三年级 景写一篇作文200字 假期见闻作文600字初一 记忆深处作文800字初三 健康饮食得英语作文 家乡朔州英语作文 纪念李大钊作文 江门市环境变了作文 家的味道高中作文800字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 仙戮万界 我和冷傲女友想好好恋爱 我在末世当救世主 诸天旅游者 往生界面 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 江门环境情况的作文 家乡游记作文800字初中作文 家里的动物作文三年级 家长会前的感受的作文 家长会前的感受的作文 减少校园浪费的作文 家的味道高中作文800字 家乡的大山作文350字 家里的动物作文三年级 家乡的国庆节作文500字 家乡朔州英语作文 假如我是妈妈作文5百字 纪念李大钊作文 坚持阅读的英语作文 坚持真理作文题目 教妈妈用微信英语作文 江门市环境变了作文 家里的动物作文三年级 记忆里的那个人作文600字 家乡小河的环境作文400字 家乡小河的环境作文400字 减少校园浪费的作文 减少校园浪费的作文 坚持阅读的英语作文 家乡的大山作文350字 记忆深处作文800字初三 家乡朔州英语作文 假如我是妈妈作文5百字 纪念李大钊作文 假文盲六年级下册作文