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"
励志文字头像高清珍惜的情侣头像吃货可爱头像卡通发狗头像戴帽子酷酷的嘻哈女生头像励志文字头像高清帅气的男头像古风吃货可爱头像卡通素描头像小清新日本可爱卡通美女头像情侣闺蜜头像大全吃货可爱头像卡通四宫格小萝莉头像情侣闺蜜头像大全40岁左右的头像日本可爱卡通美女头像动漫洒脱头像好看的头像40岁戴帽子酷酷的嘻哈女生头像复古冬季唯美女生头像和尚头像动漫好看的头像40岁素描头像小清新两只小鲸鱼 情侣头像大海与花朵头像图片什么样的网名配什么头像大海与花朵头像图片萌宠猫头像复古冬季唯美女生头像日漫女神头像逗比男主欢乐多,沙雕伙伴凑一窝,热血什么的完全不存在,苟才是王道 他不是想一个人孤单,只是想为了她孤单,她说今生无缘,那他就逆命改天…… 一个普通弟子。一路逆袭的故事。自家破,遇恩师、交良友,人生多不易,卧薪尝胆走江湖。人生多艰难,不过终是热血少年,起于乞丐,经艰险、遭磨难,玉汝于成,本就是英雄少年。九天路上谁为尊,一遇神帝万法空。上古天域,诸神逆战,神帝陨落伴九天玄石重生,以逆天资质修无上法门,铸混沌金身,力破苍穹,为报挚爱背叛之仇,兄弟夺妻之恨,他逆转苍天,法度万古,诛魔神,斩天妖,血染修仙路。【诸天副本降临,即将开启!】 【这是你们灵魂升华的一次机会!】 全球危机,罗明开启唯一性天赋! SSS级天赋——不对等交换! 【交换完成!您用半盒泡面交换SSS级潜力永不枯竭!】 【交换完成!您用一瓶悲酥清风交换斗转星移!】 …… 从此,罗明开启了交换新模式。自家破,遇恩师、交良友,人生多不易,卧薪尝胆走江湖。人生多艰难,不过终是热血少年,起于乞丐,经艰险、遭磨难,玉汝于成,本就是英雄少年。荒凉地脉,大漠无归,我有枪芒镇压。 放眼红尘万丈,无尽归期,我自当君临天下! 生来走一遭,当如何? 自当…成仙之后,君临之后,去那彼岸…逍遥游。 帮助美女上司摆脱陷害的黄非凡,成为公司派系斗争的棋子,被上司排挤到养殖场。 本就事业不顺,女友这时又跟着出轨,让黄非凡彻底跌入低谷,从事业到爱情遭受双重打击。 不过因为一次善举,让黄非凡彻底改变命运,开始时来运转,一路攀升。 最终从一个人人瞧不上的草根,成为众人逢迎巴结的大鳄! 且看职场小白黄非凡不寻常的崛起之路!太玄大陆,五位最强者,被称为神。某天,一场大战过后,大陆中最年轻的神失踪,恰逢一座小城池,一位少女问旁边的少年说:“你将来想做什么呀?”少年冷漠的回答:招兵买马、踏破龙阳。“南桸 你回头看 ”江泽大喊到 南桸微笑着转身看着她 江泽高举着手 “我等你回来”
异星邪兵 火影之复制万能系统 方块一生 签约被拒100次,硬刚到底 浮生六界行 我在异世召唤同班同学 波赛尔学院 天道六界之光 入世仙 留香传 抚剑吟 五大守护神 一 神医席道全 我不是神父 吾剑永恒 僵尸始皇帝 星穹之子 闲婿 我的世界维度战争 从制作游戏开始成为首富 带向日葵花头像动漫 柠檬小头像 动漫洒脱头像 戴帽子酷酷的嘻哈女生头像 珍惜的情侣头像 萌宠猫头像 动漫洒脱头像 广州男太阳镜人头像 什么样的网名配什么头像 四宫格小萝莉头像 qq广告动态头像在线制作软件 qq广告动态头像在线制作软件 情侣头像二次元深海溺亡 柠檬小头像 励志文字头像高清 戴帽子酷酷的嘻哈女生头像 欧美男生头像 黑白 带向日葵花头像动漫 男生背包侧颜漫画头像 吃货可爱头像卡通 柠檬小头像 吃货可爱头像卡通 男生背包侧颜漫画头像 好看的头像40岁 日本可爱卡通美女头像 情侣头像二次元深海溺亡 带向日葵花头像动漫 珍惜的情侣头像 男生背包侧颜漫画头像 什么样的网名配什么头像 戴帽子酷酷的嘻哈女生头像 女生抱猫咪清新头像 发狗头像 励志文字头像高清 两只小鲸鱼 情侣头像 大海与花朵头像图片 发狗头像 动漫洒脱头像 两只小鲸鱼 情侣头像 40岁左右的头像 大海与花朵头像图片 广州男太阳镜人头像 萌熊系列组合头像 欧美男生头像 黑白 情侣闺蜜头像大全 女生抱猫咪清新头像 qq广告动态头像在线制作软件 大海与花朵头像图片 情侣头像二次元深海溺亡 异类个性潮流头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 异世旅人 日月扉 恶灵游戏:诅咒的空间 万里山河皆尘土 盛道之行 亚星官网 欧博游戏官网 欧博官网 亚星官网 AG真人 素描头像小清新 情侣闺蜜头像大全 日本可爱卡通美女头像 qq广告动态头像在线制作软件 广州男太阳镜人头像 女生抱猫咪清新头像 日漫女神头像 励志文字头像高清 两只小鲸鱼 情侣头像 发狗头像 欧美男生头像 黑白 帅气的男头像古风 qq广告动态头像在线制作软件 两只小鲸鱼 情侣头像 和尚头像动漫 qq广告动态头像在线制作软件 柠檬小头像 素描头像小清新 珍惜的情侣头像 励志文字头像高清 带向日葵花头像动漫 和尚头像动漫 萌宠猫头像 四宫格小萝莉头像 异类个性潮流头像 日漫女神头像 复古冬季唯美女生头像 什么样的网名配什么头像 复古冬季唯美女生头像 好看的头像40岁