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"
哆啦a梦 凉贞子 小说有像一个女主角原来是妓女后来男主角给他救了以身相许的小说吗哆啦a梦 凉贞子 小说哥只是个传说 流星猪 小说锦绣缘小说 阅读克夫王妃 鬼爱灵 小说俏状元 林笛儿 小说总裁小说 网盘注定悲剧的大学生活 人依然不醉 小说燃小说有声小说 国家宝藏哆啦a梦 凉贞子 小说一本耽美穿越小说小受穿成了皇后刚开始攻不喜欢受 调戏小攻的皇叔无极始神 道和 小说总裁小说 网盘燃小说霸爱总裁的纯情灰姑娘 jenny0918 小说至尊僵皇 古焚 小说至尊僵皇 古焚 小说红袖招 席绢 小说明穿小说至尊僵皇 古焚 小说注定悲剧的大学生活 人依然不醉 小说极品太子妃 荒血 小说锦绣缘小说 阅读名门惊婚 小说哥只是个传说 流星猪 小说极品太子妃 荒血 小说红袖招 席绢 小说一本耽美穿越小说小受穿成了皇后刚开始攻不喜欢受 调戏小攻的皇叔乐乐天和秦胜,小六三人被冠以富二代,官二代,坏学生标签,三人虽状况不断,但却一直率真的去生活,去爱,去恨,虽迷茫过,但最终获得了成长。以同名漫画《大理寺日志》改编,添加了一个自设加入(且体可查看“附录”)作者初心是希望在加入自己自设人物的后时写一份精彩的《大理寺日志:文字版》希望大家多多支持! 附录:(其他人物皆出于原创,在此只介绍自己加入的角色了) 姓名:郑珏 身世:唐代五门望族“荥阳郑氏”的小女儿 身高:156 年龄:离家时年仅十三岁 武器:匕首 其他信息会在文中介绍,在此不便多说,望各位原谅写手一个,喜欢随手写一些玄幻类型,如有指教请来。一次失恋的机会,就获得在另一个世界的传奇历程,画地为国,为生存而去思考和策划,嗯,编不下去了,就这样清末,列强纷纷侵入中国,他们在中国领土上横行霸道,任意划分势力范围,中国民族危机日益加深,百姓生活在水深火热之中。伴随列强入侵的西方传教士打着传播福音的旗号,勾结官府,鱼肉百姓,招收了大量不法教民。在其庇护下,教民为非作歹,欺压良善,激起民众的普遍痛恨,民教冲突不断升级,以“扶清灭洋”为口号的义和团悄然兴起。戊戌政变后,保守派得势,他们迷信义和团刀枪不入的神功,欲借其达到排外的目的,在保守派的纵容和推动下,义和团迅速发展壮大,他们毁铁路、拔电杆、烧教堂、杀教民,逐步由山东直隶进入京师。列强大为恐慌,以保卫使馆和传教士为由,组建八国联军攻陷北京,慈禧太后携皇亲国戚仓皇西逃,留下千年古都被洋人蹂躏……谁能左拥天下,右抱爱情,笑看风云数千载?太阳神?佛祖?朱雀?光神?青龙?水神?玄武?白虎?谁主宰风云数千载!九天路上谁为尊,一遇神帝万法空。上古天域,诸神逆战,神帝陨落伴九天玄石重生,以逆天资质修无上法门,铸混沌金身,力破苍穹,为报挚爱背叛之仇,兄弟夺妻之恨,他逆转苍天,法度万古,诛魔神,斩天妖,血染修仙路。穿越到古代,家中一穷二白! 不怕,运用21世纪的知识,随便搞点发明创造,改善家中生活! 一不留神富甲一方,漂亮老婆天天催着纳妾,小日子不要太幸福! 蛮族入侵,那就组建骑兵,制造火炮,打他丫的! 影响我平静的生活,敌寇虽远必诛!我就在你面前,你看我有几分像从前这,这是传说中的齐天大圣孙悟空? 他让我过去,还要教授我无敌绝学? 还让我捅破天,大战天庭与佛界?
明光法域 一条咸鱼的救世之路 寒门小王爷 天武山河印 亲爱,别离开 三国之徐振的野望 全球返祖:开局返祖张三丰 逃避世俗带着小丽回宋朝 全球末世:我能无限升级 废材幽灵降临在我身边 我的祖宗 船家杂谈 最强精神病! 行于巅峰 镇冥人 乱世剧情 末法寄灵 地府修行记 阴棺借道 暮世幻辰 对不起我爱你小说 种田派小说 霸爱总裁的纯情灰姑娘 jenny0918 小说 锦绣缘小说 阅读 对不起我爱你小说 奈何桥千年的等待 芸沫子 小说 恶魔在恋爱 菜o菜 小说 主神再现 横空 小说 名门惊婚 小说 一本耽美穿越小说小受穿成了皇后刚开始攻不喜欢受 调戏小攻的皇叔 注定悲剧的大学生活 人依然不醉 小说 贴身追美记 断欲 小说 一本主角回到大唐冬天的时候和自己的侍女在屋子里吃火锅的小说 种田派小说 克夫王妃 鬼爱灵 小说 锦绣缘小说 阅读 恶魔在恋爱 菜o菜 小说 名门惊婚 小说 明穿小说 哆啦a梦 凉贞子 小说 种田派小说 总裁小说 网盘 有像一个女主角原来是妓女后来男主角给他救了以身相许的小说吗 无极始神 道和 小说 燃小说 一本主角回到大唐冬天的时候和自己的侍女在屋子里吃火锅的小说 名门惊婚 小说 有像一个女主角原来是妓女后来男主角给他救了以身相许的小说吗 明穿小说 名门惊婚 小说 锦绣缘小说 阅读 种田派小说 青瓷之锦绣宅门 雨微澜 小说 克夫王妃 鬼爱灵 小说 极品太子妃 荒血 小说 锦绣缘小说 阅读 青瓷之锦绣宅门 雨微澜 小说 霸爱总裁的纯情灰姑娘 jenny0918 小说 一本主角回到大唐冬天的时候和自己的侍女在屋子里吃火锅的小说 总裁小说 网盘 哥只是个传说 流星猪 小说 描写美国西部牛仔的小说 英文 一个npc的逆袭 挖泥巴 小说 贴身追美记 断欲 小说 无极始神 道和 小说 种田派小说 贴身追美记 断欲 小说 哥只是个传说 流星猪 小说 一本主角回到大唐冬天的时候和自己的侍女在屋子里吃火锅的小说 俏状元 林笛儿 小说 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我在登基典礼上被截胡了? 太上老君,只有我能救你 基因吞噬纪元 末日基因兑换系统 遮天帝神 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 一个npc的逆袭 挖泥巴 小说 有声小说 国家宝藏 主神再现 横空 小说 燃小说 总裁小说 网盘 公子刑天 颜月 小说 名门惊婚 小说 青瓷之锦绣宅门 雨微澜 小说 哥只是个传说 流星猪 小说 青瓷之锦绣宅门 雨微澜 小说 霸爱总裁的纯情灰姑娘 jenny0918 小说 哥只是个传说 流星猪 小说 无极始神 道和 小说 俏状元 林笛儿 小说 克夫王妃 鬼爱灵 小说 一本主角回到大唐冬天的时候和自己的侍女在屋子里吃火锅的小说 燃小说 注定悲剧的大学生活 人依然不醉 小说 明穿小说 公子刑天 颜月 小说 描写美国西部牛仔的小说 英文 哆啦a梦 凉贞子 小说 对不起我爱你小说 种田派小说 青瓷之锦绣宅门 雨微澜 小说 哆啦a梦 凉贞子 小说 斗罗大陆之强大王者 花拾 小说 总裁小说 网盘 锦绣缘小说 阅读 一本耽美穿越小说小受穿成了皇后刚开始攻不喜欢受 调戏小攻的皇叔