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"
对谁谁说作文300字冬季竞选稿作文五年级方言作文英文恩施饮食文化作文动物的汉字和英语作文对谁谁说作文300字二年级小作文我的手工方言作文英文二年级洗碗作文500字反省的高考作文动物的缺点作文400字对谁谁说作文300字对待残疾同学英语作文动物的缺点作文400字方言作文英文反省的高考作文二年级有趣作文教案动物的汉字和英语作文动物的汉字和英语作文二十四节气作文 立春仿写万年牢作文70字二年级作文纸青蛙二年级洗碗作文500字冬天的雪花作文800字发现作文400字初中动手动脑作文二年级恩施饮食文化作文二年级描写桃子的作文二十四节气作文 立春读书的收获 作文800字穿越洪武年间,身为凤阳县令的岳麟,竟被权相胡惟庸弹劾贪污! 皇帝大怒,微服私访,被当做“暴发户”的老朱,自然得到了岳麟的亲切接待。 “这是后膛枪,买了它,北元鞑虏灰飞烟灭,任谁都要给你几分薄面!” “这是工艺坊,十岁小孩弹溜溜,百岁老人盘核桃,出口一本万利!” “这是福利院,老有所依,幼有所养,以后儿孙不孝,免费入住!” 岳麟只觉得,暴发户老朱身后的几个青年,看他的眼神之中充满杀气。 “奉天承运,皇帝诏,曰:岳麟奉旨贪污,为我大明富国强兵!” 世纪战乱,人为变更,年年战争最终玄武帝国统一了这片大陆,并命名为玄武大陆。秦一凡出生在黔玄城一个最穷,最偏僻的小村庄里,后来得知自己家族是道教三大顶尖门派伞旗一脉的传人,自己更是天赋异禀来是千年难遇的天纵奇才,为了逆天改命,复兴宗门,从此便踏上修真之路... 世纪之末, 仙路湮灭,前路断绝,动乱时代,宇宙重开,少年叶天重生于异域,从此踏上仙武大道,悟五行,领阴阳,掌握极致力量。堤岸横空,生灵争渡,不详与诡异肆虐。 少年的背后是血与乱,是生灵的悲歌,少年的探寻的是万灵之希望。彳亍前行,万古寂然,永远在路上。【灵异、悬疑、惊悚、探险、宠物、系统、游戏、搞笑】 废弃的别墅,消失的山村,黑暗的血楼…… 人头蜘蛛,红衣厉鬼,浑身是手的怪物…… 在这个深夜的恐怖世界里,王尊稳如老狗,遇人先问娘,杀鬼必扬灰,万事只求一个安稳! 别人还恐惧在诡异怪谈中时,王尊在惊悚游戏世界里杀疯了。蝶恋花,恋着花得美,暗香一夜的孤寂,层层锁住久别的思念。这柔情,却难似水,人不在是当初的人,魂不在是当初的魂,物是人非,万般纠葛的三世情结,随着考古队的深入,一步步走进真相。东阳的九菊一派,因谁而诞生。千年九尾又为谁落下最后一滴血泪......情有千千结,一世浮萍,一世繁华,一世凄凉......江水一方揽清客,一叶扁舟游湖。任他江湖诡谲,衷心不改。剑长啸,破天际。轶事重重,几载人依旧。咯做尼同学地图之外的高山等待着勇敢者的发现,传说在暴风与雷电盘踞的山巅,埋藏了古帝王用之不尽的的财宝。也有传闻......那处山顶,是囚禁了死神与亡灵的炼狱。皇上昏因悟道 征战四方寻求和平这就是我的宿命吗? 被赋予希望诞生,再被命运枷锁缚住,然后义无反顾走向深渊里与黑暗抗争…… 可当我看清这世间所谓的“黑”与“白”后, 我选择逆“正道”而行, 就算变成恶魔也要斩断这天道为我牵引的宿命线!
举国随我攻入神魔世界 三十四 大明:我的皇孙太强了 蛊道小子 天下第一才99级,你都9999级了! 星仙劫 谁是少年,谁不狂 末世重生:天灾降临! 超时空都市31号:征服世界 大秦纪 来自虚空的低语者 帝都往事之职场江湖 修仙恩仇秘录 藏武 我与自己对弈 幸运先生 灵霄之下 爆笑Z班 神游至人间 我以气血入道 冬季竞选稿作文五年级 反省的高考作文 二年级有趣作文教案 动物的汉字和英语作文 冬季竞选稿作文五年级 动物上网的作文 读书的故事作文700 防止水污染作文 动物上网的作文 对待残疾同学英语作文 读高考满分作文的感想 读高考满分作文的感想 冬天的雪花作文800字 反省的高考作文 对谁谁说作文300字 发现作文400字初中 扼杀好奇心的作文 动手动脑作文二年级 帆船小制作的作文 对谁谁说作文300字 鄂尔多斯美食介绍作文 方言作文英文 帆船小制作的作文 二年级作文纸青蛙 防止水污染作文 发生在的一件事作文400字作文400字 动手动脑作文二年级 帆船小制作的作文 仿写万年牢作文70字 动手动脑作文二年级 动物的汉字和英语作文 鄂尔多斯美食介绍作文 恩施饮食文化作文 对谁谁说作文300字 冬天的雪花作文800字 发现作文400字初中 发明和发现的作文50字 读书的故事作文700 冬天的雪花作文800字 发明和发现的作文50字 发现作文400字初中 放假中的趣事作文 二十四节气作文 立春 扼杀好奇心的作文 动物的缺点作文400字 鄂尔多斯美食介绍作文 读高考满分作文的感想 发现作文400字初中 发生在的一件事作文400字作文400字 二年级小作文我的手工 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 灵境圣者 我真不想当大侠 异界屠 神域战纪 全能者之双生者 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 读书的收获 作文800字 二年级描写桃子的作文 发现作文400字初中 动物的缺点作文400字 二年级作文纸青蛙 二十四节气作文 立春 读书的故事作文700 仿写万年牢作文70字 对手作文高中议论文 对谁谁说作文300字 对手作文高中议论文 对待残疾同学英语作文 对谁谁说作文300字 恩施饮食文化作文 放假中的趣事作文 冬天的雪花作文800字 动手动脑作文二年级 二年级作文纸青蛙 二年级有趣作文教案 扼杀好奇心的作文 读书的故事作文700 鄂尔多斯美食介绍作文 发生在的一件事作文400字作文400字 方言作文英文 扼杀好奇心的作文 放假中的趣事作文 反省的高考作文 冬季竞选稿作文五年级 防止水污染作文 读书的收获 作文800字