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"
学校生活作文开头和结尾心中有片海作文学校生活作文开头和结尾新芽800字初中作文叙事抒情作文100学校旅游的作文600字校园一角作文350写人物故事的作文400耶鲁大学毕业小猫作文写自己的伙伴的作文性教育作文题目学校生活作文开头和结尾新怀疑主义作文450字学业水平测试英语作文写人物故事的作文400写自己的伙伴的作文学校旅游的英语作文写一篇孔雀的作文300字写一篇孔雀的作文300字写我奶奶的作文一句话的启发的作文写一篇孔雀的作文300字耶鲁大学毕业小猫作文写大气污染的作文叙事抒情作文100写燕子的作文350字新芽800字初中作文写大气污染的作文写我奶奶的作文新怀疑主义作文450字我们就是一群游戏玩家。操纵一个角色在生活里打打杀杀。谁说那只是游戏呢?每一个角色后面,都有一个认真的灵魂。喜怒哀乐尝遍,却不改初衷。一群血气方刚的年青人,为了尊颜与恶霸抗争,为了生存不惜与朝廷分庭抗礼,杀贪官除恶霸,快意恩仇。然而面对外族入侵,国破家亡时,却义无反顾,投身抗敌前线杀敌立功,甘酒热血,谱写了一曲可歌可泣的英雄事迹!沧海桑田,世事多变!十里桃林之中,诞下一子,天现九龙,电闪雷鸣!一道龙符冲入体内……十二年后,奈何天妒英才,少年无法修炼,反而遭遇失亲之苦。 偶然间,少年无意觉醒了体内的龙符。无法修炼的原因也渐渐清晰。少年奋苦修炼,只为寻觅父母,手刃仇敌。 少年仰天一笑“吾之苦,何人知?无人会,踏玄灵!” 常情有些口渴,嗓子发干,说的话只有自己听得见,她想喝水,特别想喝肯德基里的加冰可乐,目光在破庙游走了一圈,发现神像后面有个小木桶,她站起身走到木桶前,木桶里面有一个舀子和干净的水,她拿起舀子装了半瓢水送到唇边,犹豫了几秒,仰头一饮而尽。 水很甜,口感和农夫山泉差不多,实在太渴了,此刻就算水里有毒,她也会喝下它。刚把舀子放回木桶,常情傻了,因为她看到木桶的水中倒映着另外一个人的脸。 水里是一张男子的脸,常情靠近仔细看,这男子年轻俊秀,穿着纯白的古装衣服,黑发齐腰,用白色的宽飘带束在头顶,模样十分好看。 “这不是我!怎么是男人?”常情摸着自己的脸,“这是谁?穿着古装!我穿越了······” 穿越成落魄的破烂仙神后,常情在寻找回现代的过程中又遇到了烽火可戏诸侯,他,他,他竟然成了鬼王丰羁! 平庸的三个少年,因朝廷高官的一起惊天阴谋而被卷入凤鸣阁中,并逐渐成长为国之栋梁,少年如何从阴谋之中一步步崛起,步步为营的一部好奇又将因为三个少年而卷起什么样的波澜,凤鸣之声为你揭晓三界之中,战乱纷纷,人神魔三族互争霸权,四大家族中的墨家出现内乱,家主失踪,次子墨守诚发动内乱,墨守信被迫出走,却意外到了…顺天,逆天,世人,亲友,一个个选择,一个个风波,一个个劫难。这是一个灵气的世界,一个科技的世界,一个乱世的世界,请跟随我,随墨守信的脚步,去探寻这个世界九灵大陆,广袤无垠!其上有修炼之人,可飞天遁地!大能之辈,更可移山填海!失忆少年,心中有梦!披荆斩棘,踏仙路而行!儿女情长,述世间痴情!热血澎湃,结兄弟情义!修神功,诛妖魔,终临世间之巅!落凡尘,一个还在上初中的13岁男孩,在一次梦境之后,打开了他对整个宇宙的好奇之路,开启了他探索之路为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   华夏,这片屹立于东方、曾经无比强大而神圣的大地,千百年来经过了无数次的王朝更迭,终于还是没落了,而曾经只能仰望华夏的西方终还是可以将其踩在脚下。至少西方众神是这么认为的,马上他们就要证明这整个东方以及整个世界都要拜服在他们西方神坻的脚下!这方没落的大地终将为他们所征服!可事实真的是这样的吗?水神共工、火神祝融、开天盘古...我等华夏诸神,定会护我华夏无恙。犯我华夏者,虽远必诛!
今后,我来决定勇者的道路 土夫子邓家国之离奇八卦 太古龙尊 我在末世能升级 万噬龙皇 哲学家与冒险家 笔仙之勇往直前 灵魂公司 G先生的异界旅行指南 无敌从进入梦境开始 海棠公园 我在沿途的风景等你 符仙传人在都师 盗墓诡异录之九层古冢 武综大冒险 回到过去当盖亚 洪荒:整个洪荒都在演我 全民高武我在武修堆里修仙 古关苍穹 西游灵明鸦 学业水平测试英语作文 小学生作文观察小猫 学校旅游的作文600字 一次的决定半命题作文 学业水平测试英语作文 写人的片段作文200字 学校生活作文开头和结尾 心中新芽作文600 性教育作文题目 写烦恼的作文300字 写日月星辰的作文450 写人物故事的作文400 写作文的秘决 写燕子的作文350字 雅思作文高分模版 耶鲁大学毕业小猫作文 学校生活作文开头和结尾 性教育作文题目 叙事抒情作文100 校园一角作文350 小学生作文观察小猫 学校旅游的英语作文 写一篇孔雀的作文300字 一句话的启发的作文 写燕子的作文350字 写作文的秘决 性教育作文题目 写一篇孔雀的作文300字 叙事抒情作文100 性教育作文题目 耶鲁大学毕业小猫作文 小学生作文观察小猫 写我家里人的作文 校园一角作文350 写自己的伙伴的作文 耶鲁大学毕业小猫作文 写我家里人的作文 学校旅游的作文600字 写作文的秘决 写人物故事的作文400 新芽800字初中作文 写我的伙伴的中学作文600字 写小动物作文100字 学校的困难作文开头 学业水平测试英语作文 写人的片段作文200字 学校的困难作文开头 新芽800字初中作文 写烦恼的作文300字 校园一角作文350 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 网游之盛世征途 请问你还在线吗? 师尊就是充电宝 笑傲江湖:开局签到迅雷剑法 九星荒天诀 亚星游戏官网 万利游戏官网 欧博游戏官网 亚星游戏官网 葡京官网 学校旅游的作文600字 一句话的启发的作文 学业水平测试英语作文 学业水平测试英语作文 写燕子的作文350字 写燕子的作文350字 一次的决定半命题作文 写小动物作文100字 写大气污染的作文 写一篇孔雀的作文300字 写作文的秘决 心中有片海作文 写烦恼的作文300字 写人的片段作文200字 写燕子的作文350字 雅思作文高分模版 一句话的启发的作文 一次的决定半命题作文 写一篇孔雀的作文300字 写一篇孔雀的作文300字 小学生作文观察小猫 写燕子的作文350字 耶鲁大学毕业小猫作文 一句话的启发的作文 心中新芽作文600 写烦恼的作文300字 写人物故事的作文400 新怀疑主义作文450字 耶鲁大学毕业小猫作文 性教育作文题目