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"
2916年猴年邮票大版邮票有几张最新重庆邮票市场1987年苏联宇航邮票面值2分邮票价值南海观音邮票2916年猴年邮票大版邮票有几张1974 t2邮票1987年苏联宇航邮票京津冀邮票原地2017年邮票贬值邮票回收价格表20172916年猴年邮票大版邮票有几张邮票跟股票的区别邮票回收价格表20171987年苏联宇航邮票2017年邮票贬值新中国发行几套高校校庆纪念邮票生肖邮票的图画生肖邮票的图画京津冀邮票首日封刘志丹邮票价格2017邮票丝绸小版京津冀邮票详解假邮票寄包裹北京南海观音邮票大版邮票一共多少张面值2分邮票价值2014年11月15邮票行情京津冀邮票首日封邮票跟股票的区别当家族中人与救命恩人都死在自己的面前,我第一次发觉自己的无能 我不是圣人,做不到善良;我也不是恶人,做不到杀戮。 但我明白一个词,杀人偿命。 君子报仇,十年不晚,你们做好被复仇的准备了吗? 什么是教育,当前的教育存在那些痛点,当代大学生又该如何实现自己的教育抱负,且看林苍松是怎么做的…… 谁说选择教师,就是选择清贫。 谁说嫁人不嫁教书匠。 只要你有足够才华,有超凡的实力。 教师也可以做到数钱数到手抽筋。 也可以坐拥香车宝马,身边美女如云。 试看林苍松如何一步步走向事业人生的巅峰....... 陪朱棣走过最艰难的一段路。 这是个赘婿奋斗在乱世的故事。简介:穿越平行世界,许聪收获了一个可爱的女儿。 可还没等到好好疼爱,女儿就被逼捐,被体罚。一怒之下,拥有系统的许聪,叫来了娱乐圈的一位天皇巨星! “敢欺负许先生的女儿,你这辈子就生活在阴影中吧!” 从此,许聪一边和小姨子带娃,一边靠着系统,在娱乐圈迅速崛起。 歌后,影帝,顶流,想得到我的指点帮助,成为我的门徒?先问问我乖女儿再说! 宣传、策划、投资,想开会和我商量一下?等着,没时间,没看我正陪女儿看喜洋洋呢吗? 乖女儿,来,亲一个!mua!本平平无奇,却又历经无数灾变与机缘,只因大道天选。力战仙魔,背后却仍是危机,他,能否护住这世界?天外有天,人外有人,当他立于灵武大陆最尖端时,才晓得,更大的世界在这片湛蓝天空之外……这是一个世界~沉眠三载,不知岁月流江。 废材?不是,是天才! 帝脉天赐,指天斥神张扬。 废体?不是,是神体!天下为敌,为伊孤战八方。 男人的尊严,需自己找回!武逆修神,古今天地至上。 神体开启,不生即死!一朝成神,纵横万载无双! 以异晶淬气,以精魄炼体!天笑我,我笑天! 神体大成,碎灭乾坤!武徒--武者--武师--大武师--武灵--武宗--武尊--武王--武皇--武圣--武帝---------------------------------------【轻松爽文,热血,扮猪吃虎。】虾米个人微信公众号有免费番外可以阅读,zhishixiaoxiami,只是小虾米拼音。他本是一介俗人,在命运的戏弄,世人的险恶下,渐渐的成为了那个为利为长生不顾一切的人。普普通通男大学生路诚,在去支援试图表白的兄弟的路上,脚一滑穿越到了异世界。回不去的他从消沉中振作起来,竟走上了问鼎大陆最强的道路……缤纷多彩的异世界大陆,千奇百怪的宝物,形形色色的人物,和神秘的“她”……江明市民间一线香传人凌冬,在两年前遇到离奇死亡案件。两年后,江明市又发生了同样的特殊案件,江明市公安厅为了调查案件成立了特殊行动小组第七行动小组。江明公安因凌冬在此案件中有重要作用特力荐其加入专案组。顶级刑侦专家孟子仕出任组长,优秀法医夏帆月,优秀刑警付安良,顶级黑客林彬。一桩桩骇人听闻的案子诡异来袭,玉米地失踪案件,清明扫墓失踪案件,女老师支教失踪案件······江明市各路奇人齐聚特案组,为拨开迷雾,寻找真相,挖掘出隐藏在特殊失踪案件后的险恶人心。莫名其妙的姐姐若隐若现,关于师傅的死亡真相支离破碎的一点点出现,凌冬能否在行动小组兄弟的帮助下解开两年前的真相。
赏金异闻录 鲜为人知的的历史趣事 新化道有情 普普通通的灵气复苏时代 山河弃 登神之罪 若世:星启混沌 妖孽王二狗 兴安岭日记一卷 唐沉记 呼喊 蜀山仙记 江南名片,片片有名 践道风云录 都市神医奶爸 魂咒孽缘 胜天半子之雄霸天下 我们想说的话 青莲剑心传 我们一起闯荡的日子 封神:我纣王赶尸,被女娲曝光了 关于年年有鱼的新年邮票 2017年邮票贬值 新中国发行几套高校校庆纪念邮票 生肖邮票的图画 关于年年有鱼的新年邮票 2016年的新出邮票大全 第27届亚洲邮展邮票 金斑喙凤蝶邮票多少钱 大版邮票一共多少张 邮票跟股票的区别 京津冀邮票详解 京津冀邮票详解 假邮票寄包裹北京 2017年邮票贬值 1997年中国旅游年邮票多少钱 南海观音邮票 京津冀邮票哪里买 大版邮票一共多少张 刘志丹邮票价格 2916年猴年邮票大版邮票有几张 北京奥运会的五福娃邮票价格 1987年苏联宇航邮票 最新重庆邮票市场 2017邮票丝绸小版 金斑喙凤蝶邮票多少钱 假邮票寄包裹北京 大版邮票一共多少张 最新重庆邮票市场 刘志丹邮票价格 大版邮票一共多少张 生肖邮票的图画 北京奥运会的五福娃邮票价格 面值2分邮票价值 2916年猴年邮票大版邮票有几张 假邮票寄包裹北京 南海观音邮票 十二生肖儿童邮票设计 第27届亚洲邮展邮票 假邮票寄包裹北京 十二生肖儿童邮票设计 南海观音邮票 邮票的小知识 京津冀邮票首日封 京津冀邮票哪里买 邮票回收价格表2017 北京奥运会的五福娃邮票价格 京津冀邮票详解 面值2分邮票价值 京津冀协同发展邮票册 1974 t2邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 宠物店主不想拯救世界 星际混乱 都市无敌修真 末日前我把恶魔少女带回家 重生之潜龙在渊 亚星官网 万利官网 欧博官网 亚星官网 AG真人 邮票跟股票的区别 1987年苏联宇航邮票 邮票的来历和作用 最新重庆邮票市场 新中国发行几套高校校庆纪念邮票 邮票的来历和作用 假邮票寄包裹北京 1974 t2邮票 京津冀邮票哪里买 2014年11月15邮票行情 京津冀邮票详解 邮票回收价格表2017 刘志丹邮票价格 邮票回收价格表2017 1987年苏联宇航邮票 北京奥运会的五福娃邮票价格 关于年年有鱼的新年邮票 邮票的小知识 大版邮票一共多少张 1987年苏联宇航邮票 2014年11月15邮票行情 大版邮票一共多少张 2017邮票丝绸小版 2016年的新出邮票大全 京津冀协同发展邮票册 生肖邮票的图画 京津冀邮票首日封 京津冀邮票哪里买 2916年猴年邮票大版邮票有几张 京津冀邮票哪里买