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"
汇美国际电话号码是多少钱桔子精选客服电话荆门到太原的大巴电话深圳市南山国土局电话淮安八二医院电话挂号汇美国际电话号码是多少钱龙口南山老年公寓电话荆门到太原的大巴电话廊坊到迁安快递电话西安北站到太原高铁时刻表查询电话新乡到郑州大巴电话汇美国际电话号码是多少钱安宁的旅行社电话新乡到郑州大巴电话荆门到太原的大巴电话攀枝花龙洞水泥厂电话南奥体中心科技中心电话淮安八二医院电话挂号淮安八二医院电话挂号东莞长安公安分局电话号码美团商丘分公司电话是多少钱北仑湘味人家加盟电话是多少钱廊坊到迁安快递电话烟台到哪的火车票查询电话香港接电话上海黄浦集散中心电话号码深圳市南山国土局电话通城滨江国际酒店电话多少钱东莞长安公安分局电话号码世贸银泰 温州电话号码万年前,天都之主凭借一己之力,化解了人类所面临的绝顶危机。使得人类才能得以有机会发展至今。 而万年后的今天,危机再次悄无声息的出现。万物终结之地已重新诞生出再次终结万物之人。 在虚空之树的见证下,新一轮的进化游戏已经开始。 无数魔神间的博弈将再次拉开序幕! 生化危机,合金弹头,异形,星际争霸,拳皇,西游释厄传... 被选召的契约者们将进入一个又一个危机四伏的世界完成虚空之树所给予的各类挑战! Q群:311763467操吴戈兮被犀甲,车错毂兮短兵接!个人奋斗史诗!这是一个特种兵穿越到异界的老套故事,这是一个特种兵在异界争霸的老掉牙的故事,这也是一个特种兵在异界找寻自我的一个有点不一样的故事,这更是一群特种兵玩坏异界的热血故事,这还是一个异界特种兵养成的逗趣故事,而这一切都从一个拥有完美武躯、至尊血脉、无暇天赋和究极武魂的特种兵王魂穿异界的那一天开始……主要是讲男主受到种种困难成为了修罗把坏人打死。为天下安定带来了和平。后来回到了现实中的故事。曾经的少年儿郎,都有一个激荡人心的梦想: 从废柴逆袭,摇身而成翩翩美男;从手无缚鸡之力,到修炼成巅峰人神之境; 面对着众多美女的执着与奉献,崛起的学神,他将怎样面对...... ...... 谨以此文献给努力奋斗的高考学子们、曾经努力奋斗过的高考学子们、以及错失高考的广大有志者!林尘做梦也没想到,给自己戴绿帽的女人不仅百般羞辱他,甚至还要抢夺他女儿的心脏! 对爱情彻底失望的他,更没想到,这世界上还会有这样一个女孩,愿意为他付出一切! 在那重重包围中,他鲜血淋漓。 我今天就要带走她,我看谁敢拦我!我在想,我到底能干嘛元宇宙经典游戏出马传奇,沈庸一人独开四号,各有所长 另有三位妹妹辅助,四人共同纵横驰骋,称霸游戏!  李暮穿梭了异界,穿梭到一修仙天地,变成一个采矿的奴隶。跟他来的,有一灵塔。但是整体天地也变更了。......一位非流派宗派的修仙者,一不同的修仙天地。
夜城侠影 江湖分两半 震惊!我的女徒是无情剑帝 黑客:无解入侵 重启的秩序 迷了吧!这是正经守墓? 空弹一出戏 魔就是身边 圣师无名 异域守护神 火影世界的海贼兑换系统 布柯的不可思议之旅 妖孽小书生 西游:人在天庭,朝九晚五 仙尊系统,我重返仙界! 我们的太平湖 小王的成长故事 巅峰暗龙 高考时魂穿,从奴隶开始 嗜血苍生 上海黄浦集散中心电话号码 攀枝花龙洞水泥厂电话 一高铁客服电话是多少 淮安八二医院电话挂号 桔子精选客服电话 通城滨江国际酒店电话多少钱 一高铁客服电话是多少 襄阳到郑州司机电话是多少 无锡华庄街道 电话 安宁的旅行社电话 宣钢宾馆电话 宣钢宾馆电话 烟台到哪的火车票查询电话 攀枝花龙洞水泥厂电话 汇美国际电话号码是多少钱 香港接电话 宝安海雅缤纷城服务电话 上海黄浦集散中心电话号码 南昌大润发单位电话是多少钱 荆门到太原的大巴电话 兴华油菜花电话 荆门到太原的大巴电话 南昌大润发单位电话是多少钱 北仑湘味人家加盟电话是多少钱 西安北站到太原高铁时刻表查询电话 武进人民医院南院体检中心电话号码 上海黄浦集散中心电话号码 南昌大润发单位电话是多少钱 南昌大润发单位电话是多少钱 无锡华庄街道 电话 淮安八二医院电话挂号 兴华油菜花电话 深圳市南山国土局电话 汇美国际电话号码是多少钱 烟台到哪的火车票查询电话 香港接电话 深圳市南山国土局电话 一高铁客服电话是多少 烟台到哪的火车票查询电话 哈尔滨快客电话 香港接电话 襄阳到郑州司机电话是多少 东莞长安公安分局电话号码 宝安海雅缤纷城服务电话 新乡到郑州大巴电话 兴华油菜花电话 宣钢宾馆电话 香港接电话 武进人民医院南院体检中心电话号码 南奥体中心科技中心电话 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 迷迷糊糊做三清传人 太史信列传 我王凡没有开挂 焚尸间签到三年,我无敌了 月光猎人 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 无锡华庄街道 电话 北仑湘味人家加盟电话是多少钱 安宁的旅行社电话 深圳市南山国土局电话 宣钢宾馆电话 攀枝花龙洞水泥厂电话 深圳市南山国土局电话 通城滨江国际酒店电话多少钱 美团商丘分公司电话是多少钱 美团商丘分公司电话是多少钱 一高铁客服电话是多少 宝安海雅缤纷城服务电话 龙口南山老年公寓电话 无锡华庄街道 电话 西宁三星售后投诉电话 西安北站到太原高铁时刻表查询电话 南奥体中心科技中心电话 淮安八二医院电话挂号 安宁的旅行社电话 哈尔滨快客电话 宝安海雅缤纷城服务电话 兴华油菜花电话 无锡华庄街道 电话 无锡华庄街道 电话 襄阳到郑州司机电话是多少 安宁的旅行社电话 新乡到郑州大巴电话 宝安海雅缤纷城服务电话 世贸银泰 温州电话号码 上海黄浦集散中心电话号码