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"
最美的花朵作文写人尊重的作文尊重的作文最美的花朵作文写人竹子的作文。主题是奇妙的作文最好的礼物初一作文最美的心灵作文200字最美的花朵作文写人最美丽的声音作文400字最美的瞬间 作文600字捉迷藏1年级作文最美的花朵作文写人最美的心灵作文700字中考作文名人素材100字自我介绍作文三年级最美的瞬间 作文600字最美是心灵作文600字尊敬老师作文五百字尊敬老师作文五百字周末计划 大学英语作文总分总小实验作文100字尊敬老师作文五百字最美丽的声音作文400字走在边缘作文主题是奇妙的作文总有一种 最温暖作文600字竹子的作文。走在边缘作文周末计划 大学英语作文最美的心灵作文700字世界有平行,道义有雷同。 “一樽浊酒,好生烈!”他畅怀一声后,猛然侧脸目视那股袭来之气,继而顺势抬起一脚,踢出了一道相迎的弧线。 顷刻间,两股力量碰撞出了一声脆响…… 冲击过后,这饮酒人腿间所束缚的一颗铜球,便脱身而落,滚到了身后的悬崖之下。 他不慌不忙,拍了拍方才被溅到身上的灰尘,又看了看手中被尘染的酒樽,庆幸地言道:“哼哼,尚好,酒已尽。” 而不远处也传来了另一个声音:“狂妄,峰有铁律,饮酒者惩。”少年张玄某一天偶获异能从此改变了他平凡的人生. 能够轻易撕裂敌人的利爪 一拳轰爆坦克的能量锤 自由翱翔在天空的滑翔 轻易摧毁飞机的鞭拳头 ...各种异能让他成就非凡! 让我们来看张玄如何收服众美女完美逆袭男屌丝林凡意外车祸,却不料穿越异界,还未来得及高兴自己重生再世为人。却从记忆里发现自己是一个落漠家族的长子,虽天赋异禀却在17岁遭人偷袭丹田破碎武魂无法凝聚。随着脑海中一道系统提示音响起,林凡便有了称霸异界,问鼎苍穹的意志。还在YY的林凡被系统强制接受任务,悲惨的升级之路,爽翻天的称霸之路,一路美女如云……一代修者熊宇穿入木星大陆的崛起历程......第三次世界大战后辐射扩散到宇宙各处,人类的基因发生了奇怪变化,就连地球也变了样。重生前,陈凡是赫赫有名的商业大佬。 重生后,陈凡是猫嫌狗厌的街头混混。 重生前,陈凡除了钱,一无所有。 重生后,陈凡除了没钱,还是啥也没有。哦,不对,多了一个老婆和孩子。 …… 站在1987年的街头,陈凡内心涌起万丈豪情。 在这猪站在风口上都能飞的年代,自己定要做出一番不一样的成绩来。 …… “陈老先生,请问您今生最大的成就是什么?” 1987,娇妻幼子,天下我有。——《陈凡传》【寂寞不谈爱,孤独不饮酒。】 女儿生日当天,我意外看到了妻子的手机,当谎言被揭穿的时候,我发现妻子真的很懂“生活。” 我! 和混沌神魔同过窗,吃过山海经所有菜品,见证过万世的繁荣兴盛的卜尔大人,蜗生最大的心愿,就是行善积德,力求早日功德圆满后,脱胎换壳立地成道。 现在你竟然和我说,想要安生过日子,避免和无数前辈天道一样,出现大道崩碎身死道消的下场,就得跟着天道之子的屁股后面收拾烂摊子? 呵呵哒,我!天道卜尔大人,天道之子我说是谁就是谁,我想咋管就咋管,威胁我,来呀,造孽呀!为了迎合他,我练手练了半年多,孩子和生病的老妈都没大照顾。没想到,他打勾级是那种打法。木易忿忿地说。她那双桃花眼里好像突然间水就蓄满了,随时都可能溢出来似的。 怎么个打法?水弯好奇地问。 无邪少女!木易用手轻轻点了一下水湾的额头,情绪也平静了少许,双眼里的蓄水也明显下降了很多。 秦虺听到木易的话,噗嗤,忍不住就笑了。他和岳一轮终于明白木易的同事怎么突然间就能李代桃僵,领先木易无数个身位,成了陈教授的博士生。天行健君子以自强不息,地势坤君子以厚德载物,本欲碌碌一生,奈何世事无常,是向前披荆斩棘,还是任人鱼肉,且看主角在红尘滚滚中如何取舍,亲情,友情,爱情 恩义,众生百态,如何面对,新世界如何创造,旧规则怎么修改,红尘路远,行者无疆 小说情节纯属虚构,如有雷同,请多谅解
神怒1 4号巴车 花之谜案 不死的城 大宋王朝那些事儿 菩提道祖 大夏之江湖风云 来自异度纪元的无尽幻想 金庸世界里的至尊无赖 超自然现象管理 统宇之主 不知道怎么起名,纯道理 音师 大宋必须浪 自由骑士金伟福 斗数之主 轮回玉梅林 浮生二三事 系统爆炸,我被冰封了百年 师弟你是真的苟 尊重生命作文高中800字 中秋节的作文400字初中 最美是心灵作文600字 主题是奇妙的作文 尊重生命作文高中800字 中学作文的教案 最美在心灵作文600字作文开头 自然生活作文800字 总有一种 最温暖作文600字 中心与边缘作文题目 最美丽的声音作文400字 最美的花朵记叙文作文 最新高考英语口头作文 中秋节的作文400字初中 最好的礼物初一作文 主题是奇妙的作文 最美在心灵作文600字作文开头 总有一种 最温暖作文600字 总分总小实验作文100字 最美的花朵作文写人 中秋节的作文400字初中 自我介绍作文三年级 尊重的作文尊重的作文 中考作文名人素材100字 最美的瞬间 作文600字 最新高考英语口头作文 总有一种 最温暖作文600字 尊重的作文尊重的作文 总分总小实验作文100字 总有一种 最温暖作文600字 主题是奇妙的作文 中秋节的作文400字初中 中考优秀作文450字 最好的礼物初一作文 走在边缘作文 主题是奇妙的作文 中考优秀作文450字 最美是心灵作文600字 最新高考英语口头作文 自我介绍作文三年级 竹子的作文。 中心与边缘作文题目 尊重生命作文800字道德 最美在心灵作文600字作文开头 中考作文名人素材100字 中秋节的作文400字初中 最美的花朵记叙文作文 竹子的作文。 最新高考英语口头作文 最美的心灵作文200字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 羡长生 艾特侦探所 道心人间 生灵世界甄选游戏 我们的太平湖 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 最美的瞬间 作文600字 尊重的作文尊重的作文 周末计划 大学英语作文 最美丽的声音作文400字 竹子的作文。 中学作文的教案 最美丽的声音作文400字 自然生活作文800字 尊敬老师作文五百字 尊敬老师作文五百字 自我介绍作文三年级 中考优秀作文450字 最好的礼物初一作文 最美的瞬间 作文600字 最美的心灵作文200字 走在边缘作文 最美的花朵作文写人 总分总小实验作文100字 最新高考英语口头作文 最美的花朵记叙文作文 中考优秀作文450字 总有一种 最温暖作文600字 最美的瞬间 作文600字 最美的瞬间 作文600字 最新高考英语口头作文 周末计划 大学英语作文 尊重生命作文高中800字 自我介绍作文三年级 尊重生命作文800字道德 中秋节的作文400字初中