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"
高考0分作文怎么写初二作文一家人大与小的作文4年级河北省中考英语作文写话作文二年级上册高考0分作文怎么写英语对我的影响作文大与小的作文4年级英语二作文辅导视频近四年吉林高考作文100字排比句作文高考0分作文怎么写作文:我的中国梦100字排比句作文大与小的作文4年级近四年吉林高考作文英语观点类作文题目16河南高考作文16河南高考作文三爱少年作文题目陕西作文培训中心安徽省高考零作文作文《我喜欢的人》关于高考目标作文写话作文二年级上册爱给我坚强作文河北省中考英语作文05年北京高考作文三爱少年作文题目作文:我的中国梦在泰拉大陆这片大地上每时每刻都发生着故事,而这里的日常却不太寻常那一年,横推八百无对手,轩辕重出武圣人但是无敌! 那一年,飞天魔女龙云凤还没出现! 那一年,细脖大头鬼的鼻子还在! 那一年,九尾妖狐陆素珍已经变坏! 那一年,玉面小达摩还没,浪起来! 三年前,他被迫前往北境当兵。三年后,他在战场封神,四海皆震。有一天,他得知自己还有一个女儿,随时会有危险,他不顾一切从战场归来,他是铁血战神, 他所到之处,必定又是一场腥风血雨。一个小伙子迷迷糊糊穿越到异世界,将在这里发生怎样的旅程故事呢?让我们一起来看看吧。 啥?开局送美女。马上到。 林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!【穿越】【爽文】【文道】 儒道文神作:【89章起飞,93章爆炸】 “天不生你林亦,万古文道如长夜!” 这是一个读书就能获得才气的文道世界。 林亦,读地球诗经、楚辞、汉赋、唐诗、宋词,养浩然正气。 才气杀人,口诛笔伐。 言出法随,文道成圣。世界树开始复苏,天地即将重新连接,神族即将降临人间,是阻止还是帮助,是弑神还是共存,有正就有邪,有神就有魔,一个新的变化就会引起一连串的其他变化,人族该如何抉择,易行又该如何抉择,这一切似乎都早有定数。鲜血淋漓的战场,神秘的第三方势力,未完待续的故事…… 意外穿越进游戏世界的楚昱和盛追,在诧异和激动下开启了他们的游戏人生。 在不断和域界人洛羽的相处下,他们逐渐发现了这个世界里和游戏的不同之处,剧情中的漏洞究竟是bug还是阴谋? 友情、立场。 信仰的冲突下,他们的冒险究竟会如何发展呢。仙豢众生如彘,这是一个圈养与被圈养的故事!社畜石源,闲暇之余,最爱好看免费小说。 他甚至还有一个美好的梦想,躺在家里什么工作都不用做,光靠看免费小说就能迎娶白富美、走上人生巅峰...直到有一天,他看的免费小说里,突然出现一个闪烁着光泽的宝箱,石源下意识便点开。 “你寻到青铜宝箱*1,获得地摊大力丸*5。” “叮..检测到你当日当周阅读时长达标,符合看免费小说就变强系统激活条件,恭喜你获得现金奖励10000,特殊技能过目不忘*1..” “书中自有颜如玉,书中自有黄金屋,看免费小说就变强,拒绝一切套路!” “你寻到黄金宝箱*1,获得可控核聚变技术*1..寻到暗金宝箱*1,获得完整修仙功法*1...” 那一日,一个自称女反派的绝美女人从书中跳出,痛哭流涕告诉石源,战神XX率十万虎贲回归血洗她全家,寻求石源帮助。 石源:“战神是吧?十万虎贲是吧?统统镇压丢进X院照顾战神他全家的生意...”
苦海无人间 鸿威 类地行星468号 澪囬燚:知雨梦幻 虚空神俠 天仙魔帝 永恒的道 灾厄祓禊 重生之我的未来不是梦 造化独尊 东北出马仙之仙魔道 风云宝剑录 万神宰 死在兔子枪下的猎人 剑眼 西游:人在天庭,朝九晚五 奥特胶囊系统 我在修仙界有百万粉丝 无敌兵王 生命之树one 初三考试预测作文 暑假出去玩的作文 英语观点类作文题目 16河南高考作文 初三考试预测作文 庄子的性格分析作文 分享初三优秀作文 出去游玩的英语作文 爱给我坚强作文 作文:我的中国梦 作文《我喜欢的人》 作文《我喜欢的人》 关于高考目标作文 近四年吉林高考作文 小学作文教学的难点 写话作文二年级上册 步入社会的英语作文 爱给我坚强作文 陕西作文培训中心 高考0分作文怎么写 暑假出去玩的作文 大与小的作文4年级 初二作文一家人 安徽省高考零作文 出去游玩的英语作文 关于高考目标作文 爱给我坚强作文 初二作文一家人 陕西作文培训中心 爱给我坚强作文 16河南高考作文 暑假出去玩的作文 河北省中考英语作文 高考0分作文怎么写 关于高考目标作文 写话作文二年级上册 校园新闻题材的作文 分享初三优秀作文 关于高考目标作文 校园新闻题材的作文 写话作文二年级上册 高考英语作文如何写 三爱少年作文题目 步入社会的英语作文 安徽省高考零作文 暑假出去玩的作文 作文《我喜欢的人》 河北省中考英语作文 安全用电作文评语 英语对我的影响作文 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 仙妖异魔录 魂幕 莽荒至尊行 莫问前世我是谁 我修跪道 亚星游戏官网 万利游戏官网 万利官网 亚星游戏官网 欧博官网 关于高考目标作文 英语观点类作文题目 初三考试预测作文 作文:我的中国梦 安全用电作文评语 作文《我喜欢的人》 写话作文二年级上册 写话作文二年级上册 初二作文一家人 初三考试预测作文 步入社会的英语作文 安全用电作文评语 爱给我坚强作文 河北省中考英语作文 暑假出去玩的作文 英语二作文辅导视频 05年北京高考作文 安徽省高考零作文 初二作文一家人 高考英语作文如何写 英语二作文辅导视频 作文《我喜欢的人》 写话作文二年级上册 写话作文二年级上册 陕西作文培训中心 初二作文一家人 步入社会的英语作文 作文《我喜欢的人》 初三考试预测作文 庄子的性格分析作文