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"
关于骄傲的作文650字吉安的春节作文400字花的奥秘作文200怀念母亲作文300字作文环保标语小作文关于骄傲的作文650字获奖的写大风的作文花的奥秘作文200环境保护作文二年级环境问题作文400字回家路上作文初中作文花的奥秘作文200回忆小学的作文开头结尾花园的发现作文200话题作文 磨练环境问题作文400字话题作文语文700字回忆春节作文500字回忆春节作文500字花园作文100字左右环境决定行为的作文素材回忆春节作文500字环境保护作文二年级环境保护英语作文雅思环保标语小作文环境决定行为的作文花朵的作文250字环境保护英语作文雅思花园作文100字左右回忆小学的作文开头结尾 道书有云:其身不败、肉身不灭、非是修罗、胜似修罗、其血一出、神鬼俱惊,其皆为不死者,亦为绝命人。 “外表的恐怖只是假象,真正的恐惧来源于内心。”这是接受过命运洗礼之后的林然说出的第一句话。 命运终究带给了他什么,又让他失去了什么。。 如果是世界根本不是你所看所想的那样,你的内心会不会就此崩溃吶? 一次又一次的险象环生不断告诉着林然:他还活着。。蓝紫相间的霓虹灯里,超凡文明与机械文明共存。 这个世界,有古老门派立道统,有隐世奇门藏与世,有财阀统领一座星球,诸强林立。 然,一天夜晚,大陆震荡,超凡与科技爆发战斗,而后沦为联邦禁忌。 五年后,一名为范歌的少年,开启了他的传奇之路...... 范歌:“虚伪的光明即将散尽,自由的黑暗必将到来!”当红歌手卫源一觉醒来,发现自己重生在平行世界的一个舔狗身上。 这一世,他有三个目标。 第一:赚钱!赡养母亲! 第二:成名!红遍全球娱乐圈,响彻大江两岸! 第三:痛撕天下绿茶! 顺便,把国民女神俞妙菡娶回家! “卫源,我们爱你!我要和你生猴子!” “卫源,请问当红天后柳冰冰对你暗恋已久,你打算怎么应对?” “卫宝,国民女神俞妙菡和新晋四小花旦之首的杨壹琳你选谁?” 聚光灯下,卫源侃侃而谈:“当然是选俞妙菡了!其他人都是我妹妹!”2350年,时空局正式成立,人类从此掌握了时空穿梭的技术,并派驻时空卫士驻守时空隧道。 因违纪而将要判处死刑的时空卫士叶北辰收到了没落家族苏家的来信 “给我取回一样东西,帮助苏家复兴,也能保住你的性命!” 叶北辰决定再次铤而走险,回到2020年,取回苏家所说的宝物! 但那个宝物,却深藏苏家府中… 为了深入苏家,叶北辰只能孤注一掷,参与到苏家与黑血集团的纠葛之中,最终竟成了苏家千金苏雪的贴身侍卫! 一个是落魄之时身边不离不弃的女孩,一个是苏家豪门千金,重任在肩的叶北辰在两个心爱的女孩中间反复地挣扎着… 时空爆裂,雷电骤起,未来世界一片火海,叶北辰竟成为最后的时空穿梭者,面对曾经抛弃他的未来世界,叶北辰又会做出什么样的抉择… 天下一方,为我苏斩。 天才少年的成神之路必定坎坷。三神一体到底是机遇还是阴谋。 这个世界到底还是我说了算,欺凌过我的人必定灰飞烟灭。 一切都是为了理想的世界。 主角林三受到指引,来到了北极之巅,最终触碰了上古仙帝王留下的印记,被传送至地下世界,林三是个孤儿,身份成谜,在地下世界里,被误以为是轮回天帝的转生,却得到了上古仙帝王玄子的所有传承,将在地下世界,展开一段新的篇章。原本是各个不同世界和地方的九位勇士,却因一次的使命而是他们走到了一起;今后的路,虽然漫长而艰巨,但他们之间的友谊与羁绊却不会因为任何原因而被斩断,不论在何方,都会把彼此深深地记在心里!!我的前世是个厨子。他叫刘半程。 这个前世的跌宕起伏,和因果造化,没想到竟影响了我的今生,还有今世......在梁山好汉被剿灭后,他们的子嗣追随他们再造水泊,同时张叔夜等雷将因为征讨方腊,田虎,王庆等贼寇惨遭折损大半,后再征讨梁山子嗣时,梁山子嗣终于诛灭三十六雷将,十八散仙,为其父辈报仇,后又接受诏安,前往伐辽,最后皆战死沙场一次奇遇,张枫的生活,不再平凡,各种美女闯进了他的生活,到底是该接受呢,还是接受呢?
伞侠 穿成神兽饕餮,被软萌校花召唤了 兽灵时代 飞升红尘 太上老君,只有我能救你 江海策 保安奇梦 坦途锦衣 垝垣 徐藤 下临诸河 星云上将 监视世界 女帝修仙路上的绊脚石 应是如此江山 废柴的重生日记 永黯星痕 诛天苍穹 无敌大帝之灵气大陆 大秦:我能召唤万物 湖南的美食作文400 欢乐正能量800字作文 话题作文语文700字 环保标语小作文 湖南的美食作文400 缓解交通拥堵英文作文 话题作文语文700字 活在当下的800字作文 环境决定行为的作文 活着的意义和价值作文 环境保护作文二年级 回函信作文英语 花木兰的作文二百字 欢乐正能量800字作文 关于骄傲的作文650字 环保标语小作文 画房子的作文300字 环境决定行为的作文 活泼开朗的作文 花的奥秘作文200 欢乐正能量800字作文 话题作文 磨练 吉安的春节作文400字 花园的发现作文200 环境问题作文400字 花木兰的作文二百字 环境决定行为的作文 吉安的春节作文400字 活泼开朗的作文 环境决定行为的作文 环保标语小作文 回家路上作文初中作文 怀念母亲作文300字作文 关于骄傲的作文650字 环境保护英语作文雅思 环保标语小作文 怀念母亲作文300字作文 话题作文语文700字 花木兰的作文二百字 话题作文 磨练 花朵的作文250字 活着的意义和价值作文 记手抄报过程作文 画房子的作文300字 花园的发现作文200 欢乐正能量800字作文 回函信作文英语 花朵的作文250字 花木兰的作文二百字 获奖的写大风的作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 共享精力 骨董江湖 一切从源武开始 修仙致富系统 诛魔帝 百度 百度 百度 百度 百度 花园作文100字左右 回忆春节作文500字 记手抄报过程作文 环境保护英语作文雅思 花的奥秘作文200 回函信作文英语 环境决定行为的作文素材 环境保护作文二年级 怀念母亲作文300字作文 关于骄傲的作文650字 花朵的作文250字 活着的意义和价值作文 环境报告作文三年级 花朵的作文250字 缓解交通拥堵英文作文 回忆小学的作文开头结尾 话题作文语文700字 话题作文语文700字 花的奥秘作文200 花园作文100字左右 活在当下的800字作文 环境决定行为的作文素材 吉安的春节作文400字 活泼开朗的作文 回忆小学的作文开头结尾 话题作文 磨练 回忆春节作文500字 环境报告作文三年级 话题作文语文700字 环境报告作文三年级 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网