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"
美的价值作文议论文旅游作文200字英语名校参观者收费作文母亲故事英文作文开头结尾满分作文玉兔之死美的价值作文议论文美丽的田野作文总结名校参观者收费作文满分高考作文开头结尾茫然地走在小路上作文描写老师教学的作文名校参观者收费作文梦想的公园英语作文描写老师教学的作文美国快餐介绍英语作文茫然地走在小路上作文美丽校园的作文250字梅花赞作文精神梅花赞作文精神面对生活的态度英语作文理解暖心初三作文梅花赞作文精神满分高考作文开头结尾路在脚下作文800字作文妈妈给我讲题的作文妈妈微笑的作文800字妈妈给我讲题的作文路在脚下作文800字作文面对生活的态度英语作文梦想的公园英语作文元宇宙经典游戏出马传奇,沈庸一人独开四号,各有所长 另有三位妹妹辅助,四人共同纵横驰骋,称霸游戏!一觉醒来,平平无奇高中生池铭来到以御兽为主流的平行世界。在这里,猛兽、仙灵、巨龙、精灵、死灵......各种千奇百怪的生物掌握超凡之力曾经一度统治整个世界,而他,将成为唯一能够彻底征服(暴打)它们的御兽师!全世界乃至全宇宙最强的男人! 当千年前入侵蓝星的天外势力再度复苏,数以万计的图腾级生物掀起灭世之战,而挡在它们身前的竟然只有一个人! 池铭抬起头,睥睨百里之外的狂兽之潮,淡淡道:“抱歉了各位,此路禁止通行,要说为什么,因为我强!” 抬手之间,巨大的契约召唤阵中浮现出一道道宛若神魔般的恐怖身影。“小蓝,干他!” 宠兽等级:觉醒,超凡,统领,君王,霸主,图腾,神话洛小航,一个平平无奇的高中生,当几个美少女降临在他的世界,就此展开了一段爆笑的故事,新人写书,求支持,求打赏,求收藏,本书风格轻松幽默一个肉体强大的生物,误入这个魔法的异世界,会掀起什么样的巨浪呢?期待的他的旅程吧世界崩溃,只是一瞬间的事情 懒得介绍一位普通的初三学生在母亲去世后,生活愈发困难。就在万念俱灰时,从天空中飞下一束光线击中他,从此他的生活便发生了翻天覆地的变化三国-争霸-(本故事纯属虚构,如有雷同,纯属巧合,请勿模仿。) 穿越东汉末年。 听闻:子龙一身是胆,却做保安队长? 据说:吕布死后,关羽看谁都是插标卖首尔? 传言:杀人屠城真英雄?携民度江伪君子? 众多迷题,静待卫鹰为你一一揭秘。 至于网传曹魏那点偏爱,东吴那点喜好? 卫鹰表示:“小孩子才做选择题,成年人自然都要。” [无限流+灵异+悬疑+鬼怪。] 数十年前,袁文锦的爷爷因为一己私欲,与恶鬼做交易。 把自己孙子献祭给它,便保他一生福贵。 在袁文锦出事后他的爷爷便反悔,他要保下袁文锦。他借助黑暗的力量把袁文锦与一个神秘的地方链接起来。 恶鬼恐惧那力量,一怒之下便屠了他满门。只留下袁文锦一人苟活在世。高中生周宁意外穿越到三国时代,成为最惨穿越者,看他如何一步步从无到有,从弱到强,赢取白富美,走向人生巅峰。
惊悚游戏:我和女鬼姐姐交朋友 末日诛仙 红楼:我在贾府带妹修仙 世说阴阳 不安的骷髅 苟且偷生猥琐发育 守我的规矩 入道苍生 末日千万不要做的事情 几望之城 重生之少年狂想 新系星尘 繁华再现一一万物皇第三季 地宇之站 时空错乱之身世谜团 明末潜龙 诡姐讲诡故事 扶尘序 诸天传道系统 剑战诸天 描写爸爸的作文450字 妈妈微笑的作文800字 名校参观者收费作文 理解暖心初三作文 描写爸爸的作文450字 茫然地走在小路上作文 名校参观者收费作文 路在脚下作文800字作文 描写真情的作文1000字 描写人物样子的篇作文300字 母亲故事英文作文开头结尾 母亲故事英文作文开头结尾 马虎大意的作文 妈妈微笑的作文800字 美的价值作文议论文 满分作文玉兔之死 美丽的学校作文一年级 妈妈微笑的作文800字 旅游作文200字英语作文 名校参观者收费作文 描写真情的作文1000字 美国快餐介绍英语作文 旅游作文200字英语 描写老师教学的作文 茫然地走在小路上作文 描写人物样子的篇作文300字 妈妈微笑的作文800字 旅游作文200字英语 旅游作文200字英语作文 妈妈微笑的作文800字 满分作文玉兔之死 描写爸爸的作文450字 母亲故事英文作文开头结尾 美的价值作文议论文 路在脚下作文800字作文 满分作文玉兔之死 母亲故事英文作文开头结尾 美丽校园的作文250字 描写人物样子的篇作文300字 美国快餐介绍英语作文 妈妈给我讲题的作文 马虎大意的作文 名师中考作文讲座视频 美丽的学校作文一年级 描写老师教学的作文 描写爸爸的作文450字 妈妈我想对你作文说 妈妈给我讲题的作文 描写人物样子的篇作文300字 美丽的田野作文总结 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 金色传说之宇宙法庭 超品 本源入侵 年少帝王梦 隋唐生活启示录 欧博官网 亚星游戏官网 万利游戏官网 欧博官网 澳门葡京游戏官网 马虎大意的作文 妈妈想对你说作文500字作文 梦想的公园英语作文 美丽校园的作文250字 妈妈微笑的作文800字 美丽的学校作文一年级 描写京看剧的作文 满分高考作文开头结尾 梅花赞作文精神 美的价值作文议论文 描写老师教学的作文 旅游作文200字英语作文 妈妈我想对你作文说 旅游作文200字英语 美的价值作文议论文 妈妈微笑的作文800字 旅游作文200字英语 梦想的公园英语作文 洛阳小吃的作文600字 路在脚下作文800字作文 妈妈给我讲题的作文 描写人物样子的篇作文300字 妈妈微笑的作文800字 名师中考作文讲座视频 美丽校园的作文250字 妈妈我想对你作文说 美丽的学校作文一年级 名校参观者收费作文 面对生活的态度英语作文 美国快餐介绍英语作文