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"
我心中的光明作文素材有关作业的作文200字晒客作文700字文化作文题目10年江苏语文高考作文我心中的光明作文素材有关文化作文素材积累晒客作文700字作文 爱需要我们体会《乡下人家》作文100字申论作文标题标点符号我心中的光明作文素材智能手机流行英语作文申论作文标题标点符号晒客作文700字晒为题作文1000字左右为你奋斗作文10年江苏语文高考作文10年江苏语文高考作文我照片的故事400字作文600字写人写事作文150字大全申论大作文标题怎么拟作文 爱需要我们体会写月亮美丽作文500字作文喜欢春节英文作文300字写吉林四季的作文文化作文题目写吉林美景作文我照片的故事400字作文600字闲对 作文拥有灭魔血脉的木子余在十六岁觉醒了灭魔血脉之力,从此告别了平凡人生,更因为一次意外,掉落山崖,获得了不死天功传承,打开了更为广阔的一片天地。我,叫做程敏刚,她,叫做杜淑萍,杜淑萍是我的老婆,落魄皇子,龙游浅水,偶得机缘,困龙升天! 如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。 公元2174年,国家安全局特勤M5精英小组的组长陈龙,一直负责新晋精英级组员的培训,为各级特工组织输送了一批又一批特级精英组员,在反恐斗争以及与米国和罗斯国的竞争中屡立奇功。然而,在最新一批的特工选拔中,从近卫军团、警察部队、武警部队选拔出的130名种子选手,竟然全部在总部复试中被淘汰,国安局面临前所未有的人才枯竭的窘境。总部首长联席会议中,局长亲自确定了使用最新的JS899型时空穿梭机,派陈龙回到天国历史中寻找英雄为我所用的方针,穿越的时空确定在了天国历史上英雄辈出的三国时代。随着穿梭机的数声蜂鸣,一场波澜壮阔的三国历史英雄画卷就此展开。。正是:滚滚长江东逝水,淘尽英雄龙始归。不懂武功的男主在得到一本神秘棋谱后卷入江湖仇杀。伴随着棋谱的不断出现,武林到处都是腥风血雨。众多朋友为此而牺牲,男主发誓要剥开背后的云雾重现青天。 行者,走遍天地间,只为寻求众生存在的真正意义;为求一缕光明和一线生机。叶平穿越到妖魔横行的世界,成为了斩妖除魔天玄靖安司的一名值夜者,身附伴生青囊,只要救人就能获得对方生命中最宝贵的东西。 灵丹妙药、绝世功法…… 妙手医百病,丹心斩妖魔,他是这人间的神,亦是诸天万族的劫张启,一名高二的学生。母亲在一年意外去世了,父亲伤心过度之后被查出有精神疾病每天卧床不起。在很多地方都试过治疗父亲的病,却没有多大的效果。同时也欠下了许多债务。但张启并没有放弃父亲,周一到周五上课,周末有空就做做兼职,用来补贴家用,却远远不够。某一天,债主找上门来。知道张启没能力归还,便将他绑到小黑屋,准备咔腰子。但过了三天,却什么也没发生。于是张启变逃了出来,却发现大街上没有一个人。只见漆黑的夜空上。六道红光划过,从此张启的人生发生了巨大的改变。在港岛的乡下有一个九叔,收了两个徒弟,替人驱邪伏魔。 在济州岛有一个风叔,虽然是警员,但是却擅长利用道术破案。 还有在郊区一处人迹罕至的地方,有一个和尚和一个道士,传说身居神通,能驱邪灭鬼。 还有一个茅山弟子名曰傲天龙,在港岛各处游历,无数厉鬼僵尸死于他的剑下。 还有所谓的南毛北马,毛小方和马小玲,那更是灵幻界的扛把子,类似于前世武林盟主一样的人物。 一个鬼怪横行的世界,还有这么多大佬的存在,让李峰想要混吃等死的愿望彻底落空。
全球进入鬼灵复苏时代 振武道霸主 天道轮回间 恶魔契约引导的新生活 神眷战纪 豺狼农庄并浓妆 长生寒 我被要求和双马尾少女同居 剑战诸天 重生之安澜 AngelDefend:夏末 主角?掌中之物罢了 抗日狙击手 元宇宙:青铜 江海策 不死武皇 万界之征战 这个召唤师不一样 第十魔神 大秦:我杀敌就能变强 写吉林四季的作文 晒为题作文1000字左右 说木叶之类的作文 10年江苏语文高考作文 有关作业的作文200字 写吉林美景作文 说木叶之类的作文 作文1500字叙述 同窗好友中考满分作文 智能手机流行英语作文 重视科学少看娱乐作文 重视科学少看娱乐作文 写月亮美丽作文500字作文 晒为题作文1000字左右 我心中的光明作文素材 喜欢春节英文作文300字 :三年级作文母爱 写吉林四季的作文 写桃子的作文二年级 晒客作文700字 与成长满分作文 晒客作文700字 写桃子的作文二年级 申论大作文标题怎么拟 《乡下人家》作文100字 助人为乐的人满分作文 写吉林四季的作文 写桃子的作文二年级 写桃子的作文二年级 同窗好友中考满分作文 10年江苏语文高考作文 与成长满分作文 文化作文题目 我心中的光明作文素材 写月亮美丽作文500字作文 喜欢春节英文作文300字 文化作文题目 说木叶之类的作文 写月亮美丽作文500字作文 作文细节描写优秀教案 喜欢春节英文作文300字 作文1500字叙述 我照片的故事400字作文600字 :三年级作文母爱 申论作文标题标点符号 与成长满分作文 重视科学少看娱乐作文 喜欢春节英文作文300字 助人为乐的人满分作文 为你奋斗作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 一个农村男孩的奇幻冒险 大宋奇人 药司 鬼仙?我才是好吧! 奥传之战神重生 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 《乡下人家》作文100字 为你奋斗作文 写吉林美景作文 晒客作文700字 写桃子的作文二年级 助人为乐的人满分作文 重视科学少看娱乐作文 文化作文题目 同窗好友中考满分作文 《乡下人家》作文100字 《乡下人家》作文100字 10年江苏语文高考作文 10年江苏语文高考作文 晒客作文700字 作文细节描写优秀教案 阳光校园生活作文700字 晒为题作文1000字左右 有关文化作文素材积累 写吉林美景作文 我心中的光明作文素材 智能手机流行英语作文 助人为乐的人满分作文 :三年级作文母爱 作文细节描写优秀教案 写吉林四季的作文 晒为题作文1000字左右 晒为题作文1000字左右 写月亮美丽作文500字作文 助人为乐的人满分作文 有关作业的作文200字