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"
大闹天宫邮票下面编号金陵十二钗邮票1997-16邮票邮票 林彪1996年邮票价格关于教师节的邮票傅抱石作品选特种邮票发行纪念1997-16邮票张大千 邮票2009-20邮票中国人民解放军大将 粟裕 邮票大闹天宫邮票下面编号邮票年册有收藏价值吗海峡殖民地邮票 普通1997-16邮票2009-20邮票jt字头邮票56个民族邮票价格56个民族邮票价格中国梦邮票设计河姆渡遗址邮票56个民族邮票价格张大千 邮票毛主席邮票价格1976——1977价格1996年邮票价格1878年发行第一套邮票邮票 林彪毛主席邮票价格1976——1977价格中国现代科学家(二)邮票邮票年册有收藏价值吗李明不敢相信这个世界真的存在妖、魔、鬼、怪,神,更没想到世界上真的有地方联盟专门维持着世间的秩序,和各种族间的平衡,并且因为一部手机,李明成了他们中的一员.....观前提醒:本书是一本更新很快的末世群像小说。 轩曜大陆,一个鼎盛帝国的覆灭。 魁霜帝国,一个废柴皇子的成长。 一切的一切就如同混乱一般,但一切都会有最终的归宿。 忆当年桃花开处,春泉汩汩, 恰告了相思回避,寒冰桁桁。 人们都说寒弑必须与天青相会才能 救人类于魔神之手 那么舜七溯呢?张强大学刚毕业就发生了父亲车祸死亡,有人利用家事躲避追责逃往国外,张强获赔一个废弃金矿,前往淘金时意外获得天外来物,来自M78星系的采矿飞船辅助系统,一步步收集能量,一步步制造科技,一步步强化身躯,炸R国神厕,灭M国黑宫,协助中国统治地球同志银河系!人类文明的进化、病毒变异和外星怪物之间的宇宙关系男主为了解开家族秘密,独自前往异世界,便开始了属于自己的阴阳师道路,期间男主结识各路英雄好汉,不断提升自己的咒术,最后解开家族的秘密。1227年,成吉思汗走了,主人翁来了。 练功,种田,开科技 傲视群雄扫四夷 想打就打,不服就干 弱鸡南宋,有我无敌一座危城,一条老街,一个念想,一个人,一群人,守一城。 陈枫重生异世,在最弱小的时候得到了一群最善良的人的帮助,为了一个念想守住一个城。守西北,入中京,踏塞北,这一世,希望可以活成自己想要的模样。系统傍身,杀一人,活一天; “以死神的名义,你必须死!” “以死神的名义,毁灭他们!” 死神:“呃...你不要坏我名声!”韩宁重生08年,回到了与德甲多特蒙德俱乐部青训队的友谊赛赛场之上。 开局觉醒系统,获得了巅峰罗纳尔多体验卡,获得钟摆过人技能,在友谊赛上大杀四方。 新任多特蒙德主教练克洛普此时就在场下,看到了韩宁的统治级表现,直接钦点将韩宁带到了德甲联赛,正式踏上了职业足球的道路。 ........... 克洛普:见到韩宁的第一眼,我就觉得他必然成为巨星! 齐达内:给我一个韩宁,我也能在欧冠赛场上蔑视群雄! c罗:我原以为自己是世界最强,韩宁让我认识到天外有天。 梅西:韩宁永远都是我要追逐的目标,自从他出现之后,我就再也看不到获得金球奖的希望了。 诺伊尔:别提他了,我都快成世界波背景板了。 林皇:有韩宁在,我怎么有资格称皇! …… 当韩宁带领国足重新杀回世界杯决赛圈,所有人的目标便一步步的提升,从进一个球到小组出线,从小组出线到获得奖杯! “有他在,我们就是世界一流强队!”风涌、浪起、神脉开;屠神、弑仙、踏九天。
营救公主吧 我是一只哈士奇 醉梦轮回 浩辰仙缘 三国戏说 我要成主宰 末日之天赋异禀 意识体病毒 最终序列 异市奇谭 龙陨时代 关于我成为反派这件事 别具一格 浮唯之真爱永存 大小姐的偷心保镖 我的无限超能力 我没想成仙 上仙来自20亿年后 最强小师叔 庶子谋路 邮票 哪里买 中国邮票投资交易网 jt字头邮票 56个民族邮票价格 邮票 哪里买 纪念巴黎公社邮票价格 巴西邮票在哪买? 凤翔木版年画邮票 1878年发行第一套邮票 邮票年册有收藏价值吗 张大千 邮票 表现科技发展的邮票 邮票中的科学家 2009-20邮票 关于教师节的邮票 1996年邮票价格 巴西邮票在哪买? 1878年发行第一套邮票 河姆渡遗址邮票 大闹天宫邮票下面编号 中国邮票投资交易网 1997-16邮票 金陵十二钗邮票 海峡殖民地邮票 普通 2009-20邮票 邮票中的科学家 1878年发行第一套邮票 金陵十二钗邮票 河姆渡遗址邮票 1878年发行第一套邮票 1996年邮票价格 中国邮票投资交易网 邮票 j5 大闹天宫邮票下面编号 毛主席邮票价格1976——1977价格 1996年邮票价格 邮票 j5 jt字头邮票 邮票中的科学家 1997-16邮票 邮票 林彪 孔子邮票2000-20(6-1)60分 中国梦邮票设计 表现科技发展的邮票 海峡殖民地邮票 普通 中国邮票投资交易网 表现科技发展的邮票 邮票 林彪 中国现代科学家(二)邮票 傅抱石作品选特种邮票发行纪念 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 绝影刺客 万相复苏 洪荒之彼岸 师弟下山 我的傻丫头,偷听我的心声 澳门葡京官网 AG真人 快连下载 澳门葡京官网 欧博游戏官网 邮票中的科学家 毛主席邮票价格1976——1977价格 表现科技发展的邮票 56个民族邮票价格 2009-20邮票 邮票中的科学家 郑板桥作品选邮票 表现科技发展的邮票 1997-16邮票 郑板桥作品选邮票 邮票 哪里买 关于教师节的邮票 邮票 哪里买 邮票年册有收藏价值吗 纪念巴黎公社邮票价格 1996年邮票价格 海峡殖民地邮票 普通 56个民族邮票价格 中国现代科学家(二)邮票 巴西邮票在哪买? 中国现代科学家(二)邮票 海峡殖民地邮票 普通 1878年发行第一套邮票 金陵十二钗邮票 1996年邮票价格 邮票 哪里买 毛主席邮票价格1976——1977价格 邮票 林彪 邮票中的科学家 jt字头邮票