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"
公园里的桥作文300字作文关于朋友的作文750字公园里的变化200字作文关于青年的作文500字关于生存的英语作文关于阅读的作文写人的关于我的2017的作文公园里的变化200字作文关于假日的英语作文关爱与和谐作文关于清明的话题作文公园里的桥作文300字作文关于下暴雨的英语作文关于我们的学校作文公园里的变化200字作文关爱与和谐作文关于想象的作文初一关于爱的作文(1000字)关于爱的作文(1000字)关于桃子的作文。关于磨难的作文高中生关于爱的作文(1000字)关于假日的英语作文关于文具盒的英文作文500字关于生存的英语作文关于拼搏作文素材关于青年的作文500字关于生存作文题目关于青春懵懂的作文关于下暴雨的英语作文李白三入长安,却发觉长安陷入了一场巨大的危机当中。为了长安城步步为营的他,逐渐发现事情正向着更深的一层发展。。。金卷在手,天下我有! 文曲星下凡降世啦! 头脑简单,四肢发达的陈抟竟一夜之间成为文物双全之人?! 武曲星?文曲星 陈抟学渣的逆袭之路 架空历史,从古至今 敬请期待!十年武当之旅,到底是为什么? 父母又去了哪里? 那深邃的黑暗,通向哪里? 立在天地之间的那块石碑,是守护,还是入侵?由于核战争的爆发,大量的能量,摧毁了地表许多的城市但是一直在各种动植物体内沉睡的基因苏醒了。各种各位出现过的神奇动植物都出现。人类的生存空间越来越小……【我叫许夜,因为心脏病突发,我死了,享年十八岁。】 【我穿越了。】 【我翻开《全球通史》,却发现这世界只有一百年的历史。】 【我走到镜子前,镜子里出现了一双手,掐住了我的脖子,大概是我的帅气让他心生嫉妒?】 【我躺在床上睡觉,天花板上浮现出一张人脸,她看着我,死死地看着我,我缓缓脱下了裤子,她移开了眼睛。】 【我已经沉思了五分钟,这个世界太不正常了。】 这是一个极其危险的废土世界,到处充斥着扭曲、污染、畸变、疯狂……还有,许夜!建安十二年,郭嘉病重,生命即将走到尽头。 临死前,郭嘉拉着曹操的手,说出了一个秘密:吾弟郭泰,才能胜吾十倍,可助主公成就霸业! 曹操悲痛之余,三次到访,请郭泰出山,开局便是赤壁之战前夕。 面对诸葛亮草船借箭,郭泰直接送他十万支火箭! 周瑜:诸葛军师,你的十万支箭呢? 刘备:军师,你不是诸葛卧龙?怎么从来没有成功过? 司马懿:丞相为何要灭我满门? 曹操:吾有文政,犹鱼之有水也! 剑尘,江湖中公认的第一高手,一手快剑法出神入化,无人能破,当他与消失百年的绝世高手独孤求败一战之后,身死而亡。 死后,剑尘的灵魂转世来到了一个陌生的世界,并且飞快的成长了起来,最后因仇家太多,被仇家打成重伤,在生死关头灵魂发生异变,从此以后,他便踏上了一条完全不同的剑道修炼之路,最终成为一代剑神。 《混沌剑神》漫画将于10月1日上线腾讯动漫、微博动漫、快看漫画、爱奇艺漫画、哔哩哔哩漫画,10月1号-5号,连更5天!之后每周三、周六更新,自带金手指的剧情设定,你一定不能错过! 本书实力体系,由低至高——圣者,大圣者,圣师,大圣师,大地圣师,天空圣师,圣王,圣皇,圣帝。 了解更新情况,请关注微信公众号:xinxingxiaoyao110 或者微信公众号搜索:心星逍遥当红歌手卫源一觉醒来,发现自己重生在平行世界的一个舔狗身上。 这一世,他有三个目标。 第一:赚钱!赡养母亲! 第二:成名!红遍全球娱乐圈,响彻大江两岸! 第三:痛撕天下绿茶! 顺便,把国民女神俞妙菡娶回家! “卫源,我们爱你!我要和你生猴子!” “卫源,请问当红天后柳冰冰对你暗恋已久,你打算怎么应对?” “卫宝,国民女神俞妙菡和新晋四小花旦之首的杨壹琳你选谁?” 聚光灯下,卫源侃侃而谈:“当然是选俞妙菡了!其他人都是我妹妹!”睡不着时脑子里幻想出来的文。全国各地都有叫龙凤镇的小地方,本书故事就是从主人公小时候生活的一个名为龙凤镇的地方开始,从小时候听说的不明飞行圆盘,到神秘莫测的玉鼎山,主人公在一个乡村小镇开始了一段无法解释的神奇之旅。。。
我给信仰做帐目 废土从超级基地开始 青年龙旭的烦恼 元鸿纪 生而游戏 大宋:神级抽奖系统 放牛之世 璃水的雪 在下真不是道士! 绝武帝尊 灵异:镜子里的自己 极品鉴宝狂婿 网文大学笔记 圣钰 一剑飞雪任平生 毕加索的交流 白棋?黑棋! 杰厉 点道人 愛在海市蜃楼那一边 高中作文我与读书 关于清明节的200作文 关于想象的作文初一 关于爱的作文(1000字) 高中作文我与读书 关于铅笔盒的英语作文 关于小发明的作文350字 关于春花的作文800 关于拼搏作文素材 关于下暴雨的英语作文 关于假日的英语作文 关于你是我的太阳作文600字 关于文具盒的英文作文500字 关爱与和谐作文 关于阅读的作文写人的 关于生存的英语作文 关于小发明的作文350字 关于拼搏作文素材 关于磨难的作文高中生 公园里的桥作文300字作文 关于清明节的200作文 公园里的变化200字作文 关于朋友的作文750字 关于我们的学校作文 关爱与和谐作文 关于文具盒的英文作文500字 关于拼搏作文素材 关于朋友的作文750字 关于磨难的作文高中生 关于拼搏作文素材 关于生存的英语作文 关于清明节的200作文 关于时事新闻作文素材 公园里的桥作文300字作文 关于生存作文题目 关于生存的英语作文 关于时事新闻作文素材 关于小发明的作文350字 关于文具盒的英文作文500字 关于时事新闻作文素材 关于生存的英语作文 故乡的春 高中作文600字 关于桃子的作文。 关于你是我的太阳作文600字 关于我们的学校作文 关于清明节的200作文 关于假日的英语作文 关于青年的作文500字 关于青春懵懂的作文 关于我的2017的作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 我是李承乾 诸天从武林外传开始 诸天从葫芦娃开始 幸存者的獠牙 墨羽笙箫传 亚星官网 万利官网 欧博官网 亚星官网 AG真人 关爱与和谐作文 高中作文我与读书 公园里的变化200字作文 关于青年的作文500字 关于时事新闻作文素材 关于铅笔盒的英语作文 关于动物园的作文350字 关于你是我的太阳作文600字 关于生存作文题目 关于青春懵懂的作文 关于生存作文题目 关于清明节的200作文 关于文具盒的英文作文500字 关于阅读的作文写人的 关于阅读的作文写人的 高中作文我与读书 高中地理科技作文600 关于时事新闻作文素材 故乡的春 高中作文600字 关于我的2017的作文 关于下暴雨的英语作文 关于爱的作文(1000字) 关于拼搏作文素材 关于青春懵懂的作文 关于爱的作文(1000字) 关于清明的话题作文 关于爱的作文(1000字) 高中地理科技作文600 关于我们的学校作文 关于春花的作文800