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"
抗战70周年邮票怎么买两会珍邮邮票价格邓小平50分邮票1980年的邮票黄山信销邮票抗战70周年邮票怎么买米歇尔世界邮票目录邓小平50分邮票哪里能买都日本邮票猴2016年邮票预定黄河邮票卷轴邓小平50分邮票五十年代三角邮票黄河邮票卷轴西安邮票价格查询猴2016年邮票预定嫦娥飞船邮票设计2017年邮票含义2017年邮票含义特40邮票价格羊邮票的图片2017年邮票含义哪里能买都日本邮票红色邮票价格查询丹霞山 邮票价格2016科学家邮票丹霞山 邮票价格红色邮票价格查询特40邮票价格五十年代三角邮票33岁之前,我只是旺角这个繁华大都市的一个默默无闻的磨镜人,靠着祖传的磨镜手艺勉强维生。33岁之后,我的人生彻底开挂!一边捉鬼一边把妹,摇身一变成为穿梭在阴阳两界的旺角魔镜人! 只有鬼才知道我经历了什么! 轻歌入江湖,白衣腰系剑。讲述了“半家气运”吴家少爷吴忧,在大玄正历三十年,母亲遇刺后一蹶不振,进书房画地为牢十年,又因姐姐婚事被逼无奈,出阁游历江湖。 白衣是纸,血雨为墨,生死做画,为报杀母之仇,儿时约定,且看吴家傻子少爷,如何在庙堂与江湖中游刃有余,以腰间一把长剑,破开重重迷雾,最终名满收官,浪迹世界。单亲家庭的沈飞在父亲离奇失踪多年后,准备以父亲在他儿时讲述的《光明战士》的故事为素材,创作一部新的动漫,在与主管苏洁商量如何修缮人物形象的时候,突然天降惊雷,沈飞和苏洁被吸入进了二次元的世界,蛋生在了一个叫马来西的王国并被赐名“洛克”,在遍布黑暗的二次元世界里,他结识了很多伙伴,收获了很多在现实生活中还没有体验过的人情冷暖,开启了一段奇妙的二次元之旅,旅途中沈飞(洛克)意外地发现了父亲的蛛丝马迹,这让他感到意外地喜悦,十几年了终于有了父亲的下落,沈飞(洛克)按图索骥开始了寻父之旅……李戬穿越到了大虞王朝成了世子殿下,本想快活一生,却见皇帝昏庸,奸臣当道,一怒之下,诛奸佞!戮小人!挟天子以令诸侯!拳打蛮夷,脚踢倭寇!反手能镇八荒!覆手可定六合!剑士大陆发生巨大变动,斩妖除魔的无名者团队结束了日复一日的安逸生活,再度踏上了拯救各种族民众的旅途,他们会遇到什么?村子来个邪修,发现程天是传说中魔灵体以及魔灵根,便见他神智抹除,炼制成魔傀驱使。 后来控制你的邪修被杀,你得到了解脱后,发现自己来到高武世界,开始了新一轮故事。倒霉的赧海梓意外身亡并穿越到了阿拉德大陆,在这里,他是否会有好运呢?乱世佳人从亡灵开始逆袭之路。男人们闯世界去了,留守的女人们成了乡村一道特别的风景。在男人不在家的日子里,女人们都干了些什么?让我们一起走进《男人不在家的日子》,去掀开女人们的秘密,去分享女人们的甘苦,去为敢叫日月换新颜的女人们喝彩!本文为现实题材乡村小说,源于真人真事真景,是对现实世界的真实记录。李萧从小体弱多病,一场重疾最终无力回天。 “我要死了吗,我好不甘心。” 睁开眼,“咦,我没死呀,不过,这是哪里,我难道,穿越了吗?”
归璞 让你努力亏钱,这公司咋上市了? 赢得天下薄幸名 T3 这次穿到哪? 奇魄世界 阴阳路上有客栈 染血苍穹 藏武 千年之命 死亡祭禁 百诡生 最美神话 都市修真日记 灵仙江湖 命运:终末回响 酋长饶命 真是个迷糊蛋 逆生死破九天 修仙世界,我的鱼竿钓万物 力荡乾坤 马来西亚的茶花邮票 京津冀 邮票 嫦娥飞船邮票设计 黄山信销邮票 马来西亚的茶花邮票 福丽特国际和平邮票 嫦娥飞船邮票设计 《中国邮票全集》2016版pdf 2016科学家邮票 2014 14邮票 丙申猴年生肖邮票金 丙申猴年生肖邮票金 《正定隆兴寺》特种邮票 京津冀 邮票 抗战70周年邮票怎么买 黄山信销邮票 麋鹿无齿邮票纸质 2016科学家邮票 2016邮局邮票预定时间 邓小平50分邮票 京津冀 邮票 西安邮票价格查询 2016邮局邮票预定时间 黄河邮票卷轴 猴2016年邮票预定 《正定隆兴寺》特种邮票 2016科学家邮票 两会珍邮邮票价格 2016邮局邮票预定时间 2016科学家邮票 黄山信销邮票 8猴年邮票一套多 1980年的邮票 抗战70周年邮票怎么买 红色邮票价格查询 丹霞山 邮票价格 1980年的邮票 嫦娥飞船邮票设计 《正定隆兴寺》特种邮票 西安邮票价格查询 丹霞山 邮票价格 2014 14邮票 齐白石邮票价格2010年 麋鹿无齿邮票纸质 黄河邮票卷轴 8猴年邮票一套多 丙申猴年生肖邮票金 丹霞山 邮票价格 《正定隆兴寺》特种邮票 米歇尔世界邮票目录 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 南派盗墓笔记 鬼怪龙套的自我修养 系统修仙:惨遭天道封印 清净世界 帝陨妖尊 AG真人 亚星管理平台 亚星游戏官网 AG真人 百家乐官网 2016邮局邮票预定时间 1980年的邮票 《中国邮票全集》2016版pdf 黄山信销邮票 1980年的邮票 嫦娥飞船邮票设计 丹霞山 邮票价格 黄河邮票卷轴 米歇尔世界邮票目录 8猴年邮票一套多 《正定隆兴寺》特种邮票 猴2016年邮票预定 《正定隆兴寺》特种邮票 2016邮局邮票预定时间 特40邮票价格 2014 14邮票 邓小平50分邮票 五十年代三角邮票 2016邮局邮票预定时间 米歇尔世界邮票目录 五十年代三角邮票 《正定隆兴寺》特种邮票 邮票1998-17 丙申猴年生肖邮票金 福丽特国际和平邮票 丙申猴年生肖邮票金 黄河邮票卷轴 羊邮票的图片 黄河邮票卷轴 西安邮票价格查询