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"
物品头像沉默头像女生带音符粉红色衬衫卡通头像女生头像女生头像女生头像女生头像逗比头像卡通小黄人运动款女生头像物品头像沉默亲侣头像动漫粉红色衬衫卡通头像女生头像女生头像女生头像女生头像冷酷女生古风头像可爱的小孩头像戴帽子史迪奇头像男生物品头像沉默qq情侣头像一女史迪奇头像男生粉红色衬衫卡通头像女生头像女生头像女生头像女生头像可爱的小孩头像戴帽子男生头像霸气遮脸带帽子的男生转身头像带帽子的男生转身头像高清欧美忧伤男头像美女头像证件照带帽子的男生转身头像冷酷女生古风头像四班霸气头像运动款女生头像吸烟的帅气图片头像逗比头像卡通小黄人两张手机情侣头像一男一女微信头像秋天风景街道qq情侣头像一女在历经无数生死之后,那最终迎来的一切只是开始,历史似乎一直在轮回中。晏珩衍因为一场穿越意外到了异世界,并在那里结识了一位自称为洛半仙的算命先生,虽然他一直以洛半仙自称,但其实就是个十几岁的小孩子,没想到的是他居然是一个绝世高手!世界变了模样,我既然有了这样的能力,那就让我试试吧......这个世界四方各有一处释放真气之地,分别被四族占领,万年前四族大战,人族最终获胜,将三族真气封印,后又建龙脉于中原,吸收四族真气,使其他三族永无翻身之日。万年后,人族中各个帮派、教门林立,世界各处更是异象频现。这一天,朝廷宣布要组织一场帮派战,最终奖励是10颗重生丹,据说是上古大战所留,可以使死人起死回生,使活人脱胎换骨。江湖上各个帮派、教门摩拳擦掌,跃跃欲试。与此同时,江湖上一个新的帮派“天下第一帮”已经悄然崛起。这到底是一场机遇还是一个阴谋?两炎黄子孙。 网吧猝死。 魂穿神狼。 身负系统。 一者升级系统。 一者万能系统。 原是铁哥们。 今成双父子。 一为帝。 一为帝他爹。 帝坑爹变强。 爹纳妃三千无敌。 二人相坑相杀。 面对强敌。 哪怕万级大佬。 莫慌。 有爹在。 都是阿猫阿狗。 本书有些无厘头,偏搞笑。 开车~ 你懂的。 还不懂? 给你个表情自己体会。 ヽ(爱′?‘爱)ノ 悠邃的宇宙深空中,埋藏着数之不尽的惊天密藏和骇人秘闻。 自古老深渊中苏醒的机械种族,自太阳中归来的战斗民族,他们从沉眠中苏醒意欲何为? 栖息在岁月长河上的吞星巨兽,能够实现一切愿望的许愿之龙,它们为何要借他人之手才能苟活于世? 黄金时代的诡异覆灭,光与暗横跨亿万载岁月的斗争角逐,究竟是谁在暗中推波助澜? 这一切的谜题……都和连冲没有半毛钱关系,此刻的他,只想知道是谁掏空了他的冰箱,还吃光了他半年份的口粮!!! ———— 本书为高武世界,机械飞升、异能化神、修真成仙、魔法证道……诸方大道皆可成神! 我出生那天,父母上吊自杀,村里人想要拿我祭河神。 洪水围而不退,爷爷将我丢进河里,九龙拖着我回来。 我的命是爷爷给的,爷爷留给我的姻缘和造化,居然有人妄图染指。 人性的丑陋、欲望的贪婪、索命的黄泉。 为了活下去,我必须要完成我的使命!羽辰,无意间把自己的名字替换成了小王爷。 他穿越了,变成了自己笔下最“弱鸡”的小王爷。 醒不来就在自己的小说中痛痛快快地快活一把:我要逆天改命。 成为绝世高手,迎娶女神,手握重兵,富可敌国。 我的小说我做主……三岁觉醒记忆,五岁入宗门踏入修行,在一次执行宗门任务中,一不小心暴露了宝器,导致被同门师兄惦记上,从此他踏上了流浪的旅途一桩桩的劫案,传说中的凶地,是谁揭开它们的面纱?
噩梦之主 繁华的守护者 道灵纪 璃水的雪 大明塞北王 一切从新婚夜开始 洪荒:开局通天偷看我日记,自废圣位 末世之吾乃上将潘风 寒武纪元突变 万灵之域 我的系统被世界截胡了 恐怖游戏:我是鬼屋NPC 烬盛理想 洪荒:开局变成大道 天下第一帮 DG时代 幽异之王 诡秘降临:大威天龙,开局融合法海 玄幻:我养的宠物都成神了 潮起之时 jinmuqq头像 带浩然头像 男生头像霸气遮脸 带帽子的男生转身头像 jinmuqq头像 朦胧美头像动漫 有意境古风人物图片女生头像女生 龙猫动态可爱头像 吸烟的帅气图片头像 qq情侣头像一女 冷酷女生古风头像 冷酷女生古风头像 四班霸气头像 可爱的小孩头像戴帽子 谁有六人闺蜜头像 运动款女生头像 有意境古风人物图片女生头像女生 吸烟的帅气图片头像 美女头像证件照 物品头像沉默 带浩然头像 粉红色衬衫卡通头像女生头像女生头像女生头像女生头像 头像女生带音符 粉红色衬衫卡通头像女生头像女生头像女生 龙猫动态可爱头像 四班霸气头像 吸烟的帅气图片头像 头像女生带音符 美女头像证件照 吸烟的帅气图片头像 带帽子的男生转身头像 带浩然头像 逗比头像卡通小黄人 物品头像沉默 四班霸气头像 运动款女生头像 萌系小孩qq情侣头像一对大全 有意境古风人物图片女生头像女生 四班霸气头像 萌系小孩qq情侣头像一对大全 运动款女生头像 霸气的头像戴帽子和眼镜 高清欧美忧伤男头像 霸气古代男生头像图片 粉红色衬衫卡通头像女生头像女生头像女生 带浩然头像 冷酷女生古风头像 逗比头像卡通小黄人 微信头像秋天风景街道 亲侣头像动漫 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 弑神之六界灭亡 一几狂潮 大道法则录 前传:血色月镰 龙盅风云 亚星官网 欧博游戏官网 欧博官网 万利游戏官网 欧博官网 逗比头像卡通小黄人 男生头像霸气遮脸 朦胧美头像动漫 霸气古代男生头像图片 男生头像霸气遮脸 谁有六人闺蜜头像 霸气古代男生头像图片 美女头像证件照 高清欧美忧伤男头像 美女头像证件照 龙猫动态可爱头像 吸烟的帅气图片头像 龙猫动态可爱头像 运动款女生头像 霸气的头像戴帽子和眼镜 两张手机情侣头像一男一女 亲侣头像动漫 四班霸气头像 运动款女生头像 高清欧美忧伤男头像 四班霸气头像 可爱的小孩头像戴帽子 微信头像秋天风景街道 物品头像沉默 带浩然头像 粉红色衬衫卡通头像女生头像女生头像女生头像女生头像 美女头像证件照 逗比头像卡通小黄人 美女头像证件照 亲侣头像动漫