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"
如何把孩子培养成快乐成功和有爱心的人的英语作文作文大全350字人状物动物的作文作文写小动物300足球赛作文英语如何把孩子培养成快乐成功和有爱心的人的英语作文总结初一的作文400字状物动物的作文作文以感恩为主题的作文题目作文:一个( )的人450字作文开头结尾10字左右状物动物的作文自己喜欢的动物作文300作文开头结尾10字左右作文 神奇的一作文:一个( )的人450字作文的描写手法作文500字毕业初中生足球赛作文英语第一次当班干部作文450个字咨询信英语作文模板句作文500字毕业初中生作文以感恩为主题的作文题目作文美丽的黑龙洞最近感人的事情作文300字作文读后感350字左右最近感人的事情作文300字作文美丽的黑龙洞第一次当班干部作文450个字关注作文当白不凡走进凶宅的那一刻起他怎么也想不到这个世界如此复杂! 他真没想当这个冒牌的猎妖师,真没想……一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心重回大唐贞观年间,来到了文昌武盛,民族自豪感最强的朝代,看李桂豫如何让大唐变得更强大。人到三五,一事无成的福川。总是把各种问题归咎于自然。生活各种不顺以及中年危机的即将到来,让他越发暴躁。 这天他与妻子离婚后,夜晚便与一群狐朋狗友,伶仃大醉。借着火酒劲以及不顾朋友的劝阻,他执意醉酒开着他的破捷达。 酒后开着的车总是摇晃不定,有惊无险。不知开了多久,借着月光与昏暗的车灯来到了一处田埂与山间的小路。 懒得开导航的他也就这么一直顺着这条路一直走,不管对与不对,他都就这么一直开着。 直至有道幻音传入他耳中,这声音告诉他,如果想改变现在的状况,就朝着这条路一直走。 不知是酒精的原因胆子大,或者是他此时脑袋一时想不开。便真的按着这声音的一直往这条路深处开去… 叶峰穿越到特种兵世界,因为是关系户不受待见,被派去当垃圾新兵连队的连长! 仅用三个月时间,就将这垃圾连队打造成了堪比特种部队的特战连! 团长:让你随便练练这些新兵,特么你全给我练成特种兵了? 狼牙:到底谁才是特种部队啊? 范天雷:求求你带着你的兵全部加入我狼牙吧! 何晨光:这辈子我墙都不服,就服叶教官! 冷锋:我才不加入战狼,我要降级去叶峰的野战部队! 从铁拳团新兵连开始,叶峰打造一支又一支可怕的幽灵部队,名扬全军。 传奇,从此开始!“任何人任何事都不能阻止我开荒种田”,“毁我田地者虽远必诛”,“坏我收成者挫骨扬灰”——聂歌。 这是一个充满灵气的世界,人、妖、海兽共存于世,同时在山的那边海的那边存在神秘的“十灾”。 打工人聂歌于偶然之间来到这方世界开启了开荒种田系统。 四菜一汤、火箭大炮、仙丹功法、绝世神兵…… 只有想不到没有种不出,地有多大产人有多大胆。没“粮”我唯唯诺诺,有“粮”我重拳出击。 于霜:我要成为一代女帝平定妖乱、开疆拓土。 刘梦亮:我要天下无敌解开十灾之谜。 聂歌:嘿,我就想安静种地,躺平当咸鱼。 …… 谁能左拥天下,右抱爱情,笑看风云数千载?太阳神?佛祖?朱雀?光神?青龙?水神?玄武?白虎?谁主宰风云数千载!之前重生99次,叶凡都被系统因为各种原因坑死了。 这一世他想只想做一条躺平的咸鱼,让修炼见鬼去吧! 于是,系统含泪帮叶凡签到,极品灵宠却差点被叶凡端上饭桌; 极品功法被叶凡拿去垫了桌子腿; 绝世神兵成了新的烧火棍! 【警告!宿主即将遭受毁灭性打击!】 【警告!唉算了,启动自动反击程序……】 系统:宿主,你就不能假装修炼一下吗? 重生到了弱肉强食的修真世界。 资质太差,无法修仙,成了方家废柴。 强者为尊的时代,家族繁荣如同薄纸,触碰即破! 于是,不甘沦为废柴的方休,在古书中寻到修仙之法,成为灵修者。 上一世,是和谐社会救了那些作恶的人。这一世,我修仙成道,举全身之力,灭掉所有不公和压迫! 古往今来,世间流传仙、神的传说,而时至今日,仙路缈缈,已然进入末法时代。 天空中,有人矗立,乌云压顶、身处雷电中心;海面上,有人漫步而来,由远及近,片刻却又消失不见,这些是海市蜃楼产生的幻觉? 有传言,海市蜃楼是连接另一时空的桥梁,聚现另一个世界正在发生的景象! 神话故事是否虚构,仙、神,真的存在过吗?
妙手小野医 魔女大人新世界冒险中 万相之仙 云间的梦 女帝太监真风流 天的审判者 圣龙传之关中诡事记 雁北 卍生界 一首告别地球,全场笑喷 真仙人 音乐道士 幻影武道 全职法师中的悠闲生活 神行启示录 一代狂龙 桃源十三灾 祖龙之世 我搅动了港城风云 此剑名为无天 作文外貌描写的好句子大全 作文:世界微尘里 作文的描写手法 足球赛作文英语 作文大全350字人 作文开头排比优美句子 作文的描写手法 作文的新颖性 作文读后感350字左右 自己喜欢的动物作文300 作文评分标准中学 作文评分标准中学 作文议论文开头 作文:世界微尘里 如何把孩子培养成快乐成功和有爱心的人的英语作文 足球赛作文英语 作文开头美句 作文外貌描写的好句子大全 作文《老师教育学生》 状物动物的作文 作文:世界微尘里 状物动物的作文 作文《老师教育学生》 作文500字毕业初中生 作文:一个( )的人450字 作文议论文开头 作文外貌描写的好句子大全 作文大全350字人 作文《老师教育学生》 作文读后感350字左右 足球赛作文英语 作文中唯美的句子 作文写小动物300 如何把孩子培养成快乐成功和有爱心的人的英语作文 作文美丽的黑龙洞 最近感人的事情作文300字 作文写小动物300 作文的描写手法 作文美丽的黑龙洞 作文 神奇的一 最近感人的事情作文300字 作文的新颖性 作文美丽瞬间套小标题 作文开头美句 作文开头结尾10字左右 作文中唯美的句子 作文评分标准中学 最近感人的事情作文300字 作文议论文开头 作文大全老师 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 诸天映上 不能重来服务公司 南斗伏妖录 火影魂穿鸣人平凡的一生 全民领主:我的领地能无限进化 欧博官网 亚星游戏官网 万利游戏官网 欧博官网 澳门葡京游戏官网 作文:世界微尘里 作文:世界微尘里 作文大全老师 作文的描写手法 作文的新颖性 关注作文 作文:世界微尘里 作文以感恩为主题的作文题目 作文读后感350字左右 足球赛作文英语 作文的新颖性 状物动物的作文 作文开头结尾10字左右 作文议论文开头 关注作文 最近感人的事情作文300字 咨询信英语作文模板句 咨询信英语作文模板句 作文开头结尾10字左右 作文开头结尾10字左右 作文写小动物300 自己喜欢的动物作文300 作文中唯美的句子 作文评分标准中学 作文大全老师 最近感人的事情作文300字 作文:一个( )的人450字 作文大全350字人 作文500字毕业初中生 作文以感恩为主题的作文题目