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"
科学精神的人作文考场上作文结尾狼爸作文题目快乐的记忆作文500字历届高考作文最难题目科学精神的人作文哭泣的男孩作文点评狼爸作文题目考场作文优秀开头结尾京剧传承题材英语作文考试前的味道作文科学精神的人作文考验还是就业英语作文考试前的味道作文狼爸作文题目京剧传承题材英语作文今年湖南作文题目垃圾分类翻译成英语作文垃圾分类翻译成英语作文考场上的事作文600字介绍张飞的作文600垃圾分类翻译成英语作文考场作文优秀开头结尾老师有你真好作文800字历届高考作文最难题目居里夫人做实验的作文快乐的记忆作文500字开学第一天教学楼作文考场里的故事作文考验还是就业英语作文这是未来的某一天,唐亦格被卷入了一场异界比赛之中。这里是我的世界!欢迎各位来到神的游戏!一旦进入比赛将无法回头,除非你在这个看似混乱的世界中成为唯一的胜利者……为了回去,为了朋友,为了正义……黑与白的浪潮中,不知何人在低语……我想挣脱前往那星空的彼端,于暗羽中刻下文明的墓志铭。“我本无名,只能叫无名了。在我心中,若失去冒险精神就失去了人生意义,那种热血沸腾的感觉真是让我欲罢不能!” 神秘少年获得与所在世界格格不入的力量,由于好奇心的驱使让他四处冒险,奇遇连连,随着身体与武器接连产生异变,他那恐怖的身份以及武器的归属渐渐有了答案……大岩王朝末期,异族南下入侵中央腹地,大量院寺随着沦陷城市化作焦土,院寺镇压之妖魔鬼怪借机增强实力,为非作歹。焱朝初立,除京师在天子龙气镇压下稍的安宁,全国各地均深受魑魅魍魉之害。有甚者边疆数郡衙门无法正常办公,官军损失惨重。焱武定祖震怒,命宣承省责巯部广纳天下能人异士,设从四品官职云游四方整顿魔害,此官所至之处,如天子亲临。三年后,天下平定。此官职为后世历朝沿用,至赤梓国变,央联新立,此官转为机密官职,承归总统府乾阎卫直接管辖。 此官名为:云游巡按使。 来自数百年后的特种兵王,穿越成为和自己名字同音的晚明皇帝天启身上。 狙建奴,收日韩,木匠皇帝?不,工匠皇帝!大国工业自明而始! 铁血皇明,平推世界!男护士转生异世界,竟然被职业评定选择成了最稀有职业-男性圣职者?本来以为可以在异界享受人生,迎娶公主,走上巅峰,没想到卷王居然就在我身边?内卷什么的之前已经受够了!为了对抗内卷,全都点了治愈,男圣职者平凡而又非凡的异世界生活,从现在开始!穷学生狗剩母亲被恶霸害死,无力报仇雪恨,绝望想要自杀。不想曾因自己救过一的条小蛇,意外获得蛇灵传承。在亲友的帮助下,完美复仇,并屡获奇遇,领悟人生真谛!正所谓一念善,万水千山,一念恶,苦海无边。正义和邪恶争斗永不休止,无论身处如何绝境,只要心存善念,都将化险为夷。不管现在有多牛逼,一旦恶意丛生,必将万劫不复!来自星辰的启示, 人与神明相抗争。 超前进化的智慧, 痴迷幻梦不愿醒。 败军之将,梦途惊醒,逆天改命,铸就新(醒)程。 末日之乱三百年后,人类终于在异兽的铁蹄下重建安身之所。 陆香作为英雄之子,却在父亲死后沉迷书海,逃避现实。然而意外发现父亲或许不是死在异兽之手。 为了查明父亲死亡的真相,陆香终于踏上狩猎异兽之路。 然而真相或许比他想象中更加可怕,他们并没有在异兽口中的取得胜利,他们生活的世界或许只是一个巨大的牢笼罢了……作为主角“昆仑”因为吃泡面噎死穿越之后,怎么可能没有金手指呢!“恐惧系统”这不就来了嘛!   有没有见讲鬼故事修仙的,我昆仑就是。嘿嘿嘿~   地府消失...   神明消失...   包括过鬼故事也消失...
我出生带有魔道圣体 有机可乘 启蒙号 从特种兵开始融合万物 重启飞升之路 一印天下 无敌兵王 魔沦 直播鉴宝:我能点石为金 断梦疑凶 我有空间千顷田 星域神启 霸血龙神 为故乡星球而战 灭荡志 桃花村里的那些风流韵事 狙杀成塔 斗数之主 灾厄降临:我能召唤万界 黄小天的日常 考研还是工作 英语作文 考场里和考场外作文 今年湖南作文题目 垃圾分类翻译成英语作文 考研还是工作 英语作文 快乐的游泳 作文 今年上海高考作文题 考试的味道初中 600字作文 居里夫人做实验的作文 考验还是就业英语作文 考场作文优秀开头结尾 考场作文优秀开头结尾 老师有你真好作文800字 京剧传承题材英语作文 考场上的过程作文 历届高考作文最难题目 今年上海高考作文题 居里夫人做实验的作文 介绍张飞的作文600 科学精神的人作文 考场里和考场外作文 狼爸作文题目 考场上作文结尾 课标卷2语文作文2017 考试的味道初中 600字作文 老师有你真好作文800字 居里夫人做实验的作文 考场上作文结尾 介绍张飞的作文600 居里夫人做实验的作文 垃圾分类翻译成英语作文 考场里和考场外作文 快乐的记忆作文500字 科学精神的人作文 老师有你真好作文800字 历届高考作文最难题目 快乐的体验作文 今年上海高考作文题 老师有你真好作文800字 快乐的体验作文 历届高考作文最难题目 考试通用作文初中 考场上的事作文600字 考场上的大家作文800字 课标卷2语文作文2017 考场里和考场外作文 考场作文优秀开头结尾 快乐的记忆作文500字 考场里的故事作文 哭泣的男孩作文点评 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 鬼怪龙套的自我修养 英雄愁 一世天帝 圣灵之魄 凶案回档 万利官网 欧博官网 百家乐官网 万利官网 欧博官网 狼爸作文题目 快乐的游泳 作文 考场上作文结尾 历届高考作文最难题目 京剧英语作文300字 今年上海高考作文题 哭泣的男孩作文点评 考试前的味道作文 开学第一天教学楼作文 考场上的过程作文 考试前的味道作文 京剧传承题材英语作文 考试前的味道作文 考场上作文结尾 京剧传承题材英语作文 考验还是就业英语作文 考试通用作文初中 历届高考作文最难题目 快乐的体验作文 哭泣的男孩作文点评 居里夫人做实验的作文 老师有你真好作文800字 开学第一天教学楼作文 考场上的大家作文800字 垃圾分类翻译成英语作文 京剧传承题材英语作文 考场作文优秀开头结尾 近40年高考作文 考场上的大家作文800字 狼爸作文题目