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"
论文署名是否按姓氏笔画对学生体质健康影响的实验研究论文综述动手学习的论文论中日关系2000字论文情景教学 论文论文署名是否按姓氏笔画评职称 论文要求动手学习的论文软交换的论文德育在语文教学中的渗透论文幼儿教师论文范文动手学习的论文ngn系统设计论文幼儿教师论文范文机械类论文网站德育在语文教学中的渗透论文论我国缺陷产品召回制度的法律构建论文大纲财务 论文财务 论文安阳地方建筑文化赏析论文五年级语文下册教学论文财务 论文软交换的论文数字地质填图论文管理心理学相关论文大专电力毕业论文管理心理学相关论文数字地质填图论文安阳地方建筑文化赏析论文ngn系统设计论文别人穿越都是自带各种系统金手指的 为啥我穿越了自己变成了穿越系统啊喂!(╯‵□′)╯︵┻━┻ 而且还得帮助宿主完成他们的心愿? 你走!吉尔都没了你给我谈这个有啥意思! 啥?宿主可以随便我选?二次元电影小说人物都行? 啥?只要帮助10名宿主就可以获得一个自定义的星球? “那还等啥!马上就走!” 主角表示真香!平行时空,异世为人,不是王侯将相,没有未卜先知,唯有科学,唯有革命,你有你的孙子六韬,我有我的论持久战,论游击战。 本书又名寒门人士发家记,这个人怎么什么都懂,我在异界当龟公的那些年,天下石人一只眼,始知我命由我不由天一个偶然机会,我们成了忘年交。同时,在营山一餐饭机会,我们谈起了建筑文化。仪容清俊貌堂堂, 双耳微张目有光。 头戴鸿蒙蚀月帽, 身批混元云影裳。 九龙靴衬盘龙袜, 玉带团花八宝妆。 手持独龙骨做枪。 背负阴阳双鱼转, 众生信仰归一方。 力朱异灵守净土, 证道成神见沧桑。 还命众生归桃源, 笑看后人谈阴阳。刘金行喝酒感慨人生的时候,上天让他回到98年,面对曾经困苦的家庭,他决定为之努力。 还好重生回来,上天给了一个金手指,通过随身空间种田养殖,生活随之改变,生活是一幅悠闲自在的模样,然而他看见了,身边同样困苦的亲朋,他突然明白了,重生也是一件任重而道远的事情。 开服装店,游戏厅等等,之后以随身空间为中心的,商业版图已然展开…… 刘金行想说:重生一回,就要有别样的人生,一定要随风而起。穿越洪荒百万年,还是玄仙修为   林长青绝望之际,师尊通天赐予九转金丹   没想到,竟然觉醒诸天赠送系统!   赠送九转金丹,返还百亿功德!   赠送通天剑符,返还神象镇狱劲!   赠送黄中李,返还混沌灵根!   赠送盘古精血,返还……   林长青行走洪荒,赠送无数宝物,杀妖,屠魔,救人族!   终于,当量劫降临之时,林长青一人横立量劫之前,挥手扫灭无边劫云!武林中人为了夺取九环金冠各显其能,但却无一得手,有的在洞中惨死,有的在洞中重伤,无一人取到九环金冠。就在武林中人着急之时,一个天大的秘密被发现:兴良镇永济塔下有得道高僧太空之舍利,谁吃了它,就会一夜之间武功盖世,天下第一……一位青年,出身顶级豪门,却肩负重大任务,从小努力训练,练就一身本领。 短短的大学四年悄然逝去,他终于要开始建立自己的势力。 这是家族给予的任务,也是自己的理想。 从零开始,书写一段传奇,然而这条道路却是漫长而艰辛,想要建功立业,谈何容易? 庆幸的是,期间遇到愿与自己相伴终生的另一半 然而追妻路上也非一帆风顺,爱情与事业如何兼得,前面的道路又该如何选择……相传,有人看见奈何桥头,孟婆捧着碎碗哭泣;三生石上有流血的名字;忘川河畔的彼岸花不见了;河岸的亡魂都在回首,流着黑色的眼泪。 黄泉路上,诸多传闻,不知真假。而我,从墓中爬出,踏着黄泉路,追寻真相。 北海边,一双淡淡地脚印延伸到海底,不见始终;南极洲,一座人体冰塑流着血的双眸,仰望苍天;古镇里,一块巨石如棺,葬下谁的魂;有人说那一双脚印是一个神灵逃亡时留下的,有人说那座冰塑是坠落凡尘的天使,那块如棺的巨石,葬着满天神佛。 而我,从墓中开始,踏着神佛的尸骨,一路向魔而去。 汤圆签约作者洛炎 汤圆签约作品胡非魂穿大明,成为了华夏最后一任丞相胡惟庸的儿子... 作为一个标准的官二代,他本该走马架鹰,从此过上最嚣张的纨绔生活...   然而,当他意识到不对劲的时候,才突然发现…… 朱元璋为了巩固皇权,已经对权倾朝野的胡相动了杀心! 家父胡惟庸,貌似要凉!?
英雄的赞歌 寄心生梦 回到世纪初 鬼校 三国模拟器:这个刘封绝地求生 玄幻:穿成废柴的我,养成了十大女帝 我为人类谋福祉 从原始部落开始打造最强文明 滕王阁前传 破碎万域 我是女鬼差 盗墓之长生劫 剑道传承 时空造梦人 冥土之幽冥入侵 玄幻:我能看见万物缺陷 收容物出逃日记 真的要逼我认真吗 破天一梦 大齐小侍卫 电力系统及自动化毕业论文 电大行政本科论文 论我国缺陷产品召回制度的法律构建论文大纲 情景教学 论文 电力系统及自动化毕业论文 细胞论文参考文献 论我国缺陷产品召回制度的法律构建论文大纲 教学渗透论文 大专电力毕业论文 教师的职业保障论文 电子商务论文结尾 电子商务论文结尾 中小企业如何应用电子商务毕业论文 电大行政本科论文 论文署名是否按姓氏笔画 情景教学 论文 知识产权法相关论文 大专电力毕业论文 中国反倾销反补贴 论文 动手学习的论文 电大行政本科论文 机械类论文网站 对学生体质健康影响的实验研究论文综述 幼儿教师论文范文 德育在语文教学中的渗透论文 中小企业如何应用电子商务毕业论文 大专电力毕业论文 对学生体质健康影响的实验研究论文综述 中国反倾销反补贴 论文 大专电力毕业论文 情景教学 论文 浅谈物理化学论文 论中日关系2000字论文 论文署名是否按姓氏笔画 数字地质填图论文 情景教学 论文 论中日关系2000字论文 论我国缺陷产品召回制度的法律构建论文大纲 中小企业如何应用电子商务毕业论文 机械类论文网站 管理心理学相关论文 教师的职业保障论文 3到6岁儿童学习与发展指南论文 知识产权法相关论文 幼儿教师论文范文 浅谈物理化学论文 电子商务论文结尾 管理心理学相关论文 中小企业如何应用电子商务毕业论文 评职称 论文要求 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 我在人间斩妖除魔 龙神之争又名龙神重生归来 灭道一剑 危诡游戏 不杀之剑 万利官网 皇冠登3出租 百家乐官网 万利官网 欧博官网 幼儿教师论文范文 情景教学 论文 电子商务论文结尾 财务 论文 电大行政本科论文 知识产权法相关论文 德育在语文教学中的渗透论文 3到6岁儿童学习与发展指南论文 教师的职业保障论文 3到6岁儿童学习与发展指南论文 电力系统及自动化毕业论文 论文署名是否按姓氏笔画 依法治国思修论文 论中日关系2000字论文 评职称 论文要求 电力系统及自动化毕业论文 知识产权法相关论文 评职称 论文要求 安阳地方建筑文化赏析论文 论我国缺陷产品召回制度的法律构建论文大纲 五年级语文下册教学论文 中小企业如何应用电子商务毕业论文 五年级语文下册教学论文 知识产权法相关论文 对学生体质健康影响的实验研究论文综述 电大行政本科论文 管理心理学相关论文 德育在语文教学中的渗透论文 细胞论文参考文献 中国反倾销反补贴 论文