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"
杜德伟情人歌词ka-ching!歌词set it歌词王妃歌词完整版萧敬腾歌曲天亮了歌词伴奏杜德伟情人歌词新郎不属于我什么歌词set it歌词双镜 歌词在慢一点 在慢一点 歌词歌词苦苦甜甜喜喜悲悲set it歌词我的草原我的情人歌词歌词苦苦甜甜喜喜悲悲歌词:让我投入太彻底在慢一点 在慢一点 歌词勋章歌词分享到: 更多歌词 你在小城的路口歌曲天亮了歌词伴奏小酒窝歌词、天荒地老人相伴歌词歌词 你在小城的路口双镜 歌词采一束玫瑰送给我歌词lrc同桌的你歌词歌词 充满了lrc同桌的你歌词采一束玫瑰送给我歌词小酒窝歌词、我的草原我的情人歌词苏祈因为玩了一次笔仙游戏就被拽进了一个诡异的门后世界…… 这个世界,没有规则,没有对错,除了活着,没有别的选择。 轮回的教室,充满了笑声的楼梯间,尸块堆积的地下仓库。 同学接二连三的惨死却引发了更大的祸端,大门仍然是关闭的,游戏仍然在继续。 只有苏祈知道,自己病了,病的很重。 当他彻底无法控制病症之后,整个诡异世界,都会感受到真正的恐怖……在陈州,他隐忍多年,终于手刃仇敌; 在南京,他沉浮官场,尝遍人世丑恶; 在京城,他享尽富贵,却已心灰意冷。 叶府嗣子叶永甲,以他的视角,看末世众人或生、或隐、或死的结局,唱一曲改革者的时代悲歌。一次改变命运的工作,一个神奇的手机。 平凡屌丝陈非能不能借此一飞冲天。 武林高手或修仙之路,凭一个手机打开人生不一样的门。 看他如何选择人生之路,从这一刻起,他不再平凡。 有少年和尚,喝酒吃肉,醉卧美人膝,由魔入佛…… 有少年道士,一只青驴、一名女鬼相伴,朝着道祖行进…… 有少年儒生,提笔写下传世之作,誓要做天下万灵的夫子…… …… 有人问少年:“你是谁?!” 白衣少年摸了一下腰间钝剑,仰头喝了口酒,咧嘴一笑:“吾名叶天,叶子的叶,天帝的天,来自秦国荒城,是一个天才丹师,更是一个天才修炼者……” 我因为一场意外,来到了一个不属于我我的世界,如同我也要拥有其他穿越者拥有的系统。湘江战役时虽隔87年,但我们从未忘记。两位百岁老人再度重逢,湘江战歌再次响起!只是简简单单的打一场排位,结果却穿越到联盟大陆还成了托儿索。 地球突然一年没有白天,当光明再次照射人间,每个人都有了超能力。   许多动物也在这个过程中发生了异变!   每个人的能力都不一样,强者可以控制天气,控制人的思想。   弱者只能控制简单的生活用品。   能力强的人,获得的资源越多,欲望也越来越大。   廖昌盛一个贫穷的孤儿,在黑暗后,获得了鸡肋的能力。   控制卫生纸!星空无垠,大劫将至。 即使是代表永恒的宇宙也会有衰落的一天,武者当自强,担负重振荣光的使命。 于是豪杰并起,开始了他们的征程,横跨宇宙星辰,无畏地向吞噬宇宙的黑暗发起挑战,这是一条永无止境的求生之路。 唯有历经万重劫难,方能通往明天。 后世称其为:万劫通天!你想过共享睡眠么?你想过你睡不醒的时候,把别人的睡眠共享给你么?你想过你无所事事,靠睡觉就能赚钱么? 你只听说过躺平赚钱,可真有这样的工作么?
那些辉耀的时光 诡异入侵:疯狂规则游戏 最后一个苍狼典客 六道葬仙图 紫玉仙缘 我契约了一棵青色樱花树 世界的真相,你了解吗? 神卫传 太荒至尊诀 我可以无限穿越平行世界 全民忍术,开局选择六道斑 重生之太虚尊圣 桃源小刁民 重生学霸,不会真以为学习难吧? 凡心剑道 娘子刚登基,我就成了全民公敌 大妖猴 现世高手 万界收藏家 我的杀神之道 歌词里面说不出口 不可思议汪苏泷歌词 勋章歌词分享到: 更多 歌曲天亮了歌词伴奏 歌词里面说不出口 歌词 回不去的青春 勋章歌词分享到: 更多 陈姿彤我的世界歌词谐音 歌词 充满了 only make love歌词 梦之旅:送别 歌词 梦之旅:送别 歌词 歌词有狐狸的歌 不可思议汪苏泷歌词 杜德伟情人歌词 歌曲天亮了歌词伴奏 戴荃悟空歌词lrc 歌词里面说不出口 你占据了我的心歌词 set it歌词 不可思议汪苏泷歌词 set it歌词 你占据了我的心歌词 歌词 你在小城的路口 在慢一点 在慢一点 歌词 歌词有狐狸的歌 歌词里面说不出口 ka-ching!歌词 你占据了我的心歌词 歌词 充满了 歌曲天亮了歌词伴奏 歌词再会吧我的爱人 王妃歌词完整版萧敬腾 杜德伟情人歌词 采一束玫瑰送给我歌词 lrc同桌的你歌词 王妃歌词完整版萧敬腾 勋章歌词分享到: 更多 采一束玫瑰送给我歌词 歌词:让我投入太彻底 lrc同桌的你歌词 陈姿彤我的世界歌词谐音 基督教恩友歌歌词 戴荃悟空歌词lrc 歌词苦苦甜甜喜喜悲悲 歌词再会吧我的爱人 梦之旅:送别 歌词 lrc同桌的你歌词 歌词有狐狸的歌 青春永不退缩歌词 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 血战匈奴 我是昭阳 我是谁?我是,蜘蛛侠 我在修仙世界当领主 雄途: 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 歌曲天亮了歌词伴奏 梦之旅:送别 歌词 歌词有狐狸的歌 杜德伟情人歌词 基督教恩友歌歌词 你占据了我的心歌词 不可思议汪苏泷歌词 我的草原我的情人歌词 ka-ching!歌词 歌词里面说不出口 你占据了我的心歌词 歌曲天亮了歌词伴奏 歌词 回不去的青春 小酒窝歌词、 歌词有狐狸的歌 天荒地老人相伴歌词 梦之旅:送别 歌词 杜德伟情人歌词 不可思议汪苏泷歌词 only make love歌词 陈姿彤我的世界歌词谐音 王妃歌词完整版萧敬腾 你占据了我的心歌词 歌词 回不去的青春 lrc同桌的你歌词 歌曲天亮了歌词伴奏 王妃歌词完整版萧敬腾 戴荃悟空歌词lrc 歌曲天亮了歌词伴奏 歌词再会吧我的爱人