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"
红衣服女头像海边女生闺蜜头像两张霸气黑白手机控头像女生双马尾签名设计加头像血红色背景头像红衣服女头像海边戴眼镜的韩系男头像手机控头像女生双马尾动漫男生头像黑色系qq爱情头像文字图片大全唯美致我们终将逝去的青春头像手机控头像女生双马尾男生头像侧脸唯美致我们终将逝去的青春头像qq头像背影情侣字母qq爱情头像文字图片大全唯美车头像布加迪的车外国女孩闭眼睛头像血红色背景头像qq头像男生冷冷的v恬恬萌娃头像外国女孩闭眼睛头像动漫男生头像黑色系伤心的头像男生2次元家居头像图片手绘眼镜女生头像家居头像图片伤心的头像男生2次元qq头像男生冷冷的v男生头像侧脸唯美天下一方,为我苏斩。 天才少年的成神之路必定坎坷。三神一体到底是机遇还是阴谋。 这个世界到底还是我说了算,欺凌过我的人必定灰飞烟灭。 一切都是为了理想的世界。 我的命运简单、荒谬,我家境贫寒,却并未因此自卑,这点倒值得研究。我不甘平凡,通过自己的努力最终改变了命运。 我一直希望能做块玉,也以为自己就是块玉,其实不过是自我催眠,我到底是个摆脱不了“铜臭味儿”的俗人。 神奇的大陆,因神兽而支离破碎,又因神兽而得以重生!! 各方势力追寻多年的重宝出世,一场腥风血雨正在酝酿…… 有些人眼中他是救人于危难的神灵,有些人眼中他却是杀人如麻的邪神。 在这个以灵气为本源的大陆上,一代武神横空出世!!!面对未知的威胁,充满铁锈的AI危机,寻探真理的白发少女,在遥远的移民星球与机械构造作战,克服艰难险境在历经无数生死之后,那最终迎来的一切只是开始,历史似乎一直在轮回中。世界是被异常的嗜睡症击中,并出现大量人员昏迷。蔡苏宇陷入异常的嗜睡症,被转移到次元战场。一群怀有信仰、爱 、奇迹的人谱写的神话尘寰外,碧海中,桃花之间桃花岛。秋风起,海波兴,几度潮来听玉箫。且看东邪黄药师传人,如何纵横都市。满天神佛朝我跪拜,天下美女唯我独揽!已完本,放心阅读。不一样的江山,不一样的大明,看我王不死如何发财,玩转娱乐圈,嚯嚯大明帝国。在兵荒马乱的战国时代,人们过着胆战心惊的生活。于姑苏城外几里,杨氏族人根植于此,躲避战乱。杨远之是在战乱之中成长起来的孩子,对于收复故土,安定和平有着远大抱负。既已加冠之时,其父给予传家宝——杨家剑,助七收复故土,安定河山。杨远之不负众望,驰骋沙场,终于收复故土。然天有不测风云,人有旦夕祸福,亲人们一个个离远之而去,他痛恨生命得脆弱以及自己得无能为力,于是遁入空门,从此姑苏城外只有一个故事,只剩一个传说。
至尊成魔 内心的欲望 剑仙:开局成为万磁王 国企高管的遭遇 寒门小王爷 一道生万物 我真不是始皇帝啊 重燃1990 荒原之上 醉叙江湖梦 无道圣人 异魔, 驸马爷快跑,公主要找你报仇 雨做的风 烽动 中州造神记 鸦之报返 我好想,再见你一面 狗磊的异世界生活 天赐神机 帅气漫画的qq头像图片女生头像 头像有交通标志 车头像布加迪的车 血红色背景头像 帅气漫画的qq头像图片女生头像 鲜花蝴蝶qq头像大全 车头像布加迪的车 pp头像tfboys带字女生头像背影 手绘眼镜女生头像 非主流拥抱头像图片唯美 歪歪高清头像 歪歪高清头像 柴犬狗头像搞笑 头像有交通标志 红衣服女头像海边 血红色背景头像 高清清秀男生头像 手绘眼镜女生头像 卡通头像猫咪男 手机控头像女生双马尾 头像有交通标志 手机控头像女生双马尾 卡通头像猫咪男 外国女孩闭眼睛头像 qq爱情头像文字图片大全唯美 柴犬狗头像搞笑 帅气漫画的qq头像图片女生头像 女生闺蜜头像两张霸气黑白 卡通头像猫咪男 手绘眼镜女生头像 血红色背景头像 高冷点的头像 签名设计加头像 红衣服女头像海边 伤心的头像男生2次元 家居头像图片 签名设计加头像 车头像布加迪的车 柴犬狗头像搞笑 qq头像背影情侣字母 家居头像图片 pp头像tfboys带字女生头像背影 钢铁侠头像图片 高清清秀男生头像 致我们终将逝去的青春头像 高冷点的头像 歪歪高清头像 家居头像图片 柴犬狗头像搞笑 戏曲扮相头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 降临自己创造的世界 爱面子的克里斯托先生 末世异能之王 我的前世记忆之太古山海 黎明笼罩 百度 百度 百度 百度 百度 动漫男生头像黑色系 手绘眼镜女生头像 血红色背景头像 pp头像tfboys带字女生头像背影 手机控头像女生双马尾 致我们终将逝去的青春头像 柴犬狗头像搞笑 男生头像侧脸唯美 家居头像图片 qq头像男生冷冷的v qq头像男生冷冷的v 钢铁侠头像图片 钢铁侠头像图片 鲜花蝴蝶qq头像大全 伤心的头像男生2次元 女生闺蜜头像两张霸气黑白 签名设计加头像 高冷点的头像 歪歪高清头像 手绘眼镜女生头像 外国女孩闭眼睛头像 恬恬萌娃头像 pp头像tfboys带字女生头像背影 伤心的头像男生2次元 高清清秀男生头像 签名设计加头像 签名设计加头像 恬恬萌娃头像 恬恬萌娃头像 非主流拥抱头像图片唯美 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网