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"
大一英语必考作文提高自己 英语作文托福作文要写标题吗好开头好结尾作文95 06四级作文大一英语必考作文六年级寒假作文布置托福作文要写标题吗观春晚有感 作文失败弊端英文作文医学相关英语作文托福作文要写标题吗小学作文+开学见闻医学相关英语作文父母榜样英文作文失败弊端英文作文生命教育主题作文高考作文判分标准高考作文判分标准机械工程英语作文《周六见闻》作文高考作文判分标准观春晚有感 作文中国汉语文化作文95 06四级作文历年cet6作文题大一英语邮件作文中国汉语文化作文机械工程英语作文小学作文+开学见闻这是世界从未有的大变化,神灵的末年,各大势力天才纷涌不觉,犹如扑火的蛾,将这盛世点缀。人吃人的世界,李言作为一个特殊的变数,让这场乱流拉开序幕。 永生者的传说刺激世人,先天神灵也隐世不出,万族争霸,这场人为的盛世终将缔造一位真正的无敌者。一位永生的生灵!在美丽的梦幻大陆上,分为三界,幻界,灵界和洛界,以九天之河三分大陆,三界争斗,长年不休,却又互相制衡。九天之河每百年现九天秘境,现九天之塔,九天之塔分九天,凡,普,灵,玄,皇,尊,圣,帝以及汣之天,传说闯汣天者得天下,九天之塔每一天都有不同的机遇,每一层都困难重重,每次闯关者都会获得相应的称号及奖励,然而千万年以来,还无人闯入九天之巅。幻界少主与洛界公主因九天之河倒流互相结识,因此展开两届世代之恩怨,两人之情牵动两届之争斗,然而灵界虎视眈眈,在暗中推波助澜,以收渔翁之利,离九天之塔开放还有8年时间,九天之争马上开始,看能否解决三界之乱,争夺九天之主。殊不知九天之巅,只有一把钥匙,一扇天门,上书《梦界》……预知后事如何,且看正文诡异来袭,末日降临。 动植物变异,诡异入侵。 亿万卡牌随处散落,武器卡、职业卡、装备卡、资源卡、图纸卡... 拾取卡牌强大自身,拥有抗衡怪物的实力。 建立庇护所,在夜晚,防止强大的怪物入侵。 罗锋捡起掉落在自己小卖部门口的一张卡牌。 【一星随机卡牌,选择你要获得的奖励】 罗锋发现,其他人的奖励都是随机,只有自己,可以选择卡牌里的奖励内容。 在这个怪物异常强大,卡牌出货概率极低的末世,陆尘金色传说开到手软。 “末世,有手就能生存” ...........长临渊黑暗中总有一双眼睛盯着你 阴谋算计?在绝对的实力面前全是狗屁! 修炼瓶颈?在无敌天资面前就是笑话。   “左眼为阴,右眼为阳,日夜更替,阴阳轮换,俱在我身”   浩瀚的宇宙边陲之地,只有无光无明的漆黑。   有一个男子正盘腿悬坐在星空中,而伴随刚才的话语,他的眼睛突然从眼眶里跳了出来,只留下两个空洞的眼眶,   此时这两只眼睛都还覆盖着眼皮,闭着眼睛。   忽然,一只眼睛睁开。   漆黑的星空便有了光明,十分耀眼,光芒照在男子和他前面的一具尸体上。   这时,才发觉这男子和这具尸体竟散发这仙人之气。   男子是这方世界两大仙帝之一的——陆仙帝,而他面前的尸体则是另外一个仙帝——陈仙帝。   两位仙帝大战于此,落得两败俱伤。   陆仙帝左手之上托着一个灵魂,恰是一个女子的模样,不过已经没有了多少灵性,陆仙帝叹了了口气,道:   “便只能转世重生了”   而陆仙帝刚才将自己的灵魂打入这三千世界,转世重生,夺取生机。   灵魂纷纷降落重生,化作小世界中的土著,其中便有一份灵魂便将落在这一方世界——蜉蝣界。   故事就此开始,第三次世界大战后辐射扩散到宇宙各处,人类的基因发生了奇怪变化,就连地球也变了样。2120年,人类科技水平再次迈上了新台阶。 新种族的诞生,能令意识长生不死的虚拟元宇宙世界,可用时间抗衡绝症的冰冻技术,崭新的资本角斗场……眼花缭乱的出现在了地球原住民的眼前。 人类与AI如何共存? 苟且偷生和自然死亡,哪一个更有尊严? 迷茫,对抗,宣泄,呐喊,似乎已成了常态…… 张云溪十八岁生日时,被保姆杀了全家,他怀揣着疑惑来到了一个叫青山神学院的地方。 名牌大学生叶峰,被豪门富二代打压,找不到工作只好回家捕鱼为生,谁知竟因此得到惊天传承,开启逆天人生! 神创造了世界,于是有了万物,后创造了万物之灵,人。 不知从何时起,神明消失,大地出现鬼怪的身影,以人为食,且没有天敌的鬼自此势力日渐壮大,自此世间魔影纵横,怨灵交错,生灵涂炭。 在与鬼怪的战斗中,他们的体内拥有神创造人时留下的一丝神性,借此窥得天机,修得包罗万象的魂和神秘莫测的咒语,驱邪除魔、斩妖灭怪,他们自称阴阳师。 此后,鬼怪回到鬼界,阴阳师居于阴阳界,世界的秩序得以平衡。 千年后,阴阳界现任四位府主反叛,夺走可以压制鬼怪力量的《百鬼夜行》。为了拿回这本书,阴阳师踏上鬼界……咸鱼舰长董墨轩意外身亡后来到了崩坏世界,原本想继续自己舰长职责的他却发现自己成为了一名死士。 所以,董墨轩决定………… 我不做人了,女武神们! 我要成为死士王君临天下! 然后………… “哦,是吗?” 看着拿着枪顶着自己女孩,董墨轩不屑的表示………… 不要杀我,我真的是好死士啊啊啊啊啊!!!
智能起源 剑指神明 于乐不太成功的自传 繁华再现一一万物皇第三季 我靠读书成圣人 如果我能做神仙 万世归来 不思乐园 留守儿童之阿礼 穿越秦朝之始皇是我兄弟 苍生无极 魔法师的异界 系统之诸界联盟日记 变异之吞噬之主 无尽序列 战歌擂 高武:开局卖锅碗瓢盆 我在异世界的修仙传 万古第一神 三帝行 虚拟与现实英语作文 语文作文该不该收费 生命教育主题作文 95 06四级作文 虚拟与现实英语作文 来之不易的+作文 生命教育主题作文 作文。你。与众不同 历年cet6作文题 教育和成功英语作文 观春晚有感 作文 最没意思的春晚作文 作文~关于一件事 语文作文该不该收费 大一英语必考作文 95 06四级作文 作文信念300字 历年cet6作文题 作文感动的加评语 托福作文要写标题吗 语文作文该不该收费 父母榜样英文作文 提高自己 英语作文 医学相关英语作文 失败弊端英文作文 作文~关于一件事 历年cet6作文题 提高自己 英语作文 作文感动的加评语 历年cet6作文题 95 06四级作文 翻译和作文128 好开头好结尾作文 大一英语必考作文 中国汉语文化作文 95 06四级作文 好开头好结尾作文 生命教育主题作文 作文~关于一件事 父母榜样英文作文 大一英语邮件作文 教育和成功英语作文 幼时记趣作文给尾 作文信念300字 医学相关英语作文 语文作文该不该收费 最没意思的春晚作文 大一英语邮件作文 作文~关于一件事 六年级寒假作文布置 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 大秦:这捕快能处,有事他真上! 全民御兽:我无限修改血脉 天下第一炼器师 重生,校园时代 东京热战纪 百度 百度 百度 百度 百度 作文:那一次我没有 作文信念300字 六年级寒假作文布置 翻译和作文128 中国汉语文化作文 大一英语必考作文 生命教育主题作文 失败弊端英文作文 翻译和作文128 提高自己 英语作文 失败弊端英文作文 小学作文+开学见闻 《周六见闻》作文 小学作文+开学见闻 好开头好结尾作文 六年级寒假作文布置 历年cet6作文题 作文~关于一件事 中国汉语文化作文 最没意思的春晚作文 高考作文判分标准 最没意思的春晚作文 作文~关于一件事 《周六见闻》作文 最没意思的春晚作文 失败弊端英文作文 机械工程英语作文 托福作文要写标题吗 语文作文该不该收费 托福作文要写标题吗 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网