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"
作文 医生您真了不起英语作文:我为中国而骄傲我真没想到的作文关于描写可爱的兔子的作文250字标准作文速度作文 医生您真了不起我最喜欢去的地方是新西兰作文我真没想到的作文中学生作文珍藏记忆关于爱的作文不少于400字thank you 英语作文我真没想到的作文吃幸福的营养餐作文600字thank you 英语作文社团活动感受的作文关于爱的作文不少于400字技术课作文二年的我作文600字二年的我作文600字野外烧烤小学生作文名师作文立意二年的我作文600字中学生作文珍藏记忆小学毕业考作文开头高一新学期英语作文健康与残缺 作文高一新学期英语作文小学毕业考作文开头野外烧烤小学生作文吃幸福的营养餐作文600字少年被家族遗弃,遭受刺杀修为被废。 危难之际开启镇魂世界,神秘女子百般磨练,终修剑道。 自此修行坦荡,领悟无上剑道,修不灭剑体。 修武技,破苍穹,入圣域,掌握天下权,醉卧美人膝,翻手为云,覆手为雨, 轻挥手中剑,剑出移山镇海,诸天星辰陨落,横断八荒四野; 九洲雷霆动,剑气侵万古,临绝世剑神。十年前,滨海第一大家族林家一夜之间被灭族,唯一幸存者林玄被一路追杀,所幸危急时刻被一个小女孩救下,北上逃难。 十年后,林玄成为一代王者,但却在加冕当天卸下王冠,回到滨海......在这个钱财纵横的时代,没有钱你什么也不是,但是我史上最强富二代…… 美女成群,家族底厚。你跟我比!呵呵……异空间入侵,蓝星动植物变异狂暴,人类被迫让出大片土地,异兽活动区域,被称为荒原。   天赋觉醒为最低等级的江寒,意外绑定了网游系统。   只要杀怪,就能获得获得经验值升级。   “恭喜宿主击杀领主级异兽钢鬃野猪王,获得经验58965。”   “恭喜宿主使用天赋升级卡,当前天赋提升一阶。”   “恭喜宿主完成任务,奖励额外天赋卡槽*1。”   所有人都视荒原为禁区,担惊受怕,只有江寒视荒原为天堂,乐不思蜀。   “没有人知道江寒的上限在哪里,所有人只知道,他以一人之力,杀穿了整个荒原!”纪实文学上一秒还在午休的我 下一秒我睁开眼睛发现一切都变得陌生 我新买没有一个星期的空调呢,没有你我该怎么活 不对,现在我应该在梦里。 可是为什么被打会这么疼 够了,住手。想知道是不是做梦你不会打自己呀 我一脸无语看着刚认识不久的网红小姐姐天煞孤星的命格,不但带走了父母、亲人、自己也陷入困境。 直到十岁那年…… 民间那些诡异传说,神秘的乡野怪谈,全国著名灵异事件,比鬼怪更可怕的人心。 本书以第一视角为你讲述作那些年我遇到的灵异事件。 一切的一切都要从那件事讲起。五分钟一个武侠故事,我的一生,是你的一瞬本书一切内容纯属虚构,剧情以小说世界观为准,设定和现实世界有一定差异性。 这是一部战争向的科幻作品,这里描绘了人类的发展历程。 在黑暗的星空之中,在利益与道德之间,人类该作何选择? 面对比自己弱小的原始文明,亦或是强大的奇迹文明。 加入,守护,掠夺,进攻。 联合舰队,启航! 鸽子进化成不那么鸽的鸽子了!尽量一天一更。 本书是原创世界观,世界观很庞大所以需要大量时间来概述。 这本书讲的不是一个人,而是一个世界。简介天地初开,混沌演化,神魔大战数纪元,后逐渐归于和平,本以为世间再无战争,谁料一代魔神因爱人而欲毁灭宇宙,神魔大战再起,最终只留混沌魔神剑在人间。 一位来自地球的少年因祸得福偶得系统。“叮,恭喜宿主获得混沌魔神剑武魂,伴生魔武魂——魔种,不死魔神功,天魔轮回眼,魔改版烧烧果实,任意升级卡一张…… 望着自己的金手指,宁天越看越满意,且看少年如何一步步征战诸天,统御万界,与宿命之敌,且行且战。(前期只是过渡,至高位面才是精彩,简介无力,请看正文)
山村小仙农 红桃皇后 遮天帝神 通灵转校生 网游之方舟 三国:人在曹营,开局赤壁 陈氏专政下的宇宙 星海救赎 流浪修者 夜班出租车 屌丝暴富记 前世仇今生报 盘龙斗 末世炽焰 末世宠神进化系统 霍格沃茨的抽卡欧皇 大明少年志 重生之我是大主播 治山河 艾斯里的暴躁老哥 好事多磨的滋味作文 高考作文摆好心态 技术课作文 标准作文速度 好事多磨的滋味作文 新的一天新的开始作文 技术课作文 2016泉州质检作文题目 健康与残缺 作文 建党节作文 沐浴着党的光辉 凤凰传奇组合作文 凤凰传奇组合作文 请问记事作文怎么写? 高考作文摆好心态 作文 医生您真了不起 标准作文速度 数学中考之后作文四年级400字 健康与残缺 作文 怎样认为期末考试成绩作文英文 我真没想到的作文 高考作文摆好心态 社团活动感受的作文 怎样认为期末考试成绩作文英文 thank you 英语作文 关于爱的作文不少于400字 请问记事作文怎么写? 健康与残缺 作文 英语作文:我为中国而骄傲 怎样认为期末考试成绩作文英文 健康与残缺 作文 标准作文速度 festival 英语作文 关于描写可爱的兔子的作文250字 作文 医生您真了不起 小学毕业考作文开头 高一新学期英语作文 关于描写可爱的兔子的作文250字 技术课作文 请问记事作文怎么写? 社团活动感受的作文 高一新学期英语作文 建党节作文 沐浴着党的光辉 作文我们身边的景物 数学中考之后作文四年级400字 thank you 英语作文 festival 英语作文 凤凰传奇组合作文 高一新学期英语作文 请问记事作文怎么写? 我最喜欢去的地方是新西兰作文 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 霜冻烛炉 书圣门 清风夜陵 青玉仙石 蛮荒世界的记忆:万王之王 亚星管理平台 澳门葡京官网 葡京官网 亚星管理平台 万利游戏官网 作文我们身边的景物 我真没想到的作文 标准作文速度 thank you 英语作文 建党节作文 沐浴着党的光辉 好事多磨的滋味作文 作文我们身边的景物 凤凰传奇组合作文 新的一天新的开始作文 我最喜欢去的地方是新西兰作文 我真没想到的作文 英语作文:我为中国而骄傲 festival 英语作文 festival 英语作文 社团活动感受的作文 关于描写可爱的兔子的作文250字 作文我们身边的景物 作文 医生您真了不起 小学毕业考作文开头 二年的我作文600字 2016泉州质检作文题目 英语作文:我为中国而骄傲 野外烧烤小学生作文 关于爱的作文不少于400字 健康与残缺 作文 我最喜欢去的地方是新西兰作文 作文 医生您真了不起 怎样认为期末考试成绩作文英文 thank you 英语作文 thank you 英语作文