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"
关于看图写英语作文600字热点作文老鱼问小鱼 作文心灵深处的歌+作文邓州市历届中考作文关于看图写英语作文表演品社课本剧作文老鱼问小鱼 作文如何写一篇高分作文五个最好的作文题目关于走进城市作文关于看图写英语作文万能型英语作文模板关于走进城市作文老鱼问小鱼 作文五个最好的作文题目误解后的忠诚作文成功要有方法作文成功要有方法作文组建乐队英语作文勇于实践的作文素材成功要有方法作文如何写一篇高分作文关于以事写人的作文邓州市历届中考作文英语作文如何学化学心灵深处的歌+作文老师的教诲+作文高中英语作文加题目万能型英语作文模板一个少年,因为一场奇遇,拥有了超能力,怕被抓去切片研究,所以不敢显露; 但是,面对种种迎面而来的罪恶与黑暗,他又不得不挺身而出; 随着一次次成长与感动,他收获了友情、爱情,并始终和队友一起坚定地履行着保卫国家的使命,成为国家最后一道防线。 只是,为啥整个防线的气质...好像跑偏了?心海飘,心海摇,谁人知晓天地高。独撑孤舟荡青黄,见姜尚,慰寂寥,不知清梦何人扰。翩翩离梦虚若实,再回首,却是虚无缥缈,虚无缥缈……捞尸人的禁忌有很多,可总有人不相信,说是歪门邪道。 这不,带着校花总裁下一次水,捞一次尸。 她竟非逼着我和她生猴子!一朝穿越成为不学无术、荒淫无度的纨绔太子。 为了重塑自己的形象,得经得住诱惑、耐得住寂寞。 面对手下宦官的谄媚,朝中大臣的冷眼,一众弟弟的虎视眈眈,朱永笑了。 有母后临终前给的九十九道免死金牌,根本不慌好吧。 我就当着你的面捅了你,你能咋地?三国-争霸-(本故事纯属虚构,如有雷同,纯属巧合,请勿模仿。) 穿越东汉末年。 听闻:子龙一身是胆,却做保安队长? 据说:吕布死后,关羽看谁都是插标卖首尔? 传言:杀人屠城真英雄?携民度江伪君子? 众多迷题,静待卫鹰为你一一揭秘。 至于网传曹魏那点偏爱,东吴那点喜好? 卫鹰表示:“小孩子才做选择题,成年人自然都要。” 工欲善其事,必先利其器。 这一位面的大陆之初,便是存在着灵力之气和神兵之力两股力量。 灵力提高实力,神武提高战力。 修炼者将灵力修为分九转十二境: 感知境、淬体境、彻地境。 通天境、天王境、天灵境。 仙灵境、神灵境、圣灵境。 无界境、虚无境、乾坤境。 境界越高,越难突破。 稍有不慎,便是陨落。 则兵器共分为:地武、天武、灵武、仙武、神武五等。 其中可细分为;低级、中级、高级 则武学同样分为:地品、天品、灵品、神品 而其中也是由高到低分为:低级、中级、高级 普通大学毕业生,没人脉,没势力,通过自己的努力,成为国内工控行业的先行者。秦天明穿越小说世界,成为小说中一个戏份不多的反派。 系统:只要宿主你完美杀青,就能够带着本系统回到你原本的世界当龙傲天。 秦天明:简单,演反派我最在行了! 结果女主不按剧本来,开始疯狂倒贴。 秦天明:能别倒贴了吗?我只想杀青啊!男主呢?你怎么还抑郁了?!loser张谅一顿酒把自己喝回了千禧年间! 重来一次,看张谅如何把握住机会实现财富自由! 顺便谈几场轰轰烈烈的恋爱! 可是上学真的很痛苦…… 你还是把我送回去吧……我叫叶轩,别人武魂觉醒不是动物就是武器。 我不一般,我觉醒了个人!
努力的活下去 天道罚心 逍遥武帝 我!帝皇侠!胖揍钢铁侠 仙路尽头求长生 南平滋味 神话灵塔 天墟剑录 会长不菜 我在游戏世界无敌 大爱真仙 赛博朋克的最强跟班 虎石台月光 网游之神级幸运 大鼓皇后的婚事 灵魂潮汐 神医下山:我的绝美未婚妻 我无限流玩成了都市文 大道之无恨 谢邀,人在洪荒,拒绝妖皇 五个最好的作文题目 老师的教诲+作文 丢掉( )作文些事 观于安全的英语作文 五个最好的作文题目 新材料作文教学设计 心灵深处的歌+作文 高中英语作文加题目 怎样学英语作文60 用将来我是写作文 成功要有方法作文 邓州市历届中考作文 小题大作的英文作文 关于以事写人的作文 2003全国卷作文 600字热点作文 心灵深处的歌+作文 怎样学英语作文60 关于走进城市作文 英语四级常用作文 老师的教诲+作文 如何写一篇高分作文 英语对比类作文范文 英语作文如何学化学 关于以事写人的作文 小题大作的英文作文 怎样学英语作文60 英语对比类作文范文 关于走进城市作文 怎样学英语作文60 600字热点作文 老师的教诲+作文 作文:为了心中的梦 英语四级常用作文 万能型英语作文模板 600字热点作文 作文:为了心中的梦 丢掉( )作文些事 小题大作的英文作文 如何写一篇高分作文 勇于实践的作文素材 组建乐队英语作文 误解后的忠诚作文 邓州市历届中考作文 英语作文如何学化学 老师的教诲+作文 邓州市历届中考作文 勇于实践的作文素材 表演品社课本剧作文 老鱼问小鱼 作文 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 开局被雷公喷嚏劈死 张池的精彩人生 神魔在人间 穿越:赳赳大秦,做我打工人 我影响了世界 百度 百度 百度 百度 百度 关于走进城市作文 英语对比类作文范文 心灵深处的歌+作文 小题大作的英文作文 五个最好的作文题目 作文:为了心中的梦 2003全国卷作文 成功要有方法作文 新材料作文教学设计 观于安全的英语作文 关于走进城市作文 作文:为了心中的梦 高中英语作文加题目 关于以事写人的作文 万能型英语作文模板 邓州市历届中考作文 组建乐队英语作文 用将来我是写作文 老师的教诲+作文 关于以事写人的作文 关于看图写英语作文 丢掉( )作文些事 关于走进城市作文 如何写一篇高分作文 校园欺凌的英语作文 表演品社课本剧作文 勇于实践的作文素材 新材料作文教学设计 关于以事写人的作文 英语四级常用作文 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网