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"
买吕梁去太原的火车票多少钱遵义到重庆火车票多少时间表大板到金昌的火车聊城到朔州火车时刻表查询唐山北至三河火车时刻表买吕梁去太原的火车票多少钱上海到九龙 火车多长时间大板到金昌的火车曲阜到兰陵的火车武汉到济南西火车站时刻表元氏县到邢台市火车买吕梁去太原的火车票多少钱杭州火车站到乌镇的班次元氏县到邢台市火车大板到金昌的火车高密火车站到成都的火车票普快5635火车时刻表唐山北至三河火车时刻表唐山北至三河火车时刻表为什么收到银联扣款通知火车票订单显示待付款查卡里面的钱没动南充市铁路火车时刻表烟台汽车站火车站曲阜到兰陵的火车火车安检查身份徐州至汉中的火车无锡火车站班次聊城到朔州火车时刻表查询武汉到恩施火车卧铺为什么收到银联扣款通知火车票订单显示待付款查卡里面的钱没动昆明到江西瑞金的火车血域代表立身成佛,凌域则是拂袖成仙,逍遥洒脱。共要携手开辟混沌,掌日月,控星辰。白溪立群雄之中而胜于众人,傲天地,以己为法则,其通天法力更是主宰一切,但夙愿已完,便匿音讯,消声迹,他日重归,惊澜四起······我,穿越了,不过有个大问题,我对历史的了解不多,所以,面前这个狼烟四起的战争场面是什么情况,救命哇!新潮澎湃,无限幻想,少年不败热血。随着时间的流逝,到了洪武元年。传言鬼人谷不是一个地名,而是一个人名。 鬼人谷能文能武,选择隐于世外,没有徒弟,却将天下尽收眼底。 随着时间的推动,到了洪武二十一年。鬼人谷收下两个徒弟,一个名字叫王雄吠,另一个名字叫太司懿。 鬼人谷能屈能伸,选择世俗之见,没有怨言,却将两个徒弟教成一文一武的怪物。 《神探太司懿》系列小说的第一部!重生在混沌,成了三千魔神之中的唯一异数 盘古开辟混沌,只有其活了下来 且看多了一个异数,世界会变成什么样 一个二十一世纪的屌丝,刚完成一单新闻,猝死出租屋,还不知道有没有人收尸就来到了楚国,一个有着宋的憋屈明的铁血的平行空间还是异世界?总之不小心成了异性王唯一的子嗣,可能出场姿势不好,被人用锤子打出了的。周边都是贼兵蛮子鞑子,好在有后世的天线一条,不至于被古人玩死成为最惨穿越者,一路泡妞打蛮子,没事就种种地!当然是真的种地。妙法堂坐落于龙虎山的落霞峰之上,因此处能见到整个天南最美的晚霞而得名。每当白日依山而落,夕阳的余晖便透过朵朵云层,染红整个天角,那时便霞光异彩,美不胜收。然也有人道,此等美景终究是暮色沉沉夕阳落,韶华易逝,残花落尽,太过悲凉。 一封邀请函中埋藏了几千年的阴谋,九死一生的鬼校中没有置身事外,处处血流成河。一念之间定生死,百人齐心决成败。华国,罗斯国,印国,东洋国,澳国,五个大国面临前所未有的危机。却不知这一切,只是决战前夕。 如果你正在读这段话,你已经昏迷了很久了,我们不知道这段信息会出现在你梦境的哪个阶段,但我们真心希望你能看到,请赶快醒来! 间谍是一个非常古老的职业,从有战争开始的那一天起,间谍便是交战双方获取对方情报的唯一选择。有人说,间谍战是这个世界上唯一不会出现硝烟的战斗,可事实证明,没有硝烟的战斗在这个世界上几乎不存在,即便是暗地里的较量,同样充满血腥和牺牲。 我姓唐,叫唐城,你也可以叫我唐五郎。 我爹是军统,专门抓日本特务的军统,虽然他不在了,可小爷我也绝对不允许你们这些萝卜头活的逍遥。 这里是国统区,所以,这里没有你们存活的空间。如果你们非要来,那好吧,小爷我只好送你们统统下地狱。
剑霞 皇上:我真的只想做平民百姓 最强爱的系统 重生之剑神无形 一天一篇观后感 人族逆天路 仙剑无间道 全民领主:开局拥有百倍兵种 逆剑传说 你好次元 地球坠落 忍猎手 殖民计划之城市富翁 全球倒数计时 凭什么骂我狗策划? 魔法师的世界没那么美好 僻仙道 八龙逆 人人觉醒,结果你变身? 终末奇幻物语 无锡火车站班次 高密火车站到成都的火车票 茶陵到金华火车 唐山北至三河火车时刻表 遵义到重庆火车票多少时间表 武汉到恩施火车卧铺 茶陵到金华火车 网上预定火车票买不到 舟山什么时候开通火车 杭州火车站到乌镇的班次 麻城到兰州有哪几趟火车 麻城到兰州有哪几趟火车 火车安检查身份 高密火车站到成都的火车票 买吕梁去太原的火车票多少钱 徐州至汉中的火车 从宜昌到渭南怎么坐火车 无锡火车站班次 包头至常州火车 大板到金昌的火车 高密火车站到成都的火车票 大板到金昌的火车 包头至常州火车 烟台汽车站火车站 武汉到济南西火车站时刻表 汉中去盐城火车 无锡火车站班次 包头至常州火车 包头至常州火车 舟山什么时候开通火车 唐山北至三河火车时刻表 企业注册火车团体票 聊城到朔州火车时刻表查询 买吕梁去太原的火车票多少钱 火车安检查身份 徐州至汉中的火车 聊城到朔州火车时刻表查询 茶陵到金华火车 火车安检查身份 牡丹江去柴河火车 徐州至汉中的火车 网上预定火车票买不到 为什么收到银联扣款通知火车票订单显示待付款查卡里面的钱没动 从宜昌到渭南怎么坐火车 元氏县到邢台市火车 企业注册火车团体票 麻城到兰州有哪几趟火车 徐州至汉中的火车 汉中去盐城火车 普快5635火车时刻表 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 异常瞭望者 有机可乘 娱乐:从密室大逃脱开始 投胎至三百年前 那年杜鹃开正艳 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 牡丹江去柴河火车 聊城到朔州火车时刻表查询 元氏县到邢台市火车 武汉到济南西火车站时刻表 普快5635火车时刻表 武汉到恩施火车卧铺 大板到金昌的火车 包头至常州火车 汉中去盐城火车 麻城到兰州有哪几趟火车 聊城到朔州火车时刻表查询 舟山什么时候开通火车 武汉到济南西火车站时刻表 武汉到济南西火车站时刻表 唐山北至三河火车时刻表 烟台汽车站火车站 大板到金昌的火车 牡丹江去柴河火车 黎塘玉林火车时刻表 百度 高密火车站到成都的火车票 上海到九龙 火车多长时间 武汉到恩施火车卧铺 买吕梁去太原的火车票多少钱 杭州火车站到乌镇的班次 汉中去盐城火车 从宜昌到渭南怎么坐火车 牡丹江去柴河火车 无锡火车站班次 高密火车站到成都的火车票 高密火车站到成都的火车票