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"
处女好痛小说校园尸鬼王+直白白+小说凌笑异世 哈哈大狼 小说三国曹操+巴司+小说解放军演义小说 迅雷下载处女好痛小说?w鲁滨逊漂流记 是什么小说凌笑异世 哈哈大狼 小说尸语者 有声小说婆娑罗+小说小迷糊的意外爱人 沐榆 小说处女好痛小说古物小说人体盛小说凌笑异世 哈哈大狼 小说婆娑罗+小说搜神记 小说 末日诗人夫妻小说 婚姻夫妻小说 婚姻高中+英文小说柯南消失的言情小说家 漫画夫妻小说 婚姻尸语者 有声小说斗界天尊 一时 小说解放军演义小说 迅雷下载二道贩子的崛起+木允锋+小说三国曹操+巴司+小说小说南唐阿姨 我爱你小说古物小说 末世纪元,丧尸危机爆发,大地生灵涂炭,人类逐渐走向灭亡……… 而白羽泽却带着死前记忆重回危机爆发前一个月。 “迷茫之中,该何去何从?” 规划、防守、武器订购、受难者基地崛起…… 危机面前,是生,还是死? 历史给予我新生,我必将改写历史! 在此,请见证,新时代的到来………… 【元宇宙 爽文 快节奏 老作者 稳定更新】 精灵世界即将以游戏的形式降临世界,震惊全球! 而在游戏上线的一周前,顶级玩家云晓重生归来,通过系统获得提前登录游戏的资格! 前世的遗憾、遭遇的背叛...他都将在这一世全部改写! 炎海——融天大陆的一片火海。 传说炎海共分九层,分别由赤、橙、黄、绿、青、蓝、紫、黑、白九色火焰组成,如果能渡过九层海,便可成仙成圣。 居住在融天大陆的人们为了渡过炎海,男人们几乎全都修炼“烈阳灵气”,而女人们了全部修炼“寒霜灵气”,千百年来,人们对探索炎海趋之若鹜,到底炎海的尽头是什么?谁又能征服炎海呢? 亲爱的读者,让我们一起开启穿越炎海的奇幻之旅吧。 本故事纯属虚构!欢迎大家提出宝贵意见! 紫金大陆,李文浩,由于母亲是婢女出身,从小被大房欺辱,养成了他坚毅果敢的性格,在一次采药途中巧合救下了一名炼药师,从此开始了不一样的人生,开启了追逐紫金巅峰之旅途……主角叶无遭遇意外后转生到一颗类似地球的地方,结果在十八年后又阴差阳错的穿越到修仙大陆,看他能否在这里结识好友,打破阴谋,得道成仙……一言定生死,一语变乾坤。上世纪末,在一个雷暴天气里,三个越狱犯企图趁夜越狱,当他们冲进墙边的一座小房子里,突然闯进来一帮鬼子兵,举起手中的“38大盖”,就向他们作疯狂的扫射...... 23年后,当国内的一流侦探侦破了此案,在地下挖出了三具尸骸后,这座监狱妖舞鬼唱的潘多拉魔盒也随之打开了。且看这位名侦探,是如何运用他娴熟的侦探技能,抽茧剥笋层层推理,将这一起起旷世奇案大白于天下的......从大城市匆匆赶回故乡阴石镇的陈斌想要看望重病的哥哥,却不想在镇子上见识到了人所无法理解的光怪陆离的故事,而一切都要从一封死人所写的幽灵家书说起...... 幽灵家书、复活的死人、融化的尸体、矿难..... 在阴石镇陈斌还能遇到什么?五代十国,乱世风云,后周显德年间,佛劫降世,佛门高僧入世消劫,引发了诸多江湖儿女的家国情仇,为天下太平演绎岀荡气回肠的传奇故事……   寂寂夜空孤月寒,十七年离别茫茫。一念执真,南风绿依,盛颜银发证衷肠。   最是有情“负情蛊”,三年生离道心初。剑啸弦荡,逍遥慕云,一念倾情一生终。   啸引苍波,漫卷山河,心志难酬朱颜改。孤情骄阳,若玉独镜,小楼空照人何在?   日月无改江山裂,金戈铁马雁泣血。渊鱼更龙,世宗执戟,风起云涌荡山岳……   一缕清风,人间太平吹拂…… “可以麻烦你当一下勇者吗?” 浩杰,现代社会的普通男高中生,莫名其妙的被送到了充满魔法的异世界,还被要求当勇者。 “不是,我一不会打架,二不懂魔法。你让我当勇者?” “船到桥头自然直嘛。” 于是,浩杰的勇者之路就这么莫名其妙的开始了。 可喜可贺,可喜可贺......
圣临九天 风暴战纪 网游:风入神州 枪挑万古之无脖传 纪元之花 灵笼之怪物猎人 在异世界修仙的那些日子 极品医神狂婿 侠道山河 星神战天记 我有一台超级机床 带着各种修改器穿越 神下斩龙坡 血行歌 奈何桥畔之彼岸花 古无 万噬龙皇 被系统诅咒以后,我玩得更花了 不灭天星 篮坛教父:开局执教大姚夺冠 惊悚乐园 有声小说 上古神话 悬疑小说 搜神记 小说 末日诗人 夫妻小说 婚姻 惊悚乐园 有声小说 极限进化 孤琅 小说 美色时代 聚灵珠 小说 圣斗士之萌星闪闪 九千岁添千岁 小说 二道贩子的崛起+木允锋+小说 古物小说 尸语者 有声小说 小说狙击手 迅雷下载 斗界天尊 一时 小说 婆娑罗+小说 厌男症小说 解放军演义小说 迅雷下载 美色时代 聚灵珠 小说 二道贩子的崛起+木允锋+小说 柯南消失的言情小说家 漫画 处女好痛小说 上古神话 悬疑小说 凌笑异世 哈哈大狼 小说 校园尸鬼王+直白白+小说 人体盛小说 婆娑罗+小说 斗界天尊 一时 小说 二道贩子的崛起+木允锋+小说 校园尸鬼王+直白白+小说 柯南消失的言情小说家 漫画 二道贩子的崛起+木允锋+小说 解放军演义小说 迅雷下载 上古神话 悬疑小说 三国曹操+巴司+小说 处女好痛小说 小说南唐 解放军演义小说 迅雷下载 碧落黄泉小说 叫什么璃的 美色时代 聚灵珠 小说 斗界天尊 一时 小说 碧落黄泉小说 叫什么璃的 解放军演义小说 迅雷下载 治愈系小说 写作 高中+英文小说 小说狙击手 迅雷下载 人体盛小说 上古神话 悬疑小说 尸语者 有声小说 三国曹操+巴司+小说 阿姨 我爱你小说 ?w鲁滨逊漂流记 是什么小说 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 云定弦 从奴隶开始的征服王系统 幻灭星路 全球轮回从生化危机开始 房产四季 皇冠登3出租 澳门葡京游戏官网 澳门葡京官网 皇冠登3出租 亚星官网 很老的 法师小说 惊悚乐园 有声小说 搜神记 小说 末日诗人 ?w鲁滨逊漂流记 是什么小说 阿姨 我爱你小说 搜神记 小说 末日诗人 尸语者 有声小说 斗界天尊 一时 小说 小孽小说 上古神话 悬疑小说 校园尸鬼王+直白白+小说 上古神话 悬疑小说 碧落黄泉小说 叫什么璃的 婆娑罗+小说 二道贩子的崛起+木允锋+小说 古物小说 极限进化 孤琅 小说 碧落黄泉小说 叫什么璃的 斗界天尊 一时 小说 极限进化 孤琅 小说 小迷糊的意外爱人 沐榆 小说 小说南唐 高中+英文小说 人体盛小说 厌男症小说 尸语者 有声小说 凌笑异世 哈哈大狼 小说 尸语者 有声小说 古物小说 小孽小说