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"
开封市未来七日天气湖南常德桃源一月天气预报佛山七日天气预报查询福建省光泽县天气福建省南平市光泽县天气开封市未来七日天气天明天气佛山七日天气预报查询安徽宏村3月底天气定边历史天气统计平果县一周天气预报开封市未来七日天气石家庄平山天桂山天气预报平果十五天天气预报 百度佛山七日天气预报查询定边历史天气统计鹤壁春节天气预报长顺县2016年天气长顺县2016年天气佛山七日天气宏村3月份天气长顺县2016年天气安徽宏村3月底天气未来七天莱阳天气福建省南平市光泽县天气莱阳未来三天天气预告福建省光泽县天气11月9-12日千岛湖天气嘉荫历时天气预报查询天明天气出来旅游的刘锋,接到了一个跑龙套的机会。 意外触发了神级扮演系统。 在剧组扮演某个角色,根据相似程度,便能获得角色相应能力。 【叮!本次角色‘特种兵’的契合度为30%,您获得特种兵30%的综合能力!】 【叮!本次角色‘学霸’的契合度为50%,您获得学霸50%的学习能力!】 【叮!本次角色‘王羲之’的契合度为73%,您获得王羲之73%的书法能力!】一个初入社会的普通大学生,如何凭借这自己的头脑和魄力,在传奇世界里掀开一页属于自己的传说。李杰加入了密逃团,可以正式出道了。他会发生什么事情呢?很久很久以前,有一座山,名为葬灵山;葬灵山的西边有条渊,名为无相之渊;无相之渊的西边,有一座学府,名为真武院;而故事,则要从葬灵山东边的那座凌天帝国讲起……少年白衣,提一柄长剑,穿于山川、巨谷、河泽,人所不知深浅、藏隐之处。仗义提长剑,扣问此心间  夏朝自太祖皇帝公孙鸿登基以来已经延续五百余年。京城玄氏与法隆寺,地仙门、黄钟观从龙征战天下,建不世之功,四处圣地的掌门人被朝廷敕封‘天’‘地’‘玄’‘黄’四柱国。十年前,当朝皇帝公孙建瑞年老体衰,欲从众皇子中确认太子之位,八皇子贤王公孙德勾结魔道魁首天机府突然发难,二皇子庆王公孙霄汉生死,四处圣地被捣毁殆尽。十年之后,四大派残余势力建立雪神宫,并谋划复仇大计。   一个小和尚和一只狗成为了整个计划的最重要的钥匙,机缘巧合之下,从未入世的一人一狗开始了自己的旅程。是被当作工具完成复仇大计之后九死一生,还是查明真相并且拥有保护自己和亲人的实力。了脱给你带来不一样的江湖,这里有神兽、有佛子、有圣女、还有玄甲军。。。双日凌空,神秘再现,在科技崩溃的废墟中,万物迎来了无限进化! 穿越而来的沈凌,激活了自己的无限世界模拟器。 只要是花费足够的能量,就能够获得在模拟世界中得到的修为、武功和物品! 于是,在小李飞刀的世界中,沈凌获得了小李飞刀! 在大唐双龙的世界中,沈凌修成了剑心通明! 在蜀山的世界中,沈凌拿到了化血神刀! 在洪荒的世界中,他夺取了诛仙四剑……一片巨大的山岭,位于北部边界。山岭范围极大且环境恶劣至极,外加各种毒虫猛兽频频出没致使山岭之中少有人烟。但是山岭中却有世间少有的珍贵药材让其成为了一块特殊地界。如此地界本就杂乱, 勉强安稳之后却被一条是是非非的消息打破了所谓安宁!天灵灵地灵灵~太上老君快显灵。 道友啊,我看你现在金丹期,但是你这个生命线有点短啊。 你应该二十岁就死了啊,你干嘛? 你别动手啊?!你砸我摊子干嘛! 我动手了啊!你真动手了!哎!别打脸!!别介啊!!末世降临,秩序重置,当奢繁的上流社会与朴实的下流社会相碰撞;当异兽横行,死亡如风;当一觉醒来,打工人的心脏里长出一个特殊“媒介”时……人类,似乎遇到了比末世更恐怖的危机。
第十星元 战国诛妖人 想飞的水滴在地里 九尾封天 重生之白日梦想家 别浪先发育 阳归故里 共神天下 狙击战神 基因突变之无限穿越 玄幻:我在修仙世界玩异能 天心策 行于天灾间,我能做什么 十方主 精灵世纪:王者归来 世界级魔王的复苏日记 红楼:我在贾府带妹修仙 黎明万相 九域天灾 大唐:神级熊孩子 湖南省常市桃源天气?A?? 台风天气照片 鹤壁春节天气预报 长顺县2016年天气 湖南省常市桃源天气?A?? 桃源县10月份天气 3月底宏村天气 定边县樊学乡天气预报 莱阳未来三天天气预告 石家庄平山天桂山天气预报 安徽宏村3月底天气 安徽安徽省西递天气预报 未来七天莱阳天气 定边历史天气统计 嘉荫历时天气预报查询 福建省南平市光泽县天气 3月底宏村天气 莱阳未来三天天气预告 宏村3月份天气 开封市未来七日天气 台风天气照片 佛山七日天气预报查询 湖南常德桃源一月天气预报 平果十五天天气预报 百度 定边历史天气统计 未来七天莱阳天气 莱阳未来三天天气预告 湖南常德桃源一月天气预报 宏村3月份天气 莱阳未来三天天气预告 福建省南平市光泽县天气 台风天气照片 福建省光泽县天气 开封市未来七日天气 5月加州天气 福建省南平市光泽县天气 杭州西湖天气千岛湖天气 3月底宏村天气 未来七天莱阳天气 杭州西湖天气千岛湖天气 福建省南平市光泽县天气 石家庄平山巨龟苑天气 佛山七日天气 安徽安徽省西递天气预报 平果十五天天气预报 百度 台风天气照片 安徽宏村3月底天气 福建省光泽县天气 11月9-12日千岛湖天气 天明天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 路走尽了怎么办 张钢铁穿越记 狼战于野 猛鬼大厦 诫殇录 葡京官网 快连下载 欧博官网 葡京官网 欧博官网 莱阳未来三天天气预告 天明天气 开封市未来七日天气 开封市未来七日天气 安徽安徽省西递天气预报 安徽安徽省西递天气预报 四月份广州的天气 湖南省常市桃源天气?A?? 宏村 3月天气预报 嘉荫历时天气预报查询 福建省南平市光泽县天气 鹤壁春节天气预报 宏村3月份天气 杭州西湖天气千岛湖天气 安徽安徽省西递天气预报 平果县一周天气预报 天明天气 四月份广州的天气 嘉荫历时天气预报查询 嘉荫历时天气预报查询 3月底宏村天气 安徽安徽省西递天气预报 石家庄平山天桂山天气预报 天明天气 安徽宏村3月底天气 宏村3月份天气 福建省南平市光泽县天气 鹤壁春节天气预报 湖南常德桃源一月天气预报 定边县樊学乡天气预报