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"
北京 铜川 火车站保定去西宁火车时刻表北京 铜川 火车站长春至廊坊的火车长葛火车战在哪里长治县到日照火车马巷火车票售票点电话长春火车票在哪买如皋到合肥火车站滕州至邳州火车时刻表临沂 九寨沟 火车站吗北京 铜川 火车站福州北是福州火车站吗购火车票12306官网app下载安装长春火车票在哪买滕州至邳州火车时刻表桂林到保定火车路线时间表北京站哪买火车票北京站哪买火车票南昌到徐州火车路线图保定k1到火车多长时间北京站哪买火车票如皋到合肥火车站1031火车长葛火车战在哪里甘旗卡到临河火车票价长春至廊坊的火车1031火车南昌到徐州火车路线图福州北是福州火车站吗明朝有本叫做《唐诗品汇》的书,书中把唐诗分为四个阶段:初,中,盛,晚。后来人们发现把唐朝历史也是可以这样划分为初唐,中唐、盛唐、晚唐。而唐朝作为曾经辉煌的朝代。从建立,发展到顶峰,终于不可避免的跌落低谷。当他在痛苦中挣扎,人们以为他终于可以重新站立起来的时候,却随着唐宣宗的逝世,慢慢步入深渊,走向毁灭。大厦将倾,而暴风即将来临…有少年和尚,喝酒吃肉,醉卧美人膝,由魔入佛…… 有少年道士,一只青驴、一名女鬼相伴,朝着道祖行进…… 有少年儒生,提笔写下传世之作,誓要做天下万灵的夫子…… …… 有人问少年:“你是谁?!” 白衣少年摸了一下腰间钝剑,仰头喝了口酒,咧嘴一笑:“吾名叶天,叶子的叶,天帝的天,来自秦国荒城,是一个天才丹师,更是一个天才修炼者……” 一个女孩的日记,练手的无敌天骄, 神魔血脉, 吾持一剑,碾天骄,镇神魔, 一剑碎山河,破九天,通万古……黎子洋醒来,发现自己被传送到野外,全身上下一条内裤加一柄斧子! 在野外生存一不小心就会魂归故里 活下去成为黎子洋的首要目标 异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。及至始皇,奋六世之余烈,振长策而御宇内,吞二周而亡诸侯,履至尊而制六合,执敲扑而鞭笞天下,威振四海。南取百越之地,以为桂林、象郡;百越之君,俯首系颈,委命下吏。乃使蒙恬北筑长城而守藩篱,却匈奴七百余里;胡人不敢南下而牧马,士不敢弯弓而报怨。于是废先王之道,焚百家之言,以愚黔首;隳名城,杀豪杰;收天下之兵,聚之咸阳,销锋镝,铸以为金人十二,以弱天下之民。然后践华为城,因河为池,据亿丈之城,临不测之渊,以为固。良将劲弩守要害之处,信臣精卒陈利兵而谁何。天字剑,地字刀,玄字阵法,黄字体修,为什么一定要分这么清楚? 如果一定要选的话!那我全要,不给的话,我就偷,瞬移在手,天下我有 御血一开,谁也不爱....毕业直接就职保安,少走四十年弯路的陈煜,在救人的时候发生意外,一段精彩的旅途开始了。 第一世界-红楼跨越百年的骨董江湖,围绕着一件件文玩珍藏、国宝重器,发生了多少跌宕诡谲的风云往事。一个名校高材生、一个老朝奉的后代,经历了人生大起大落、悲欢离合,自强不息,依靠鉴定眼力、骨董阅历,以其决断睿智、厚德仁心,终于在这个惊涛骇浪德骨董江湖中立足,成为了新一代古玩商中的泰斗人物,创下了名满江湖的骨董字号。
雲彻 地界大陆 抗日狙击手 龙啸残阳 我的终末 这一球,是绝杀! 末世纪的疯子菱 冲!奔向光明 咸鱼进化 透视小农医 天道数亿层 深渊山海 全民枪神:起源 大秦:金榜现世,祖龙求我君临天下 一个程序员穿越回大宋 我的惊悚游戏实在太治愈了 破天成神记 寒城少主 三年整活,三年行 暗格深处 甘旗卡到白音胡硕火车 滕州到平邑火车时刻表 桂林到保定火车路线时间表 北京站哪买火车票 甘旗卡到白音胡硕火车 南京至贵阳的火车票多少钱 桂林至江山火车 临沂火车站临沂到青岛 甘旗卡到临河火车票价 福州北是福州火车站吗 如皋到合肥火车站 达州到运城的火车票 南昌到成都硬卧火车票价格多少钱 滕州至邳州火车时刻表 长治县到日照火车 长葛火车战在哪里 桂林至江山火车 甘旗卡到临河火车票价 保定k1到火车多长时间 北京 铜川 火车站 滕州到平邑火车时刻表 长春火车票在哪买 保定去西宁火车时刻表 购火车票12306官网app下载安装 滕州至邳州火车时刻表 南昌到成都硬卧火车票价格多少钱 甘旗卡到临河火车票价 保定去西宁火车时刻表 保定k1到火车多长时间 甘旗卡到临河火车票价 长葛火车战在哪里 滕州到平邑火车时刻表 长春一安康火车票查询 北京 铜川 火车站 1031火车 长葛火车战在哪里 长春一安康火车票查询 桂林到保定火车路线时间表 南昌到成都硬卧火车票价格多少钱 长春火车票在哪买 长春至廊坊的火车 潢川到丽水火车时刻表 莆田至蚌埠南站火车票查询 达州到运城的火车票 购火车票12306官网app下载安装 滕州到平邑火车时刻表 达州到运城的火车票 长春至廊坊的火车 南昌到徐州火车路线图 马巷火车票售票点电话 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 末世召唤2 我学道的那些年 未来之后 从巨人开始的无限战争 修士无双 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星官网 达州到运城的火车票 南昌到徐州火车路线图 甘旗卡到临河火车票价 长春至廊坊的火车 北京 铜川 火车站 郴州到江西鹰潭火车票 1031火车 购火车票12306官网app下载安装 保定去西宁火车时刻表 长春至廊坊的火车 如皋到合肥火车站 如皋到合肥火车站 长葛火车战在哪里 1031火车 保定k1到火车多长时间 保定去西宁火车时刻表 桂林至江山火车 如皋到合肥火车站 甘旗卡到白音胡硕火车 南京至贵阳的火车票多少钱 长治县到日照火车 临沂火车站临沂到青岛 桂林至江山火车 北京站哪买火车票 福州北是福州火车站吗 长春一安康火车票查询 如皋到合肥火车站 滕州至邳州火车时刻表 1031火车 1031火车