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"
放学途中作文香发生身边诚信的事作文400字反省的作文题目放学的作文100方言与普通话英语作文放学途中作文香对校园爱情的英文作文反省的作文题目二年级作文青蛙放假三天的作文200字发现新事物的作文400字反省的作文题目对工作的责任心作文发现新事物的作文400字放学的风景作文100放假三天的作文200字儿时的梦想作文初一二年级早春作文100二年级早春作文100二年级妈妈我爱你作文放学了作文开头二年级早春作文100二年级作文青蛙奋斗的作文100方言与普通话英语作文二年级作文小猫过河二年级尊敬师长的作文奋斗的作文100二年级妈妈我爱你作文对工作的责任心作文  大脚从天而降把人类震回了原始时代,到处都是人吃人的恐怖景象……商业微信:zicsnk 同名漫画:https://afdian.net/@1994sr妖族,那是人族的好朋友,经常贡献妖骨妖皮,嗯,当然是过期的作废的。 魔族,妖族说那是我们跟人族的共同敌人,太不人道了,应该人道毁灭。 精怪,别动,谁都别动,那是能量,懂不懂,能量,都是我的! 这个世界,有人族,有妖族,有魔族,有精怪,人族只是其中最弱小的种族。梦凡意外获得诡异角色(使徒) 莫名的角色改变了自己的一生 最后发现惊天秘密究竟自己究竟该如何选择 不明日,灵气聚散,孕一神明,混沌始开。 清上浊下,天地得以开分。 绝地天通,分九重天,地十八层。 不周断,妖兽四起,尸山血海,民不聊生。 祖龙化力,平妖兽之乱,助秩序重修,现龙门、起天山,灵气借而复苏。 灵气始然,百家争鸣,拳脚技法、刀剑步招、丹药法门,皆而传之。 每逢十八,三界分合,灵气完足纯厚。 上天山,入重天,可获机缘,经劫难,入九重天,可为上神。 飞禽走兽,跃龙门,亦得造化。 妖兽鬼魅、近夜而行、夺精魄血肉、以逆天而修,堕入地浊,为大妖,称阎罗。 修士十八为修,替天行道,赶早悟化。 平常人家,不入不扰,食烟火、练拳脚,安之乐之。 周而复始,仙运再临,且看有缘者,乱世沉浮,得造化,显神通。 [友情提示:本书没有系统,搞笑玄幻,情节紧凑,热血有脑,后面更精彩!] 叶泽执行任务时被同行的师兄暗下杀手,走投无路跳入禁地烈风洞,幸得随身玄天玉显威相救。 后得美人画卷,为了你,我愿意与天地为敌! 李信时常被人调侃像王者荣耀中的李信,他同时也幻想着王者大陆。直到他真正的穿越,才领会到,那个世界的模样。在兵荒马乱的战国时代,人们过着胆战心惊的生活。于姑苏城外几里,杨氏族人根植于此,躲避战乱。杨远之是在战乱之中成长起来的孩子,对于收复故土,安定和平有着远大抱负。既已加冠之时,其父给予传家宝——杨家剑,助七收复故土,安定河山。杨远之不负众望,驰骋沙场,终于收复故土。然天有不测风云,人有旦夕祸福,亲人们一个个离远之而去,他痛恨生命得脆弱以及自己得无能为力,于是遁入空门,从此姑苏城外只有一个故事,只剩一个传说。飞星坠世,山庄尽屠,一老一少骑着大青马离去,十余年后,小子出成,老人带着他重回少林,掀开五十年前的江湖风雨,故事之后,小子又该何去何从? 江湖一统,究竟是壮举,还是阴谋? 背后之人,到底是英雄,还是奸贼? 佛门四蒂,上浩传人,华山君子剑,川蜀姥姥山,又将卷起怎样的江湖故事?烈烈风中,米罗慷慨陈述。也许有人会笑我愚蠢、鲁莽,但我要告诉大家,人类慢慢千年的历史中,就是那些旁人眼里的愤怒匹夫,不管兵甲漫天、屠刀如林,也死守尊严和底线,才有了冰山大陆的盛世百年。我选择做那个莽夫,因为我不愿在死后成为埋葬在黄土之下的冢中枯骨,放弃换来的苟活一命,买不走苍天大地上男儿的万丈豪情,我就要用今天的一战,在后世危难时刻放出照耀青史的一寸豪光。21世纪末期人类在经历了“姆源时代”后大部分工作已经被人工智能取代,“万灵”这款沉浸式游戏应运而生受到全球追捧。 一个在现实世界因为残疾灰心失意的年轻人终于在“万灵”中找到了心灵寄托,可谁知在新版本更新后“万灵”中的人竟再也无法回到现实,游戏中的生死同样决定了现实世界中人的生死...... 万灵之域,七国共域,战火与辉煌,魔法与热血...... 魔窟,鬼洞、深渊......越是探索越发现万灵大有隐秘,被数据表象包裹的诡谲事物下究竟隐藏着什么真相,外星文明的介入又究竟代表了什么?究竟是人类的进化还是异族的屠杀? 妄想成神的人终究要付出代价......
云上有长生 蓝星求生 变频 天不生我 四十魂玉 何以为家! 不憨二婿 612事件 摸金秘闻 黑白魔都 蛮荒世界的记忆:万王之王 真罪:永恒之时 地府基层员工日常 绝品仙医在都市 遇鬼的那些年 灵魂书屋 川枭 仰望星空的蛙 穿越在无尽世界当宅男 我才是地球的守护神 二年级植物小作文大全 坊子实践作文 儿时的梦想作文初一 方言与普通话英语作文 二年级植物小作文大全 读书是种享受作文600字 儿时的梦想作文初一 放学了作文500字初二 二年级作文小猫过河 对的决定英文作文 二年级作文青蛙 读满分作文有感400 多巧能衣服作文200 坊子实践作文 放学途中作文香 方言与普通话英语作文 防御老虎的英语作文 二年级作文小猫过河 二年级奇妙的想象作文 反省的作文题目 坊子实践作文 放学的风景作文100 发生身边诚信的事作文400字 发现新事物的作文400字 放假三天的作文200字 多巧能衣服作文200 二年级作文小猫过河 发生身边诚信的事作文400字 二年级奇妙的想象作文 二年级作文小猫过河 方言与普通话英语作文 反省为话题的作文题目 放学的作文100 放学途中作文香 奋斗的作文100 方言与普通话英语作文 放学的作文100 儿时的梦想作文初一 多巧能衣服作文200 放学的风景作文100 二年级尊敬师长的作文 对的决定英文作文 发展传统文化的作文 防御老虎的英语作文 发现新事物的作文400字 坊子实践作文 读满分作文有感400 二年级尊敬师长的作文 多巧能衣服作文200 对校园爱情的英文作文 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 侠骨天娇 异瞳通灵者 梦卜仙 了然若流 我与鬼神打交道 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 反省的作文题目 对热带雨林的作文 二年级植物小作文大全 奋斗的作文100 二年级作文小猫过河 防御老虎的英语作文 方言与普通话英语作文 坊子实践作文 读满分作文有感400 二年级作文青蛙 防御老虎的英语作文 反省的作文题目 二年级作文青蛙 发生身边诚信的事作文400字 发展传统文化的作文 对热带雨林的作文 对的决定英文作文 二年级作文小猫过河 放学的作文100 二年级早春作文100 方言与普通话英语作文 多巧能衣服作文200 对校园爱情的英文作文 二年级作文青蛙 二年级早春作文100 发展传统文化的作文 二年级妈妈我爱你作文 放学了作文500字初二 发展传统文化的作文 放学的风景作文100