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"
新疆阿勒泰8月份的天气遵义大方天气预报15天查询新疆阿勒泰历史天气新疆克拉玛依市天气预报宜宾历史天气记录查询新疆阿勒泰8月份的天气和田未来90天天气预报新疆阿勒泰历史天气未来一周富蕴杜热天气预报2017年阿勒泰历史天气宜宾县7月份天气预报新疆阿勒泰历史天气和田市未来一月天气宜宾县7月份天气预报新疆克拉玛依市白碱滩天气预报2017年阿勒泰历史天气天气预报常用天气符号大全宜宾天气记录宜宾历史天气记录查询青河天气预报15天的乌鲁木齐达坂城盐湖天气宜宾天气记录未来一周富蕴杜热天气预报阿勒泰未来半月天气预报15天宜宾历史天气2017年7月阿勒泰青河天气预报文字宜宾历史天气2017年7月阿勒泰未来半月天气预报15天青河天气预报15天的和田市未来一月天气到底是僵尸厉害呢?还是吸血鬼厉害呢?如果真的有僵尸和吸血鬼,两者又会有什么样的碰撞呢。拳皇同人作品我相信现在的人们都有两重身份 现实和网络 现实中你可能就是一名普普通通的学生,没有拯救世界抑或是改变世界的能力,可能在生活中也处处不如意,但是在网络上、游戏中 你可以为所欲为,你会忘记现实中的一切,凭借你的技术,你可以作为拯救世界的英雄,也可以作为毁灭世界的魔王,你也可以作为世界的创世神,主宰独属于你的世界,但是一切都是你坐在电脑前的世界。电子游戏可不会影响你的现实,你还是要回到那真正的现实中的,但是。倘若现实就是游戏呢 或者游戏就是你的现实。 现在如果有一款游戏,所有人都会参与其中,那时什么才叫现实什么才叫游戏呢? 而你会怎么办呢————如果那天没有遇见她,自己应该永远不会走上这条修仙路。 奈何是命运,还是阴谋。穿越到各大武侠融合的世界,成为了宋朝的皇子,赵月轩很是无奈。 咦,剧情还没展开?那我就不客气了。 九阳神功,九阴真经,神照经,六脉神剑……都是我的。 无忌别慌,本皇子这里有一本九阳神功,以后你好好修炼,千万别相信女人的话,让大哥帮你对付他们。 郭夫人,你也不想郭大侠在外受到伤害吧……我不想当反派啊,那可是主角的垫脚石,被装B打脸的对象,最后被主角干掉......。“叮、叮、叮...,无敌大反派系统加载中...。”“额,当反派其实也不错,一时反派一时爽,一直反派一直爽......。”为啥别人重生就风生水起,左拥右抱,我就得被抓去做大蛇丸的实验? 呸!打不过BOSS不要紧啊,那就再重生一次~ 呐,重生嘛,最重要的就是开心咯,你饿不饿,我煮碗面给你吃啊? 修炼一途,儿女情长,恩怨情仇,漫漫长路只为寻道求缘,若知,道在人为!意外融合古兽,让他的修炼一途成为领异标新,与天斗与地争,傲睨万物!一路上坎坷千万,却也没有阻挡住他的脚步。或许有人说他贪婪,残忍!的确,只要是灵石宝物都会被他收进囊中,对于敌人更是不会心慈手软。他的热血,关心和微笑,只会留给身边的人!?和主角一般,一路艰辛走过,不放手,不放弃,绝对会完本!陈阳穿越到了高武世界,获得了一个能查看人生剧本的系统! 这人生剧本,能预知人未来,查看命格,甚至连对方的最近机缘都一目了然! “绝世机遇!?不好意思,我先收为敬!” 三流的主角等机缘。 二流的主角找机缘! 而陈阳:机缘在哪,我就在哪! (作品架空部分历史情节) 宇宙已膨胀数十倍,世界在重铸的边缘,时间与空间的紊乱让不同时代的人们面对相同的资源竞争,这是最紧张的时候。 生活在原荒大陆的林空灵掌握着决定性的力量,作为同时拥有双源能的修者,却如修炼缓慢的普通人,家族的压力,学府的压力,正激发这这个后起之秀。这个人会乘着巨龙……,统率千万万人,与……历游各界
玄幻:九生轮回 剑缘凌雨 大明:开局上交双穿门 苹安 重返1982 太古第一仙 佐佑, 兆古一帝 尘世剑 黑色乐园 雄霸诸界 我好想,再见你一面 天汉风云传奇 我有一座无敌灵兽园 奇志录, 你,想要封神吗 玩牌的我谁都打不过 黑白城之六城废墟 我当风神那些事 娱乐!我真不想成顶流! 珙县今年天气记录 白碱滩9月20日天气预报 天气预报常用天气符号大全 宜宾历史天气记录查询 珙县今年天气记录 阿勒泰天气预报40天 天气预报常用天气符号大全 2017年清明扬州天气 阿勒泰青河天气预报文字 alt阿勒泰地区天气情况 威宁草海8月天气预报 威宁草海8月天气预报 青河的天气 白碱滩9月20日天气预报 新疆阿勒泰8月份的天气 宜宾历史天气记录查询 科克天气预报15天 珙县今年天气记录 广西蒙山上周天气 新疆阿勒泰历史天气 白碱滩9月20日天气预报 新疆阿勒泰历史天气 广西蒙山上周天气 宜宾天气记录 2017年阿勒泰历史天气 青河的天气 珙县今年天气记录 遵义大方天气预报15天查询 广西蒙山上周天气 阿勒泰青河天气预报文字 宜宾历史天气记录查询 查看西安半个月的天气预报 新疆克拉玛依市天气预报 新疆阿勒泰8月份的天气 阿勒泰未来半月天气预报15天 宜宾历史天气2017年7月 新疆克拉玛依市天气预报 天气预报常用天气符号大全 阿勒泰未来半月天气预报15天 新疆克拉玛依市白碱滩天气预报 宜宾历史天气2017年7月 2017年清明扬州天气 新疆阿勒泰10月 天气预报 科克天气预报15天 宜宾县7月份天气预报 查看西安半个月的天气预报 威宁草海8月天气预报 宜宾历史天气2017年7月 青河的天气 山东省蒙山天气预报一周 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 洪荒:苟到无敌再出关 家父唐高祖 重燃1990 千古帝王业 我是化阴人 亚星游戏官网 万利游戏官网 万利官网 亚星游戏官网 澳门葡京官网 山东省蒙山天气预报一周 和田市未来一月天气 阿勒泰未来半月天气预报15天 和田未来90天天气预报 科克天气预报15天 阿勒泰天气预报40天 威宁草海8月天气预报 宜宾县7月份天气预报 乌鲁木齐达坂城盐湖天气 宜宾县7月份天气预报 新疆克拉玛依市白碱滩天气预报 查看西安半个月的天气预报 珙县今年天气记录 2017年清明扬州天气 珙县今年天气记录 新疆阿勒泰历史天气 阿勒泰天气预报40天 珙县今年天气记录 宜宾县7月份天气预报 阿勒泰天气预报40天 青河天气预报15天的 宜宾历史天气记录查询 青河天气预报15天的 威宁草海8月天气预报 新疆阿勒泰8月份的天气 科克天气预报15天 alt阿勒泰地区天气情况 未来一周富蕴杜热天气预报 未来一周富蕴杜热天气预报 查看西安半个月的天气预报