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"
大学生如何培养创新能力的论文创新能力论文中小企业在融资过程中存在的问题及对策毕业论文英语毕业论文 农村中学生英语口语能力的培养如何培养学生的自主学习能力论文大学生如何培养创新能力的论文论文评分系统中小企业在融资过程中存在的问题及对策毕业论文莫奈教堂论文小学生自主学习能力的培养论文优质护理服务论文题目大学生如何培养创新能力的论文论文评价系统优质护理服务论文题目中小企业在融资过程中存在的问题及对策毕业论文会计人员应具备的专业知识和业务能力论文的主要内容论文评价平台如何培养学生的自主学习能力论文莫奈教堂论文论文评价系统培养自主学习能力的论文关于监护的论文英语毕业论文 农村中学生英语口语能力的培养小学生自主学习能力的培养论文医疗保障制度论文优质护理服务论文题目轴承加工毕业论文会计人员应具备的专业知识和业务能力论文的主要内容论文评价系统自动门 论文【第二世界】职业极其不平衡,魔法师的数量和实力远不如武者。然而何冰却执着当一个魔法师,并要掀起一场魔法狂潮。“这才是魔法师真正的力量!” ——何冰大学毕业后,苏世横得到了他梦寐以求的工作,成为了一名他从小就想成为的人民教师,他很开心,这一度让他以为,他的人生故事会一直按照自己设想好的情节去发展。然而,在真正参加了工作、进入了社会之后,他才终于明白以前的象牙塔是多么地单纯又美好。人情冷暖;挫折磨难;残酷的现实让他经历了一段心酸无助、痛苦不堪的黑暗时光,甚至还让他产生过了结自己的恐怖念头,所幸后来,他撑过了煎熬,保住了赤子之心,他的棱角不仅没有被社会磨平,反而变得更有锋芒,“横眉冷对千夫指,真心独为知己笑”,做自己就好,不必在意世人的眼光。龙峰,某特种部队退役后,一次乘坐游轮遇到飓风……醒来时,龙峰发现自己出现在一处岛屿的海滩。这处岛屿荒无人烟,里面处处杀机,有吸食血肉的树怪,还有身如巨山的凶兽……生存还是毁灭?龙峰开始了自己在异大陆的传奇人生。修为散尽后重生于凡俗世界,然幸运的出生却没有幸运的人生,新婚妻子婚前被侮辱而自杀,自己中毒差点再次死亡,而这一切的一切不过是因他多年前救的一个女孩,记忆重临让他再次踏入修炼,誓以残废之躯再入天道之上。 大千世界修真界,封神大战天门关,只因大地被破碎,大法祖师炼乾坤,结界之内难修仙,飞升天劫降,破界离去难复返。男主陈轩穿越成女身开始了与自带老爷爷的少年开始了相爱相杀的旅程。您喜欢系统还是老爷爷?来看浸淫在小说世界多年的老狗来带您系统品味一下二者之间的优劣!我叫王浩,人如其名一个普通人,从小就梦想发财。18岁以前一直过着普通的生活,直到上山摘草药,误闯一个神秘的小村庄一切都发生了改变…探索遗迹,挖掘古墓,返祖才是最强?怎么越活越回去了。科学的力量才是未来的出路。看一只骷髅怎么在混乱的世界占有一席之地,将一众大佬拉下神坛神与仙的比拼,妖与魔的碰撞,机器与人的厮杀,这里有最神奇的大陆,有最热血的青年,有最精彩的战斗, 让云岚带你开启星空的纪元之旅。林洛在上班回家途中被异界召唤系统砸中所穿越的故事。
武之极:执掌轮回 人逆流芳 全能系统之玄天 民进禁忌杂谈 湮灭的火日 生存空间:我能看见提示 神谕:崩坏 栅栏上的夕阳 不想内卷,所以我全点了治疗 我家猫咪嫌我太菜,带我打穿惊悚游戏! 奇异国 觅路行 关照苍穹 仙都至尊 穿越:我在玄幻造大炮 神州傲剑诀 末日,等不到的黎明 天的审判者 苦后更甜 万武记 电大计算机科学与技术专业毕业设计(论文)要求 会计人员应具备的专业知识和业务能力论文的主要内容 论文评价平台 如何培养学生的自主学习能力论文 创新能力论文 广州电大论文格式 宪法的解释论文 分布式拒绝服务攻击论文 广州电大毕业论文范文 论文评价系统 医疗保障制度论文 医疗保障制度论文 沟通的原则与技巧论文 会计人员应具备的专业知识和业务能力论文的主要内容 大学生如何培养创新能力的论文 培养自主学习能力的论文 轴承加工毕业论文 电大计算机科学与技术专业毕业设计(论文)要求 如何正确认识自己论文 中小企业在融资过程中存在的问题及对策毕业论文 品牌成功的核心是定位论文 中小企业在融资过程中存在的问题及对策毕业论文 如何正确认识自己论文 小学生的绘画水平论文 小学生自主学习能力的培养论文 自动门 论文 电大计算机科学与技术专业毕业设计(论文)要求 如何正确认识自己论文 关于监护的论文 电大计算机科学与技术专业毕业设计(论文)要求 如何培养学生的自主学习能力论文 品牌成功的核心是定位论文 英语毕业论文 农村中学生英语口语能力的培养 大学生如何培养创新能力的论文 沟通的原则与技巧论文 培养自主学习能力的论文 英语毕业论文 农村中学生英语口语能力的培养 宪法的解释论文 沟通的原则与技巧论文 中西戏剧文化看中西方差异 论文 黑格尔 培养自主学习能力的论文 分布式拒绝服务攻击论文 企业不履行股东责任论文 轴承加工毕业论文 优质护理服务论文题目 品牌成功的核心是定位论文 医疗保障制度论文 培养自主学习能力的论文 自动门 论文 论文评价平台 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 电影世界历险记之我的猫咪 日月扉 毅游沧海 道士凶猛 神魔守护者 亚星管理平台 澳门葡京官网 葡京官网 亚星管理平台 万利官网 电大计算机科学与技术专业毕业设计(论文)要求 广州电大毕业论文范文 企业不履行股东责任论文 大学生如何培养创新能力的论文 如何培养学生的自主学习能力论文 宪法的解释论文 创新能力论文 论文评价系统 医疗保障制度论文 会计人员应具备的专业知识和业务能力论文的主要内容 广州电大毕业论文范文 论文评价平台 中小企业在融资过程中存在的问题及对策毕业论文 中小企业在融资过程中存在的问题及对策毕业论文 沟通的原则与技巧论文 沟通的原则与技巧论文 创新能力论文 电大计算机科学与技术专业毕业设计(论文)要求 关于监护的论文 大学生如何培养创新能力的论文 如何培养学生的自主学习能力论文 宪法的解释论文 如何正确认识自己论文 英语毕业论文 农村中学生英语口语能力的培养 医疗保障制度论文 品牌成功的核心是定位论文 电大计算机科学与技术专业毕业设计(论文)要求 论文评分系统 大学生如何培养创新能力的论文 大学生如何培养创新能力的论文