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"
中文版女生小游戏中国棋游戏中文版女生小游戏大全中文版女生小游戏大全下载免费中文版女生小游戏在线玩中文版女生小游戏智力游戏体育游戏属于中文版女生小游戏大全指尖上的钢琴的游戏下载安装制作化妆品小游戏中文版无敌版的小游戏中文版女生小游戏大全制作校服游戏中文版无敌版的小游戏中文版女生小游戏大全下载制作化妆品小游戏智商测试日本游戏重庆人头掉车里游戏中文版女生小游戏在线玩中秋节俩人互动游戏中国卡车模拟游戏教程重庆人头掉车里游戏指尖上的钢琴的游戏下载安装指尖上的钢琴小游戏中文版女生小游戏大全下载免费下载中文版学开挖掘机游戏下载中文版女生小游戏大全下载免费下载中文大型塔防游戏有哪些中秋节俩人互动游戏智力游戏什么塔是亘古的魔咒、还是天道的沦丧? 古往今来,无数天骄喋血、文明更迭,众生劫(大黑暗时代)谁?可以逆转未来。还有那一场万载等待的岁月,为了谁?破碎的竹简,修改历史。接续的断玉,破茧重生。华夏大地的历史一次又一次的变幻,究竟哪些是真哪些是假。穿越各大王朝,一个终极的秘密即将揭开。两个组织的碰撞,守护华夏历史的责任。待我将这一切缓缓道来。 这是一个近似未来地球的异世界。 名为“黑石”的神秘矿物能将人的情绪与欲望收割转化,为这个世界提供了近乎无穷无尽的能源。 普通人就是被无尽收割的活能源,如同“工具”和“零件”生存。 财团,高官,各种特权者们争权夺利。 而他将颠覆这个世界的规则。 三世浮沉,阴阳伴生,梦入仙道,圣火长明。新人热爱打篮球平时没事会看书也会玩游戏永安不安!白焰不白!一团苟延残喘的青焰,一个没落门派的弟子,一段埋葬在时间长河的秘史,千年的和平似乎让人们忘记了曾经的威胁,在这诸天星海,万界之族中,苦而弥坚的人族、据高临下的妖族、作壁上观的神族以及……在这万类霜天竞自由中,谁为棋子?谁为棋手?未来时代,因为人类发射信号,导致地球遭到“巴洛姆”星人的恒星攻击,所以人类的一批科学家使用“纤维”技术逃往另一个空间……他,虽是庶子,但却是王国八大贵族之一格林家族内定继承人,长相虽平凡,但他的心不甘于平凡。虽然被人陷害、不得不被流放追杀,但天降系统,助他成神。且看一个小领主如何借助系统和奇遇,一步步崛起,最终称霸大陆..... 夏建独身混都市,历尽苦难,终成正果。摇身一变,他成了名符其实的大老板……三年前,他被迫前往北境当兵。三年后,他在战场封神,四海皆震。有一天,他得知自己还有一个女儿,随时会有危险,他不顾一切从战场归来,他是铁血战神, 他所到之处,必定又是一场腥风血雨。
我,大奸贼,卖女帝怎么了 肉身横练:我以武道镇杀妖魔 重生:一念三千 SCP基金会事务所 音乐道士 苍源界 剑缘群侠传 天地末判其名 世上只有我一个人类吗 星穹纪元 剑荡人生 我的老婆是祸水 带着各种修改器穿越 穿到女频爽文的我风生水起 诛神图 拂晓之诺瓦大陆的黎明 彼岸落笔 魔法书元素世界 死亡祭禁 神秘的小葫芦 中文版无敌版的小游戏 中文版学开挖掘机游戏 中文版女生小游戏 指尖上的钢琴的游戏下载安装 重庆人头掉车里游戏 中文版无敌版的小游戏下载 中文版女生小游戏 中文大型塔防游戏有哪些 中文版无敌版的小游戏大全 指尖上的钢琴小游戏 中文版女生小游戏大全下载 中文版女生小游戏大全下载 制作糖果蛋糕安卓游戏下载 中文版学开挖掘机游戏 智力游戏体育游戏属于 指尖上的钢琴的游戏下载安装 中文版女生小游戏大全 中文版无敌版的小游戏 中文版女生小游戏在线玩 智商测试日本游戏 中文版学开挖掘机游戏 智商测试日本游戏 中文版女生小游戏在线玩 中国卡车模拟游戏教程 中文版学开挖掘机游戏下载 制作糖果蛋糕安卓游戏下载 中文版无敌版的小游戏 重庆人头掉车里游戏 中文版女生小游戏在线玩 中文版无敌版的小游戏大全 指尖上的钢琴的游戏下载安装 中国棋游戏 指尖上的钢琴的游戏 智力游戏体育游戏属于 制作化妆品小游戏 指尖上的钢琴的游戏下载 指尖上的钢琴的游戏 中国古代发型小游戏 指尖上的钢琴小游戏 中文版女生小游戏大全下载 中文版女生小游戏大全下载免费下载 制作糖果蛋糕安卓游戏下载 中秋节俩人互动游戏 指尖上的钢琴的游戏 中文版无敌版的小游戏 中文版无敌版的小游戏大全 指尖上的钢琴的游戏下载 中文版女生小游戏大全下载免费下载 中国象棋王游戏 智商测试日本游戏 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 万道经 乱宇古帝 剑尊他一穷二白 帝道凌霄 我平凡人生 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 重庆人头掉车里游戏 中文版女生小游戏大全下载 制作糖果蛋糕安卓游戏下载 中文版无敌版的小游戏 指尖上的钢琴的游戏 智商测试日本游戏 中文版女生小游戏大全下载免费 中文版无敌版的小游戏下载 中国棋单机游戏 中文版女生小游戏在线玩 指尖上的钢琴的游戏下载 中文版女生小游戏大全下载免费 中文版女生小游戏大全下载 指尖上的钢琴的游戏下载 制作化妆品小游戏 中文版女生小游戏在线玩 中文版女生小游戏在线玩 中文版女生小游戏大全 中文版女生小游戏大全下载 中文版无敌版的小游戏 中文版无敌版的小游戏下载 智力游戏体育游戏属于 中文大型塔防游戏有哪些 中文版女生小游戏 中国卡车模拟游戏教程 中国象棋王游戏 指尖上的钢琴的游戏 中文版女生小游戏大全下载 中文版学开挖掘机游戏 中文版无敌版的小游戏下载