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"
2016年邮票网上预订绿色两分邮票2016年邮票网上预订邮票版式一是大版吗2012年集邮总公司方连邮票册夫子庙的邮局还能买到邮票吗建行发型的猴年金邮票怎样用邮票寄包裹千里江山图邮票淘宝鲤鱼跳龙门邮票市场价邮票世纪宝鼎价格2016年邮票网上预订邮票金砖价格j13纪念周恩来逝世一周年邮票怎样用邮票寄包裹鲤鱼跳龙门邮票市场价用边长为四厘米的邮票二十枚北京居民八分邮票北京居民八分邮票2016年邮票大版票1980年奥运邮票北京居民八分邮票千里江山图邮票淘宝猴年红红火火邮票2012年集邮总公司方连邮票册桃花邮票现在价格邮票版式一是大版吗猴年红红火火邮票2016年邮票大版票邮票金砖价格域外战场为了让联邦科学家安全返回地星,第一小队队长杜宇珩让小队成员护送科学家返回地星自己选择断后,在击杀住5星外星魔兽后一只6星魔兽突然来到战场,杜宇珩带着深深的不甘消失在魔兽的攻击中。 没想到天不亡人,让杜宇珩重生到了《星域》发布的前一天,靠着前世的记忆在游戏与现实融合前就拥有了对抗外星的能力。魔族与鬼族大战,人类世界也受到了影响,传说只有夺取光明之剑,才有可能阻止这场大战,受师傅的嘱托,梅多亚立即踏上了征程,中途历经万千险阻,终成一代霸王事业!一觉醒来,赵然发现自己穿越了,还特么被女土匪抓去当压寨小郎君了…… 他只是想在这个异世界好好地过完这一辈子,但是他的命运早就和女土匪绑在一起了…… 走投无路的他,只能和女土匪在土匪的道路上越走越远……睁开眼,林浩强重生到和妻子离婚的当天。 上一世的他,五毒俱全,抛妻弃女。 弥留之际的他,得知老婆积劳成疾,早已亡故,女儿叛逆,十年牢狱之后,死于街头。 林浩强死不瞑目。 上天给了他一个重生的机会,还给了他一方小世界。 为了弥补上一世的罪孽,林浩强起早贪黑,拼命工作,把老婆和女儿宠上了天。逃到地球的陆源被人追杀,他不想就这么陨落,他要稳健,要苟住发育。 但是……他那便宜老婆家事有点多。 有人死的时候,把他们一家都托付给了陆源,他不喜欢麻烦,决定横推过去。一名学生,经历商业洗礼 一个传奇,历练终成奇迹 到底如何,且看商业风云黑暗降临的那一刻,全世界陷入了混乱……一名特战老兵面对凶残的变异者凭借一把消防斧杀出了重围,行走在满目疮痍的大地,他的伤口在慢慢结痂,基因序列在重新组合,一切才刚刚开始…… 王侯将相,宁有种乎? 泱泱大晋,达官显赫,人才无数。 但我罗明秋亦能以蝼蚁出身,搅动风云。 文官之首:“燕雀安知鸿鹄之志哉?吾亦不知罗明秋!” 镇国将军:“这一扎子读书人中,某最服的就是罗侯爷。” 真龙:“这龙椅,明秋君比我更合适!” 皇后:“与君相见恨晚,若不然,这后宫之主不当也罢……” 且看一介书生,如何拨弄这天下棋盘…… 九幽。幽深之极地,墟,是一个残破的世界。我要前往那儿,埋葬那儿的魂。这是个不寻常的修仙世界,修为越高,寿命越短。 凡人能活三百年,而修为每高一个境界寿元便减去一甲子。 练气、筑基、金丹、元婴、化神…… 寿元和实力,谁才是人类的真正选择?
天道数亿层 仙主之路 重生之龙吟凤鸣 绝品仙医在都市 从龙族开始拯救世界 百年锦衣魂 破茧之世 萬象之主 异世界众横 维度守护者 沉睡千年被挖出后,无敌 大梦浮屠录 大唐侠义传 校花的神级修仙保镖 大汉儒尊,诗成传世惊诸圣 天道外卖员 惊异:恐怖来袭 我在大荒炼体成仙 行尸走肉之百战神兵 莽夫的千年暴徒日记 1983天鹅邮票 邮票金砖价格 全国摇号邮票 邮票图案是狮子林 百分邮票收藏网 2016年邮票赠送版价格 2015面邮票哪里有发售 邮票 关公绢质小型张 桃花邮票现在价格 邮票金砖价格 千里江山图邮票淘宝 韩国1974邮票 1983天鹅邮票 邮票图案是狮子林 夫子庙的邮局还能买到邮票吗 2012年集邮总公司方连邮票册 2015面邮票哪里有发售 桃花邮票现在价格 1980年奥运邮票 2016年邮票网上预订 邮票图案是狮子林 怎样用邮票寄包裹 绿色两分邮票 j13纪念周恩来逝世一周年邮票 鲤鱼跳龙门邮票市场价 1983天鹅邮票 桃花邮票现在价格 绿色两分邮票 1980年奥运邮票 桃花邮票现在价格 2012年集邮总公司方连邮票册 邮票图案是狮子林 伟大祖国邮票价格 2016年邮票网上预订 猴年红红火火邮票 2012年集邮总公司方连邮票册 伟大祖国邮票价格 用边长为四厘米的邮票二十枚 1983天鹅邮票 怎样用邮票寄包裹 邮票版式一是大版吗 邮票金1180价格 邮票荧光码模糊 韩国1974邮票 j13纪念周恩来逝世一周年邮票 邮票图案是狮子林 韩国1974邮票 邮票版式一是大版吗 1983天鹅邮票 建行发型的猴年金邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 屌丝道士的异闻录 夜将起 仙人诀?! 怒血帝婿 暗天裂源起 亚星游戏官网 万利游戏官网 万利官网 亚星游戏官网 澳门葡京官网 邮票 关公绢质小型张 邮票世纪宝鼎价格 1980年奥运邮票 夫子庙的邮局还能买到邮票吗 怎样用邮票寄包裹 2016年邮票网上预订 百分邮票收藏网 邮票金1180价格 用边长为四厘米的邮票二十枚 桃花邮票现在价格 猴年红红火火邮票 桃花邮票现在价格 邮票世纪宝鼎价格 2016年邮票赠送版价格 邮票荧光码模糊 2016年邮票大版票 1980年奥运邮票 韩国1974邮票 2016年邮票网上预订 鲤鱼跳龙门邮票市场价 邮票图案是狮子林 邮票世纪宝鼎价格 夫子庙的邮局还能买到邮票吗 千里江山图邮票淘宝 绿色两分邮票 2016年邮票网上预订 怎样用邮票寄包裹 2016年邮票网上预订 怎样提高邮票的中签律 怎样用邮票寄包裹