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"
ems庐江快递电话号码ems临平分局电话北京宣武区交管局电话沧州市所有快递电话沧州市武装部电话ems庐江快递电话号码百色市右江区邮政快递拉域电话北京宣武区交管局电话百色圆通电话德州ems快递电话号码曹妃甸顺丰电话北京宣武区交管局电话德阳旌阳区国税局电话曹妃甸顺丰电话沧州市沧县高川乡派出所电话德州ems快递电话号码百色市韵达快递城东路电话地址曹妃甸工业区邮政电话曹妃甸工业区邮政电话ems龙岗中心城电话是多少ems联系电话必填吗曹妃甸工业区邮政电话百色圆通电话ems临沂客服电话沧州市所有外卖电话曹县全峰电话百色圆通电话德韵达快递电话百色市右江区四塘镇顺丰快递电话ems龙岗中心城电话是多少2121年,【神话世界】横空出世,这是一款掀起全民进化时代的虚拟网游! 在【神话世界】之内获得的一切能力,将100%同步到现实之内! 重生十年前,叶天回到【神话世界】开服前一刻,开局获得神级建村令! 这一世,他必将收名将美人,灭胡虏异国,鞭笞天下,统一寰宇! 带三国群雄举国飞升,征战万族,成就天帝独尊!作为海城警局刚刚入职的萌新,程望打死也想不到,有一天会和鬼打交道。 给鬼做饭,陪鬼逛街,跟着鬼探案,跟着鬼捉鬼…… 等等等等!鬼捉鬼? 哦哦,原来是鬼仙!还是个仙子!! 仔细看看,这鬼仙长得还蛮好看的。 其实,和鬼仙呆在一起,还算不赖。 可是你要回你的苦厄界,我还要混迹在这尘世间,你我二人总是要散场的。 别哭了,我再陪你捉最后一只鬼。 好吗?作为人,我们的一生已经告终。或许带着些许的遗憾与不甘。 但,故事远没有结束。 遗忘在历史深处的计划再度重启,我们也终于踏上了从未想象过的高度。不再为人的我们,正逐渐登上神的宝座。 此世已无可避免地堕入深渊,而人生已经结束的我们,无能为力。唯有磨砺自己的力量与意志,在漫长的时光中感悟,才能在彼岸的智慧中找到拯救此世的途径。 神,从不是特权的象征。在我们眼中,那是终将背负起的责任。描写一个普通打工者的路程当你在一个伸手不见五指黑暗中,一道光突然战线你的身边,缓缓的抬起头,看着一个人手中拿着锤子砸断了被压迫在你身上的那条链子,用镰刀划拨了天空中的黑夜,一道道光顺着黑暗的裂口绽放出来。一个懒懒的少年,喜欢从书卷中找到有用的东西,不学让人眼花的技、艺、法,只修基础;不尊规矩、不知人事,做事以情感为主;无进取心、无理想,弱小时,在人群中猥琐成长,强大时,一剑斩出,闲人厄皮,能在以武力和拳头的强武世界能混下去吗?爱情的路上没有对错,有的只是遇见与错过。。。卧槽!? 我重生了!? 我居然来到了仙界!? 叮-你的仙界修神系统任务已发布,请完成任务获取:任务成功:获得仙界修神系统任务失败:抹杀宿主!!!!月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!“恭喜您,使用至尊版万界娃娃机抓取[狠人大帝的肚兜]一条。” “恭喜您,使用至尊版万界娃娃机抓取[萧炎的休书]一封。” “恭喜您,使用至尊版万界娃娃机抓取[地球出产的正宗假中华]一条。 ” 叶风华站在这大千世间的绝顶巅峰,忧郁地仰望星空,叹息道:“装逼非我意,但愿海波平”
十方境灭 系统爸爸我真的不想再死了 李二:收手吧!大唐已经无敌了 符仙传人在都师 无敌公子在都市 花都邪医俏总裁 天道圣使 都市:系统逼我当人渣 异常 序章 南疆修仙传 何以通天 创世神转世 神话领主:万倍返还系统 不能重来服务公司 这一世,我再次登顶无敌 探险日记1 这就是我的天命 冰火山河 尊神乾彪 踏破青冥 ems临沭电话号码 曹县全峰电话 百色市韵达快递城东路电话地址 沧州市武装部电话 ems临沭电话号码 ems临沂电话查询 百色市韵达快递城东路电话地址 德韵达快递电话 ems临沂处理中心电话号码 德阳市中江县万福镇派出所电话 百色送餐电话 百色送餐电话 ems柳州快递电话号码 曹县全峰电话 ems庐江快递电话号码 沧州市武装部电话 百色顺风快递电话号码 ems临沂处理中心电话号码 ems联系电话广德县 北京宣武区交管局电话 曹县全峰电话 沧州市沧县高川乡派出所电话 ems临平分局电话 曹妃甸顺丰电话 德州ems快递电话号码 ems柳州快递电话号码 ems临沂处理中心电话号码 ems临平分局电话 ems联系电话广德县 ems临沂处理中心电话号码 沧州市武装部电话 曹县青固集顺丰电话 沧州市所有快递电话 ems庐江快递电话号码 ems临沂客服电话 沧州市武装部电话 沧州市所有快递电话 百色市韵达快递城东路电话地址 ems柳州快递电话号码 沧州市沧县高川乡派出所电话 沧州市所有外卖电话 德阳市中江县万福镇派出所电话 ems娄底电话号码 百色顺风快递电话号码 曹妃甸顺丰电话 曹县全峰电话 百色送餐电话 沧州市所有外卖电话 ems柳州快递电话号码 百色市右江区邮政快递拉域电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 对不起小霞 双重武修 都市五行灵珠传 英雄再临 一个弱者的英雄梦 亚星管理平台 亚星官网 万利官网 亚星管理平台 澳门葡京官网 百色市右江区邮政快递拉域电话 德阳旌阳区国税局电话 ems柳州快递电话号码 百色市右江区四塘镇顺丰快递电话 百色送餐电话 ems临沂电话查询 百色送餐电话 曹妃甸顺丰电话 ems联系电话必填吗 曹妃甸顺丰电话 沧州市沧县高川乡派出所电话 曹县全峰电话 ems临沭电话号码 德韵达快递电话 ems临沭电话号码 沧州市沧县高川乡派出所电话 ems临沂电话查询 ems临沭电话号码 曹妃甸顺丰电话 ems临沂电话查询 ems龙岗中心城电话是多少 沧州市武装部电话 ems龙岗中心城电话是多少 百色送餐电话 ems庐江快递电话号码 百色送餐电话 德阳市中江县万福镇派出所电话 百色圆通电话 沧州市所有快递电话 ems临平分局电话