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"
濉溪县邮政快递电话广安路韵达快递电话是多少北郊1去哪网商家合作电话三河供电所电话西平县重渠乡户籍值班电话濉溪县邮政快递电话大武口市区送餐电话去哪网商家合作电话邵东送餐电话商洛山阳电话快捷快递周口公司电话去哪网商家合作电话清远清新太平电话快捷快递周口公司电话三河市国税局电话是多少商洛山阳电话天天快递同济分部电话东莞南城快递电话号码东莞南城快递电话号码新安县五头乡高沟队电话号是多少花东兴隆酒店电话东莞南城快递电话号码邵东送餐电话邮政包裹信件尚勤路电话西平新世纪建材城电话龙桥邮局电话西平新世纪建材城电话邮政包裹信件尚勤路电话新安县五头乡高沟队电话号是多少清远清新太平电话不是意外,房东东因为幸运而被甄选,却只成为魔法星界的普通居民。设定小目标就是环游魔法世界,见识什么叫快乐星球。然而风云变幻,魔团会、族老会、真理会与皇经会几方势力暗流汹涌,无意身处其中自己也狼狈不堪。既然如此,那便是登上魔法的最高殿堂重权话事,宵小退散。这是生与死的界域。亡灵国度中究竟隐藏着什么? 这是陈永元的轮回,我是世界的轮回 且看他如何从亡灵世界中寻找自我的真谛在九州大陆,皇城之巅,有一位传奇人物,他正是皇城之主,九霄神帝,也是九州大陆最强悍的存在之一。于封本是一个国家神秘研究中心的一名工作人员,但死亡之际却神奇的穿越回了神秘复苏一年前。 醒来后,他自带了神秘直播系统,成为了一名探灵主播。 从此,世界上多了一个与众不同的探灵直播间。 直播间日常: 【叮,主播发现特殊道具,开启隐藏任务】 【叮,主播收服女鬼,获得称号:女鬼征服者】 【观众:封哥?封爷!】 同时,直播间的视频传到外界,引起了轩然大波…… “大师兄,恕不远送。” 这一声没有多少真情实意不说,还夹杂着恶毒的讽刺之意。 至此,宁北在仙界除名。 宁北本是四大仙宗『玄武宗』的大弟子,不世出的天才,第三次仙妖大战,神威先锋,令十万妖族闻风丧胆。 然而,和平之下,他竟被被师弟诬陷勾结妖族,并且罪证确凿被师门废除灵根,毁掉丹田,驱逐出『玄武宗』,仙界除名。 下山之后,宁北目睹仙界阴暗,竟然转投妖族阵营,终成妖族王者生在一个没地位没背景没钱的普通家庭,男主只能独自一人在大城市打工。一觉醒来却发现自己穿越到了一个陌生世界,后来才知道这是十五年后……疑难杂症,罕见绝症,一切我都手到擒来,玉石翡翠,文玩古董,一切真伪我都轻松分辨!校花,空姐,总裁,一切美女都为我倾倒!因为我有一双看破虚妄之眼。 落魄医道家族秦飞宇意外激活家传至宝,拥有透视眼,获得家学,从此成为一代医学圣手!一份巨额遗产,牵出多年前的恩怨......秦峰意外穿越三国,成了一名普通士兵。 虎牢关城外,大战三国第一猛将,他出尽风头。 洛阳城外赶董卓,冀州驱逐袁绍,中原群雄逐鹿。 练绝世雄兵,造超级武器,拥绝世美女,收绝世猛将,纳顶级谋士。 秦峰率领北方铁骑,横扫天下,一统三国。 试问天下,谁人能比。 从士兵到枭雄,秦峰一路走来,成就王者传奇,我秦峰才是天下霸主。 读者群(246835683)感兴趣的可以加群,一起交流学习。天道无情,大陆为棋盘,苍生为棋子。少年林羽,低微出身,手持三尺长剑,得神秘传承,力压天骄,剑斩诸强,斩天道,立新规,风凌九天。
星际起缘 诸天道种 金灵神剑诀 记忆废墟 无法逃离的网 修一念逆天 几个天下 当代守夜人 星球穿越:我掌控万物进度 万神宰 震惊:我的祖仙是大佬! 闪耀瞬间 公子风流 末世之仙道难觅 神魔 入侵 西游:人在地府,朝九晚五 至死不降 老虎和美女有趣的玩乐 过上我的世界的生活 一统神狼 商洛山阳电话 邮政包裹信件尚勤路电话 三河供电所电话 广安路韵达快递电话是多少北郊1 商洛山阳电话 防城港东兴市申通快递电话 三河供电所电话 新安县五头乡高沟队电话号是多少 南京快捷快递电话号码 濉溪县陈集邮政所电话 西平县重渠乡户籍值班电话 西平县重渠乡户籍值班电话 清城区外卖电话 邮政包裹信件尚勤路电话 塘头车站联系电话 广安路韵达快递电话是多少北郊1 西平新世纪建材城电话 南京快捷快递电话号码 圆通联盟路电话 三河市卫生局投诉电话 河北三河市防疫站电话 三河市国税局电话是多少 广安路韵达快递电话是多少北郊1 快捷快递周口公司电话 商洛山阳电话 防城港平邮包裹电话 龙桥邮局电话 广安路韵达快递电话是多少北郊1 西安太元路快递电话 龙桥邮局电话 西平县重渠乡户籍值班电话 圆通联盟路电话 三河供电所电话 濉溪县邮政快递电话 邮政包裹信件尚勤路电话 西平县重渠乡户籍值班电话 三河供电所电话 天天快递同济分部电话 防城港平邮包裹电话 三河市国税局电话是多少 西平新世纪建材城电话 防城港东兴市申通快递电话 濉溪县陈集邮政所电话 塘头车站联系电话 快捷快递周口公司电话 圆通联盟路电话 三河市卫生局投诉电话 西平新世纪建材城电话 防城港平邮包裹电话 大武口市区送餐电话 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 我用偏方吊打了医届大佬! 娱乐:从向往开始的巨星 破天机系列之困天迷龙局 幻想手册 神医王婿 亚星游戏官网 万利游戏官网 万利官网 亚星游戏官网 澳门葡京官网 圆通联盟路电话 西安太元路快递电话 濉溪县邮政快递电话 三河市国税局电话是多少 去哪网商家合作电话 连州市大路边镇供电所电话 防城港东兴市申通快递电话 天天快递同济分部电话 龙桥邮局电话 邮政包裹信件尚勤路电话 龙桥邮局电话 快捷快递周口公司电话 浙江驾校投诉电话 新安县五头乡高沟队电话号是多少 新安县五头乡高沟队电话号是多少 西安太元路快递电话 三河市卫生局投诉电话 去哪网商家合作电话 商洛山阳电话 防城港东兴市申通快递电话 南京快捷快递电话号码 三河供电所电话 广安路韵达快递电话是多少北郊1 邮政包裹信件尚勤路电话 西平新世纪建材城电话 东莞南城快递电话号码 西平新世纪建材城电话 塘头车站联系电话 西平县重渠乡户籍值班电话 圆通联盟路电话