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"
演员靳东主演电视剧总有晴空电视剧2014电视剧收视排行榜新打仗电视剧大全集电视剧用了白狐歌曲下载演员靳东主演电视剧刘俊昊电视剧2014电视剧收视排行榜手机下载一集电视剧需要多久电视剧铁血英雄演员表晓丹电视剧女主角演员靳东主演电视剧关于末日的电视剧晓丹电视剧女主角2014电视剧收视排行榜电视剧铁血英雄演员表性电视剧美剧下载 迅雷下载电视剧用了白狐歌曲下载电视剧用了白狐歌曲下载择天记电视剧6集优酷一部破案电视剧香港电视剧心理的追凶手机下载一集电视剧需要多久有掐脸情节的电视剧道士出山电视剧类似布莱切利四人组的电视剧新打仗电视剧大全集三妹电视剧歌曲评论择天记电视剧6集优酷饯别是哪个电视剧里的歌人的命运,得看机遇。 吴晓是一位大学毕业生,可是在这个大学生如白菜一样的年代,毫无背景的他想要找一份好的工作已是不容易,更别提出人头地,有一番成就了。 在一次偶然他遇到了神奇的超级智能系统,从此他的人生发生了翻天覆地的变化。。。情感将一个学生的追忆用时间镌刻。中年马加辉被怀疑成杀害妻子的凶手, 唯一可以证明他不在场的证人是跟他有一夜情缘的少女, 但是少女正处在人生的困境中,爱情背离,亲情缺失,人生迷茫, 面对道德和良心的抉择,少女该如何抉择? 杀妻罪名能否洗清呢?马加辉该何去何从? 凶案的真相扑朔迷离,到底谁才是真正的凶手? 一个案件展开一幅社会图景,展现社会众生相。 你我都是一头困兽,只是牢笼各不相同。 每个人都在情感的困境中不断挣扎,不断突破,寻找出路。 如何才能突破困局,找到自我?我,陈老六,凭三尺青锋,誓要荡尽魑魅,镇守邪祟!少年偶遇流浪上神,倾囊相助,获上神青睐,步入修仙之列。拜良师,交益友,结红颜,多方相助威名显。战强敌,斩悍匪,于战乱之中晋升,于战斗之中成长。率领百万雄师征战四方,建国立业,一统修仙界,位列修仙界之主。刻苦修炼,博采众长,终跻身上神之列。护修仙界和平,战神界绝世高手,平九界之乱,成就不世之功。历劫难,成功名,九劫真神威震九界。历史系单身狗秦墨穿越大乾,成了秦国公家的憨子世子。 本想斗鸡遛狗潇洒过一生,可大家都逼他! 秦国公:儿子,我求你,把公主娶了吧! 大乾皇帝:贤婿,你乃朕的福星,这大乾的驸马,你当也要当,不当也要当。 太子:我的好妹婿,没有你的扶持,大舅哥帝位不稳呐! 百官:秦憨子,我们跟你拼了! 异族:秦憨子乃我族最大之敌! 公主:秦憨子,你敢不要我,我就跟你拼命! 漆黑一片 你:这?是哪里,我?又是谁。 陌生的声音:“你好啊,来自异世的意识, 欢迎来到次元。” 你:意识?次元? 陌生的声音:“在一切开始之前,请记住我的话,不要试图冲破法则,不要触动禁忌,更不要死…不要半途而废,就做一个旁观者就行了,好了就让一切开始吧,睁开你的眼” 声音消失了 你突然听到了风声,很大,但你却感受不到,你慢慢睁开眼,发现自己正在高空自由落体,还没等你搞清楚状况,你已经落地了,由于你存在特殊所以你安然无恙,落地后你遍开始了所谓的旁观。 一名普通职业经理人,意外魂穿到民国,成为一名军统特工,没有金手指,凭借前世的信息,依靠自己的知识并不断地学习、成长,在风云变幻的时代中为国家,为民族贡献自己的力量,并创造了一段段精彩的特工传奇……他离开后,天地受异族侵略,万千宗族刹那间变成灰烬。受天地所赐拥有十八神体的少年主动挑起了大梁,战至四肢尽灭,战至万里血浆! 只为诸君战四方,莫言人族无人皇!杀!大千世界的战武司少宫主墨染,集万千荣耀于一身的存在,在自己十二岁生日时被战武司司主要求寻找自己的命运之人,尽可能解除死亡的诅咒。但让墨染没想到的是,这一去,来到了结界边境处一个落后位面,在这里,他……
狼帝至尊 Mc乱世 南宫传奇 双面魔圣 创世神转世 落叶随风至天台 我在末世种个田 开局一头牛 都市至尊之修罗 血染桃木 龀童晚乡 神级选择:我的熊猫亿点强 末日世界的蔷薇 滚滚红尘为红颜 萨伽索之隐秘真相 吞天帝仙 我真的不专一 关于我穿越征服万族这件事 强袭饶命 亿兆富豪 全员魔头,你让我当武林盟主? 总有晴空电视剧 电视剧铁血英雄演员表 性电视剧美剧下载 迅雷下载 电视剧用了白狐歌曲下载 总有晴空电视剧 御姐归来 电视剧11 热巴要演的电视剧 国产老电视剧妈妈 御姐归来 电视剧11 关于末日的电视剧 看老片电视剧 看老片电视剧 有掐脸情节的电视剧 电视剧铁血英雄演员表 演员靳东主演电视剧 道士出山电视剧 我是保安电视剧 类似布莱切利四人组的电视剧 安心亚电视剧大全 2014电视剧收视排行榜 于震宇演过的电视剧 2014电视剧收视排行榜 安心亚电视剧大全 香港电视剧心理的追凶 韩国有哪些电视剧 明星杜鹃演过的电视剧 类似布莱切利四人组的电视剧 安心亚电视剧大全 一部破案电视剧 类似布莱切利四人组的电视剧 电视剧用了白狐歌曲下载 于震宇演过的电视剧 新打仗电视剧大全集 演员靳东主演电视剧 有掐脸情节的电视剧 道士出山电视剧 新打仗电视剧大全集 热巴要演的电视剧 有掐脸情节的电视剧 马可波罗电视剧在线 道士出山电视剧 国产老电视剧妈妈 择天记电视剧6集优酷 我是保安电视剧 晓丹电视剧女主角 于震宇演过的电视剧 看老片电视剧 道士出山电视剧 明星杜鹃演过的电视剧 刘俊昊电视剧 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 黑白颠倒诡事 天道圣歌 飞水龙吟 横推玄幻:我靠模拟无限升级 逍遥小天尊 亚星官网 万利官网 欧博游戏官网 亚星官网 AG真人 总有晴空电视剧 安心亚电视剧大全 饯别是哪个电视剧里的歌 马可波罗电视剧在线 香港电视剧心理的追凶 总有晴空电视剧 热巴要演的电视剧 刘俊昊电视剧 明星杜鹃演过的电视剧 性电视剧美剧下载 迅雷下载 看老片电视剧 有掐脸情节的电视剧 手机下载一集电视剧需要多久 于震宇演过的电视剧 安心亚电视剧大全 演员靳东主演电视剧 马可波罗电视剧在线 2014电视剧收视排行榜 类似布莱切利四人组的电视剧 关于末日的电视剧 御姐归来 电视剧11 马可波罗电视剧在线 有掐脸情节的电视剧 御姐归来 电视剧11 于震宇演过的电视剧 三妹电视剧歌曲评论 讲古代文化的电视剧 香港电视剧心理的追凶 讲古代文化的电视剧 看老片电视剧