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"
衡阳附一医院的电话云台山领导班子电话郴州罗森尼娜蛋糕电话怎么打台湾座机电话汉口到监利商务车电话衡阳附一医院的电话惠州海滨温泉前台电话郴州罗森尼娜蛋糕电话海珠区电力营业点电话汉中到运城大巴电话济州航空公司电话衡阳附一医院的电话百事春秋酒店电话济州航空公司电话郴州罗森尼娜蛋糕电话淮安青瓦台汗蒸电话大连前关报废车电话汉口到监利商务车电话汉口到监利商务车电话蓟州盘山专线电话格林豪泰酒店番禺电话号码沈阳宾馆电话多少钱海珠区电力营业点电话中山市益华车站电话紫禁城皇家电话局义乌海洋酒店电话号码怎么打台湾座机电话海口客运码头电话号码蓟州盘山专线电话保定顺平亚太比邻电话紫荆市刑事调查科由四个性格迥异的家伙组成,为人率直谨慎的队长周浩、口无遮拦的技术员杨思远、胆小如鼠的新人程橙、综合格斗卫冕冠军的警花柯洁。 四人在一件件扑朔迷离,诡异重重的案件中一层一层剥下人性最黑暗的一面,你准备好了吗?我们一起去探究至暗时刻.男主的父亲长弓穹在15年前为了保护家族不被吞并,便与妖精一族签订了一笔契约,条件是妖精一族将会帮助长弓家渡过难关但代价是,妖精一族要带走他任意的一名子嗣,与长弓家再无半点瓜葛。 15年后当我们的男主再次醒来时,已然被妖精们带到了他们的大本营里百妖神录,在妖精一族狐女的要求下,签订了一份新的妖精契约,至此成为了他们的首领。 正当男主准备接受这样的命运时,面对着都市当中涌现大量鬼怪与几大家族丑恶的嘴脸,一个个可怕的阴谋围绕着自己展开,而长弓子初也将率领着自己的东方妖精一族与岛国的百鬼夜行和西方的恶魔撒旦组织展开了一场成王败寇的较量,也是从这个时候开始,一段过往的秘辛就此掀开。 时隔百年,地球又恢复了灵气。看我们主角如何苟上天仙。与当时的天之骄子争锋。 如果除去天生阴阳眼的话,我的前半生应该是普通的不能再普通了,但自从那天之后,我墨色的生活被染上了色彩。赫赫有名的“白金”成就满级玩家,在删除账号却误入了新的时间,本以为是系统BUG,没想到却在这里开启了新的人生维穿越武道世界,江北意外觉醒捡属性系统,可以通过捡取他人身上掉落的属性而提升自己。 于是...... 你拾取了力量*0.6。 你拾取了速度*0.4。 你拾取了体质*0.6。 你拾取了悟性*0.1。 你拾取了基础剑法*50、基础拳法*30、基础腿法*30,你学会了基础剑法、基础拳法、基础腿法...... 你拾取了....... 若干年后。 武道世界遭遇域外强者入侵,人类不敌节节败退几近亡族。就在这时,一家武馆内走出一名武馆学徒,横推众多域外强者,救人族于水深火热之中。恐怖降临笼罩全球。 天才少年宋藏刚进恐怖副本就卡到Bug,获得偷听鬼怪心声的能力,还有大威天龙身上纹。 开局监狱蹬缝纫机,扭断车间主任亲儿子的头:小毕登,硬核物理超度了解一下! 去学院当教师,带领学生攻占学院:你就是校长鬼?跪下,给全校学生磕999个响头,见血的那种! 去小山村下乡,屠戮全村:“村长,麻烦你把村民都召集到一起,我有些事要宣布。” 这个玩家玩游戏,挺费鬼的……末世来袭,主角却流落荒岛,殊不知这片荒岛遗落着五千年前的超级科技,从此带领科技军团在末世中走向复兴。q群935826504,欢迎大家前来探讨天道不公,我便逆天
这就是,现实 人在娘胎:隔壁女帝想踹我出去 夜间工作者 质检女神:开局检查焰灵姬 长生三千事 汉青 大魔王拯救世界? 诡秘降临:大威天龙,开局融合法海 将行歌 明江一剑之尸疑 驭心志 别把岁月留下 末日凑数的日子 音师 伊沌 世尘影仁 我在诡异世界开宝箱 断梦疑凶 猎手杰克:枪支恶魔 我真的不是女装大佬 义乌海洋酒店电话号码 淮安青瓦台汗蒸电话 大连前关报废车电话 汉口到监利商务车电话 云台山领导班子电话 海口客运码头电话号码 深圳上塘派出所地址电话是多少钱 吴忠上桥医院儿科电话 海口港口电话 百事春秋酒店电话 火车咨询人工服务电话 火车咨询人工服务电话 中山市益华车站电话 淮安青瓦台汗蒸电话 衡阳附一医院的电话 紫禁城皇家电话局 北京到上海汽车时刻表查询电话 义乌海洋酒店电话号码 明光开锁公司电话 郴州罗森尼娜蛋糕电话 黄山区政府主任电话 郴州罗森尼娜蛋糕电话 明光开锁公司电话 沈阳宾馆电话多少钱 汉中到运城大巴电话 日本流量电话卡 义乌海洋酒店电话号码 明光开锁公司电话 明光开锁公司电话 海口港口电话 汉口到监利商务车电话 黄山区政府主任电话 怎么打台湾座机电话 衡阳附一医院的电话 中山市益华车站电话 紫禁城皇家电话局 怎么打台湾座机电话 深圳上塘派出所地址电话是多少钱 中山市益华车站电话 湖里万达广场房东电话 紫禁城皇家电话局 吴忠上桥医院儿科电话 蓟州盘山专线电话 北京到上海汽车时刻表查询电话 济州航空公司电话 黄山区政府主任电话 火车咨询人工服务电话 紫禁城皇家电话局 日本流量电话卡 大连前关报废车电话 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 修仙从功法羁绊开始 天棺降福 惊世绝俗 做一条清水的河 曙光之壤 快连下载 亚星游戏官网 亚星官网 快连下载 亚星管理平台 怎么打台湾座机电话 黄山区政府主任电话 海珠区电力营业点电话 海口客运码头电话号码 沈阳宾馆电话多少钱 明光开锁公司电话 吴忠上桥医院儿科电话 日本流量电话卡 火车咨询人工服务电话 紫禁城皇家电话局 紫禁城皇家电话局 格林豪泰酒店番禺电话号码 明光开锁公司电话 北京到上海汽车时刻表查询电话 中山市益华车站电话 云台山领导班子电话 湖里万达广场房东电话 武汉游客中心电话 百事春秋酒店电话 中山市益华车站电话 黄山区政府主任电话 惠州海滨温泉前台电话 紫禁城皇家电话局 格林豪泰酒店番禺电话号码 吴忠上桥医院儿科电话 汉口到监利商务车电话 日本流量电话卡 明光开锁公司电话 云台山领导班子电话 火车咨询人工服务电话