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"
老师批评教育我的作文乐游恐龙园作文550字老师批评教育我的作文理想中的校园 英语作文雷锋日记的作文500字老师谢谢你的作文500老师的人文关怀 作文老鹰抓小鸡的作文400老师对我的期望作文劳动后的收获作文老师到我家家访作文老师批评教育我的作文李大钊的英雄事迹作文劳动者的故事作文600字老鹰抓小鸡的作文400劳动后的收获作文礼物记叙文作文800字老鹰抓小鸡400字作文老鹰抓小鸡400字作文理想中的家 英语作文老师照顾我生病的作文老鹰抓小鸡400字作文老师对我的期望作文老师高中作文结尾雷锋日记的作文500字李大钊作文500字理想中的校园 英语作文老师高中作文结尾理想中的家 英语作文李大钊的英雄事迹作文“祖师,您在等什么?” “第三柄圣器出世,不,准确的说是在等第三个持圣器之人出现!” “为什么?” “屠神!”顾江海有些困惑,不过是加班回来睡了一觉。怎么睁开眼睛之后世界就变了样子。 街上突然路人下手的红眼人、夜晚互相撕咬的怪物、路边的变异植物、会喷火的老虎..........还有复杂的人性。 无论世界怎么变化,活下去才是当下最重要的事情。 在这个世界,人族,妖族,魔族,三足鼎立不知多少万年,无数个年头来,多少惊才绝艳之辈,而今天要讲的,则是一个人族少年的故事。一剑入梦!一剑回首! 少年一剑步入仙侠世界!一剑可斩上苍!一剑可破下域!从平庸的少年到天下无双的剑神!他站在俯视人世间的山巅!一剑挥出……这竟然……是……一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心 空间站机器人和地面站失联,生产这种机器人以及支持机器人运行的公司也发现自己的加拿大服务器同时失联,更发现正在国外度假的董事长一家在几个小时以前也失联。与此同时,市内发生一起未遂谋杀案。四件看似毫不关联的事情其实起因于同一件事,一个在日本的古老家族正在完成一件2000年来徐福交给该家族祖先的任务,进入喜马拉雅山山脉下的悬空之地,获得大地之心,从而掌控穿梭于不同时间维度的方法。 穿越于不同的时间维度,相当于获得长生;但如何穿越于不同时间维度是个问题,穿越后会发生什么事又是另外一个问题。 这是一个挂着科幻和推理羊头,写着人性的故事。因为, 人不能随心所欲支配行为,所以人,都是傀儡一样的存在。人生可以有很多种,而我要选择最不留遗憾的那一种。 穿越武道世界,江北意外觉醒捡属性系统,可以通过捡取他人身上掉落的属性而提升自己。 于是...... 你拾取了力量*0.6。 你拾取了速度*0.4。 你拾取了体质*0.6。 你拾取了悟性*0.1。 你拾取了基础剑法*50、基础拳法*30、基础腿法*30,你学会了基础剑法、基础拳法、基础腿法...... 你拾取了....... 若干年后。 武道世界遭遇域外强者入侵,人类不敌节节败退几近亡族。就在这时,一家武馆内走出一名武馆学徒,横推众多域外强者,救人族于水深火热之中。如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。 人生在世并不是得到与得不到,大千世界,芸芸众生,冥冥中有些活在我们身边的人就是上帝派到人间的使者,请努力珍惜眼前的一切。
诸神童话 临星瀚 医武狂婿 悍浪啸苍穹 异世界的传奇之旅 天卷遗梦 公子凶猛 你好次元 仙医出世 鲁笠的灵异故事报 红知了 大周年代 黑网迷失 穿越后死宅被迫震惊全世界 落晴鸢 神怒1 救命我活在两条时间上 御兽异次元:位面之战 坎坷修仙录 财通诸天 理解母亲作文700 老师的关爱作文800字 礼物记叙文作文800字 雷锋日记的作文500字 理解母亲作文700 老黑山写景作文 雷锋的故事英语作文 雷锋精神永记心中作文 李大钊作文500字 李大钊的英雄事迹作文 老师对我的期望作文 老师我心灵的甘露作文 老师对我的好作文1000字 老师的关爱作文800字 老师谢谢你的作文500 雷锋日记的作文500字 雷锋的故事英语作文 李大钊作文500字 老师照顾我生病的作文 老师批评教育我的作文 老师的关爱作文800字 老鹰抓小鸡的作文400 乐游恐龙园作文550字 劳动者的故事作文600字 劳动后的收获作文 老师对我的好作文1000字 李大钊作文500字 乐游恐龙园作文550字 老师照顾我生病的作文 李大钊作文500字 雷锋日记的作文500字 老师的关爱作文800字 雷锋叔叔你在那里作文 老师谢谢你的作文500 老师高中作文结尾 雷锋日记的作文500字 雷锋叔叔你在那里作文 礼物记叙文作文800字 老师对我的好作文1000字 老鹰抓小鸡的作文400 理想中的校园 英语作文 历史文物归属英语作文 老师关爱幼儿作文800字 老师我心灵的甘露作文 劳动者的故事作文600字 老师的关爱作文800字 老师我心灵的甘露作文 理想中的校园 英语作文 老师对我的好作文1000字 老师的人文关怀 作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 朝阳少来 镇国神婿,重生老婆要杀我 七月之火 冰雪七零七 长安降妖录 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 理想中的家 英语作文 劳动后的收获作文 老师我心灵的甘露作文 历史文物归属英语作文 劳动后的收获作文 理解母亲作文700 雷锋精神永记心中作文 夸家乡的小作文二年级 乐游恐龙园作文550字 老师的人文关怀 作文 理想中的校园 英语作文 雷锋的故事英语作文 理想中的校园 英语作文 理想中的家 英语作文 雷锋日记的作文500字 老师对我的期望作文 老师到我家家访作文 荔枝的作文400字7篇 理想中的家 英语作文 乐游恐龙园作文550字 荔枝的作文400字7篇 雷锋叔叔你在那里作文 老师照顾我生病的作文 李大钊作文500字 老鹰抓小鸡的作文400 老黑山写景作文 夸家乡的小作文二年级 老师对我的好作文1000字 夸家乡的小作文二年级 老师的关爱作文800字