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"
《好玩才好》作文__好温暖作文800字__越来越近作文___让我如此美丽 作文__就在我身边作文《好玩才好》作文“我对英语四级的看法”英语作文__越来越近作文__留在记忆深处初三作文“游衡阳记”的作文?的作文3OO《好玩才好》作文~也是一种美作文六百字。。。又何妨作文__越来越近作文“游衡阳记”的作文“喜欢”为题作文700字________ 对我的影响作文600________ 对我的影响作文600《抗日战争》作文怎么写?“喜羊与灰太狼”-英语作文________ 对我的影响作文600__留在记忆深处初三作文《穷人》续写3000字作文__就在我身边作文[想象作文】爱心小天使500字作文-哈尔滨巨人教育官网___让我如此美丽 作文“e”生活 作文()号像()作文400字~也是一种美作文六百字神州大陆。 修行者追求武道,修武者炼气,诸如战士、剑士等,修道者炼术,有道师、炼丹师、炼器师等诸多职业之分,且道师又分多系,当然也有天赋异禀者武道双修。 一个边陲宗门走出的少年,从残玉中重获修炼能力开始,一路高歌猛进,打造一片属于自己的天下…… 要想世间再无遗憾事,便把苍穹握手中! 我陈剑要当这诸天的大帝! 诶,等等...... ...... 为了验证方才那一拳不仅仅是意外,陈剑一跃下床,找到与师兄只有一巷相隔的墙壁。 提气发力,一拳轰出。 下一刻。 轰鸣声再响,墙壁再一次被轰出了一个大洞,但这一次还未等陈剑咽下干燥的口舌,邻边那间房子里就传来了一声破口大骂声。 “大晚上了,鼓捣你奶奶啊,明天不用干活吗?啊!” 陈剑缩了缩脖子,才发现已经是夜深人静时刻,圣人之言:打扰他人睡觉等于谋财害命,他不敢再去尝试。叶帆重生在元宇宙刚刚开始的时候。 没有人比他更加清楚元宇宙到底是一个什么样的东西。 这是一个地球文明与高级文明联网的时代。 这是一个地球变异、人类接受各种全新科技、基因突变、生命进化的时代。 这是一个充满了机遇与挑战的时代。 前世的叶帆只能仰望强者,在卑微中走向死亡。 这一世,叶帆要向生命的终极进化迈进!描写人与人之间,微妙的关系东晋末年,英雄与大能的崛起,小人与叛徒的滋生一群“正义之士”在征服各次元的故事。逃到地球的陆源被人追杀,他不想就这么陨落,他要稳健,要苟住发育。 但是……他那便宜老婆家事有点多。 有人死的时候,把他们一家都托付给了陆源,他不喜欢麻烦,决定横推过去。宇宙浩瀚无穷,凡人渺小似无。 命运无常,神魔亦如微尘,力有不及。 大道苍茫,九霄是何处?大坑村的傻子陈一鸣,偶然获得先祖传承,成为村里的神医,专治吹牛逼,还有各种疑难杂症,只是娇美村花要嫁给他,邻家小妹爱上他,城里的小姐也要倒追他,陈一鸣十分苦恼,他能制服全世界,却治不了自己的桃花源,怎么办,谁来解救?【灵异、悬疑、惊悚、探险、宠物、系统、游戏、搞笑】 废弃的别墅,消失的山村,黑暗的血楼…… 人头蜘蛛,红衣厉鬼,浑身是手的怪物…… 在这个深夜的恐怖世界里,王尊稳如老狗,遇人先问娘,杀鬼必扬灰,万事只求一个安稳! 别人还恐惧在诡异怪谈中时,王尊在惊悚游戏世界里杀疯了。一个任天堂粉丝在《英雄联盟》的世界里的奇妙历险。 可以转载,但不能乱改。
邪灵入侵:我有一身被动技 钟山战纪 元宇宙管理局 年过三十 逆袭修炼成仙 统宇之主 郭十二传 永上层 终极鬼舍 猎神之帝 复国计划 我有一剑,可破诸天 悚梦记 部落首领 仙人不长生 绑定系统,然后它溜了 重生九册 剑欲封尘 风语有经年 诸天副本:开局就是无敌潜力 ________我对你说 作文 _____路上洒满阳光作文 “喜欢”为题作文700字 ________ 对我的影响作文600 ________我对你说 作文 “2016寒假回湖南”的作文900字 05网英语作文 “找回 ”为题作文 [想象作文】爱心小天使500字作文-哈尔滨巨人教育官网 ~也是一种美作文六百字 __留在记忆深处初三作文 _____会_____作文 《穷人》续写3000字作文 “游衡阳记”的作文 _给了我_作文开头结尾 __就在我身边作文 05网英语作文 [想象作文】爱心小天使500字作文-哈尔滨巨人教育官网 “喜羊与灰太狼”-英语作文 《好玩才好》作文 _____路上洒满阳光作文 __越来越近作文 __好温暖作文800字 。。。又何妨作文 “游衡阳记”的作文 《穷人》续写3000字作文 [想象作文】爱心小天使500字作文-哈尔滨巨人教育官网 __好温暖作文800字 “喜羊与灰太狼”-英语作文 [想象作文】爱心小天使500字作文-哈尔滨巨人教育官网 __就在我身边作文 _____路上洒满阳光作文 ___让我如此美丽 作文 《好玩才好》作文 “e”生活 作文 __就在我身边作文 [作文]幸福的港湾 05网英语作文 《穷人》续写3000字作文 [作文]幸福的港湾 __就在我身边作文 ?关于早的作文 《抗日战争》作文怎么写? _____会_____作文 。。。又何妨作文 _____路上洒满阳光作文 __留在记忆深处初三作文 ___让我如此美丽 作文 ()号像()作文400字 “我对英语四级的看法”英语作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 穿越异世只想普通的活下去 忤道绝座 不对啊?明明没有这条街 重燃1990 后虚降新星 百度 百度 百度 百度 百度 __就在我身边作文 “喜欢”为题作文700字 __好温暖作文800字 [作文]幸福的港湾 _____会_____作文 ?的作文3OO [想象作文】爱心小天使500字作文-哈尔滨巨人教育官网 “我对英语四级的看法”英语作文 《好玩才好》作文 《好玩才好》作文 05网英语作文 _____会_____作文 “牛”人作文 ________我对你说 作文 __留在记忆深处初三作文 《抗日战争》作文怎么写? “e”生活 作文 。。。又何妨作文 “喜羊与灰太狼”-英语作文 [作文]幸福的港湾 _____路上洒满阳光作文 05网英语作文 __越来越近作文 ________我对你说 作文 05网英语作文 _____路上洒满阳光作文 ___让我如此美丽 作文 ___让我如此美丽 作文 _给了我_作文开头结尾 《好玩才好》作文 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网