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"
意外保险论文议论文范文要有事例子意外保险学论文音乐鉴赏通俗歌曲论文议论文作文评语优缺点意外保险论文议论文论证逻辑意外保险学论文议论文句式的角度赏析议论文完美标题议论文写作要素意外保险论文议论文名人素材100字议论文摘要怎么写意外保险学论文议论文完美标题议论文论据尊重人才议论文政府加强管理议论文政府加强管理议论文 网络环境议论文关于进退的论据议论文政府加强管理议论文句式的角度赏析议程设置论文议论文作文评语优缺点艺术欣赏类论文2000字音乐鉴赏通俗歌曲论文议程设置的相关论文议论文 理性和感性议论文名人素材100字 小家族叶羽出身平凡,偶得神秘黑塔相助,一步步成长为顶尖强者。 只手握捏千山雪,剑成可斩天上仙!天道无常,天道无情,包容万物,游离其外。无善无恶,无是无非,无恩无怨,无喜无悲!苦于无常,而困于如常。 建文四年,朱棣拖家带口举兵造反,攻进应天府时,最疼爱的太孙朱瞻基却离奇失踪。 朱棣大怒,认为是建文乱臣所为,遂屠杀一万四千余建文乱臣及家眷,流放三万余靖难遗孤,以表对太孙疼惜之意。 …… 十一年后,一少年乱了朱棣心智,朱棣时常化作普通老头,与他一起打猎。 “老爷子,我真不是你孙子,我是从死人堆里爬出来的,没有亲人。” 朱棣听着朱辰的独白,禁不住就落泪了。 “谁说你没亲人,我现在告诉你,你爷爷是永乐大帝朱棣,你是大明皇嫡长孙。” 朱辰:“老爷子,您别骗我了。” 朱棣道:“不信也罢,我欠你一个盛大的复辟仪式。” 次日,应天府白日宵禁,万人空巷,十万大明铁骑进城,为首一人,正是那身穿铠甲,龙虎精神的老爷子! 爷孙俩隔空对望一眼,朱棣一笑。 十万大明铁骑下马,恭敬跪地大吼:“恭迎大明皇嫡长孙回朝!”十年前,阿沃尔雪山的爆炸带着灯塔公司的辉煌一起进入坟墓。巴别塔公司在灯塔公司的尸骸上迅速崛起,以仿生人技术成为新兴大财团,与联邦政府携手控制25区。十年后,25区发生连环杀人案,高级督查徐一航奉命调查,却发现一切的证据指向不可能的方向,血腥的事件下是多方势力的暗流涌动,事件的真相到底能否水落石出?巴别塔公司与仿生人的命运又该何去何从?现代佣兵周文意外魂穿到民国学生周文身上。他利用穿越带来的一颗佛珠的神奇功能,再加上后世带来的经验、知识和技能。打造了一只武功高强、军事技术顶尖的佣兵团队。 他带领这支佣兵团,历经中原大战、淞沪抗战、称雄上海滩。装备了当世最先进的各种武器,最后投身于伟大的抗日战争中。带着兄弟们杀鬼子......穿越到了火影世界,穿越成为未被灭族的漩涡一族的族人,好在作为穿越者他也拥有必备的金手指系统,能够复制万能系统,我看一眼你这个禁术不错拿来吧,你这个血继限界不错拿来吧,你强任你强,系统最猖狂。本书又名《我在三国强行拼团》《三国砍我,我一人砍三国》 刘云穿越到东汉,绑定附身了拼团系统,本想活命发育,偏偏黄巾起义,一个不小心还将刘备给秒杀了,不得已卷入三国时代。 刘云:“开团了,赶紧冲!来呀,砍我呀!这点兵马,砍我都不够,怎么当反派的?” 刘云:“来嘛,切磋切磋,是兄弟,就来砍我,砍一刀,一刀接一刀,完事请你喝酒。” 只见刘云一路横跳,到处强行找人拼团,势力越砍越大。 天子脖子架着刀:“刘云,你再不登基,我就砍自己了。” 科技战争无限恐怖,核武威慑笼罩世界。新生代战神,逆势而上,以杀止戈,秀出无限风采。无字劫境 提笔纵回眸,阅尽人间事。 文朔两世轮回,只为一人。上九天,潜灵渊,然终究逃不过宿命。 天道囚徒,纵使不沾因果,不陷轮回,又当如何,百年孤独,空自叹! 花开缘起,笔落缘灭。 一段情缘,惹两世痴缠。 当为无字劫镜。金丹成,元婴现,化婴成神,一步修仙路,逆天成真神。 数万年前人界灵气盎然,人神同修,万年大劫将至,界面薄弱,魔界魔神率众魔族破虚空入人界,誓要屠尽人族。 人界尸骨成山,血肉成河,众仙陨落,为保人族延续,众神不惜元神灭,神体破,撕碎界面,与魔族同灭。 界面破碎,形成无数小界面,灵气稀薄。魔族重燃,一个个人族界面消散…
杀机汹涌 我们走过的十年 夜城侠影 天下奇功 从同居开始 仙魔双宝的无双父尊 天庭的世家代言人 遇见生命之梦 优雅杀手 异变灵界 我家的末世少女 我有一扇任意门 游历散记 星戒星神 系统大战老爷爷 我,魔教教主,开局镇压圣女 三国:灵堂诈尸,开局吓哭蔡文姬 西游开局天庭签到十万年 穿书反派的我只想杀青,女主人设崩坏了 今宵杯中映明月 议论文不能向权贵低头 议论文写作常见问题 议论文论据尊重人才 议论文政府加强管理 议论文不能向权贵低头 议程设置的论文 议论文理性的思考 议论文事例海明威 艺术欣赏类论文2000字 议论文名人素材100字 议论文句式的角度赏析 议论文句式的角度赏析 议程设置论文 议论文完美标题 抑郁症 毕业论文 议论文作文评语优缺点 议论文理性的思考 艺术欣赏类论文2000字 议论文关于进退的论据 意外保险论文 议论文写作常见问题 意外保险学论文 议论文范文要有事例子 议论文摘要怎么写 议论文完美标题 议程设置论文 艺术欣赏类论文2000字 议论文范文要有事例子 议论文关于进退的论据 艺术欣赏类论文2000字 议论文作文评语优缺点 议论文写作常见问题 音乐鉴赏通俗歌曲论文 意外保险论文 议程设置论文 议论文作文评语优缺点 因为论文延期毕业 议论文理性的思考 议程设置论文 因为论文延期毕业 议论文作文评语优缺点 议论文诗句引用 议论文 网络环境 议论文孔孟人生启示 议论文摘要怎么写 议论文写作常见问题 议论文句式的角度赏析 音乐鉴赏通俗歌曲论文 议论文 理性和感性 议论文论证逻辑 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 剑缘群侠传 上门狂婿 重生暗夜之王 奈何桥畔之彼岸花 人在异界我老婆是龙王! 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 议论文 网络环境 意外保险论文 议论文政府加强管理 议论文完美标题 议论文论据尊重人才 议论文政府加强管理 议论文诗句引用 因为论文延期毕业 议论文孔孟人生启示 议论文写作常见问题 议程设置的论文 议程设置的论文 议论文和论证文 议论文和论证文 议论文论据尊重人才 议论文理性的思考 议论文名人素材100字 艺术欣赏类论文2000字 议论文 网络环境 议论文完美标题 议论文论证逻辑 议程设置论文 议论文事例海明威 意外保险学论文 议论文理性的思考 议论文写作要素 艺术欣赏类论文2000字 艺术欣赏类论文2000字 议论文事例海明威 议论文诗句引用