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"
为什么春节后信用卡审核这慢?太平洋乐天玛特信用卡为什么春节后信用卡审核这慢?为什么信用卡一起办有快有慢未开卡的信用卡丢失淘宝&#039; 信用卡 违规停招商信用卡电话号码为什么申请建行信用卡这么慢同银行4张信用卡退回信用卡的钱怎么查透支信用卡案例为什么春节后信用卡审核这慢?退款能退到信用卡吗网店怎么开通信用卡为什么申请建行信用卡这么慢退回信用卡的钱怎么查通宝白领白金信用卡唯品会可以添加信用卡吗唯品会可以添加信用卡吗泰国信用卡推荐同银行4张信用卡吗唯品会可以添加信用卡吗同银行4张信用卡泰国取款免费的信用卡未开卡的信用卡丢失太原好多办信用卡送礼品的为什么信用卡一起办有快有慢泰国取款免费的信用卡泰国信用卡推荐退款能退到信用卡吗 自从1976年开始,长洲温岭国道公路的路段,事故频发,还发生了多次尚可未为人知的神秘事件! 1976年一对夫妻在温岭国道公路的路段,那是给发生了特别严重的9.9重大车祸之后,温岭国道公路的路段,那就开始收割人的生命了。 然后,那就是1979年,温岭小男孩事件,1981年,温岭公路建筑工人事件。1985年温岭公路救护车事件。还有1987年温岭大火灾事件,1990年温岭大卡车事件。 1993年的温岭公路隧道诡异人影事件,1996年温岭公路上吊事件。1998年,温岭跳涯事件,还有2002年温岭公路路段的大连环车祸。 2005年温岭老太婆死亡事件,2009年温岭灵异小轿车事件,2012年的温岭公路红棺材事件,2014年的温岭公路段的大树倒塌砸毁路过巴士事件。 2016年温岭拖拉机事件,2018年温岭小学生失踪事件,2019年,野外业余摄影爱好者拍摄到多组灵异照片事件。 本书那就一起带大家去解密温岭灵异事件吧!神圣再现,风云再起,旧时代未葬下的魔,就由我来终结。(作者是个小白,文笔不好!)高武世界,人妖并立,人族式微,人奸横行,比妖兽更可怕的是人心,且看小人物罗文辉在逆境中成长,杀皇证道,成就人族守护神的故事。 “穿越绑定说书人系统,一百年后我才知道,我居然就是我话本故事里的那个主角!” “敢情老子一直都在讲自己未来的命运!” 那些说过的情节,全都变成真的了…… 但是如果再给程夏一次机会,他……还会这么选择。 我们的故事,始于禹州的临安茶馆,终于苍茫天地之间。 新作者发书求支持! 有评论必爆更!奇风历二零二二年,叶玄青自青州出,秉着一颗光明剑心,踏上征途! 这是一个瑰丽而又充满未知的剑道世界,这是一个平凡少年成就绝世强者的传奇! 热血的对决,天才的竞争,七尺剑芒,千里直驱,君子白衣,纵剑天下!在一座高高嵩立的一座大厦上,一个青年,在上面孤立的站着!   看着大厦下面的车水马龙,灯红酒绿,“这景色真美,来这世间走一遭挺好,就是……下次不来了!”天灾降临,酷热干旱,洪涝灾害,极寒冰冻……无数的极端天气到来。 在天灾降临后一个月去世的李华重生回到了末世前。华夏诸天圣域的三公主张海燕,吩咐下属秘密研制了新一代铁人军铠甲。另一方面,人间一名落魄医学院大三学子黄子羡意外重生获得此神将铠甲的使用资格,在亲眼目睹自己前女友林文露被害的画面,励志一定要不惜一切代价找到真凶。同时在无意之中,因为自己的神将之力意外结识了对他一生帮助巨大的贵人夏菲菲,于是黄子羡和夏菲菲开始了新的人生。世界是被异常的嗜睡症击中,并出现大量人员昏迷。蔡苏宇陷入异常的嗜睡症,被转移到次元战场。亚斯是病毒,恶魔,是制造新冠病毒的元凶,为了对抗亚斯,以及不断变异的新冠病毒,自宇宙星辰之中,诞生出一位光之子,迪诺奥特曼。他是否能从病毒,恶魔手中拯救宇宙与地球?请敬请期待。
灵山有个人参娃 和平年代的风云激荡 我的玄幻模拟器 我竟然是女帝老婆的心魔 穿越带个男神系统 我爷爷是赵甲第 江湖深似海 黑色余火 理想世界之天地起源 三生石前世 快穿之填坑路上磕cp 虚面之影:主世界 雨灵轮回 jojo的奇妙冒险:花样年华 雄威!大唐无双 四颗丸子的未知世界 作者交流群基地 修行心依旧 乔乔的奇妙冒险:十字之魂 诡颂 太原超市刷浦发信用卡优惠吗 推荐人办信用卡不还怎么办 通宝白领白金信用卡 未开卡的信用卡丢失 太原超市刷浦发信用卡优惠吗 太原面对面代办信用卡 同事一起办信用卡额度却不同 退货需要信用卡吗 太原好多办信用卡送礼品的 退款能退到信用卡吗 同银行4张信用卡 同样的信用卡能办几张 泰国信用卡返现2017 推荐人办信用卡不还怎么办 淘宝&#039; 信用卡 违规 未开卡的信用卡丢失 同事一起办信用卡额度却不同 太原好多办信用卡送礼品的 同银行4张信用卡吗 为什么春节后信用卡审核这慢? 推荐人办信用卡不还怎么办 为什么申请建行信用卡这么慢 太平洋乐天玛特信用卡 网店怎么开通信用卡 退回信用卡的钱怎么查 泰国信用卡返现2017 太原好多办信用卡送礼品的 太平洋乐天玛特信用卡 同银行4张信用卡吗 太原好多办信用卡送礼品的 未开卡的信用卡丢失 推荐人办信用卡不还怎么办 为什么信用卡利息高 淘宝&#039; 信用卡 违规 泰国取款免费的信用卡 未开卡的信用卡丢失 为什么信用卡利息高 通宝白领白金信用卡 泰国信用卡返现2017 为什么申请建行信用卡这么慢 为什么信用卡一起办有快有慢 退款到信用卡的钱 淘宝 discover信用卡 同样的信用卡能办几张 网店怎么开通信用卡 推荐人办信用卡不还怎么办 同样的信用卡能办几张 为什么信用卡一起办有快有慢 泰国信用卡返现2017 停招商信用卡电话号码 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 辉煌枭雄 侠骨天娇 惊悚游戏小说 天的审判者 护魂殿 亚星管理平台 澳门葡京官网 AG真人 亚星管理平台 万利官网 同银行4张信用卡吗 淘宝 discover信用卡 太原超市刷浦发信用卡优惠吗 同银行4张信用卡吗 为什么信用卡一起办有快有慢 太平洋乐天玛特信用卡 太原面对面代办信用卡 为什么信用卡利息高 泰国取款免费的信用卡 太原超市刷浦发信用卡优惠吗 泰国信用卡推荐 停招商信用卡电话号码 推荐人办信用卡不还怎么办 通宝白领白金信用卡 淘宝&#039; 信用卡 违规 泰国信用卡返现2017 为什么春节后信用卡审核这慢? 推荐人办信用卡不还怎么办 为什么信用卡利息高 为什么春节后信用卡审核这慢? 太平洋乐天玛特信用卡 为什么申请建行信用卡这么慢 唯品会可以添加信用卡吗 退款能退到信用卡吗 唯品会可以添加信用卡吗 为什么信用卡利息高 透支信用卡案例 太原面对面代办信用卡 泰国信用卡推荐 泰国取款免费的信用卡