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"
小说 道具 威胁小说 勋章播种 下属 小说 怀孕网游之巅峰天下+墨沉香+小说远爱小说药王 小说动物小说 草原之王播种 下属 小说 怀孕宣萱的小说冷总裁的复仇计 不懂爱的妖 小说名角小说药王 小说考古笔记 小说名角小说播种 下属 小说 怀孕冷总裁的复仇计 不懂爱的妖 小说综漫耽美小说 赛巴斯远爱小说远爱小说你是我的禁果免费小说台湾小说 女主名字叫乐乐p.s小说宣萱的小说北美文学网 北美小说园有声小说别和她说话 小说结局 剧透网游之巅峰天下+墨沉香+小说朱高炽 朱棣 胖 耽美小说你是我的禁果免费小说黄帝到民国 小说在路上被校霸恶意绊了一脚发生了悲剧,肉体死亡,但是灵魂穿越到了异世界。 穿越到异世界的他,竟然拥有了肉体,而且肉体跟原来的一样没有变化,来不及想这些的他就被眼前不知名的生物给吓到了,为了活下去,他想尽了办法。我是天的审判者,弹指间人间灰飞烟灭。我是天的审判者,这个世界由我来定义。我有及其强大的实力,有过人的气运。我的一生是孤独的,也是精彩的。我用一生来寻求变强的理由,在我付出千辛万苦的努力下,最终找到了答案,原来变强没有理由。你富可敌国?你权倾天下?在我面前都低调些。 我叫赵铁柱,普通小农民,可我既能救你的命,也能要了你的命。道可道,非常道!天地不仁,体止而用无穷兮前世,他的父母对他不冷不淡,沉默的性格让他没有朋友。但他在游戏中认识了一位师父——5719。是他教会了他好多东西,使他不再那样的菜,同时也改变了他的沉默寡言。但不久,他的师父死于癌症,而他也死于车祸。 这一世,他重生到了一颗叫蓝星的星球上,mc的浪潮刚刚掀起,为了纪念曾经黑白的记忆与磨难,他便将他的网名取为【黑白记忆】,而他,将用这个账号,创造出璀璨多彩的传奇! ———————————————————————————— 题材:我的世界X转世重生 更新频率:2~3天一更,节日或支持者众多加更,期中期末停更1~2周 MC版本:随剧情发展 QQ书友群建立了,群号745702129,闲聊杂谈唠嗑催更都可以! 未经允许,切勿擅自转载!希望大家多多支持!来自地球的废材欧阳北,因为偶然缘由穿越到另外一个遥远的星球,遇到神秘人物盘卦,从此在穿越中提升,在提升中穿越,终成大器……宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110科技发达的海蓝星,与未知行星发成碰撞。 人类启用应急方案“冰封计划” 未知星球生命试图战领融合后的海蓝星。 因生存星球发生碰撞,一部分人觉醒了异能。 两个文明的大战,在解封千年后逐渐开始爆发。 绣春刀,锦衣卫,扫江湖,惩奸污,皇权特许,先斩后奏。秦风穿越回到20年前,他是否够成为地产行业大佬、做有良心的房地产企业,成为行业翘楚,且看他如何一步步走向人生巅峰。成就万亿企业,改变后世格局。
寒门忆梅 精灵:这只卡比兽有亿点大 锦钦 无敌县令,断案就变强! 带着宗门逃亡 弑天炼神 拳愿 智能迷失 村光乡野 我契约了一棵青色樱花树 共享精力 寂寞不说爱 灵气复苏:我的谪仙女朋友 繁花飞溅正当空 异域少年录 神兽召唤师 爸妈,我是你们亲生的吗? 血与火之歌:北境之王崛起 空间无限法 法医的秘密 朱高炽 朱棣 胖 耽美小说 女暴 小说 葫芦娃h蛇精小说 名角小说 朱高炽 朱棣 胖 耽美小说 快点干好爽小说 葫芦娃h蛇精小说 黄帝到民国 小说 北美文学网 北美小说 动物小说 草原之王 台湾小说 女主名字叫乐乐 台湾小说 女主名字叫乐乐 图书馆 小说一般怎么分类 女暴 小说 小说 道具 威胁 名角小说 宣萱的小说 北美文学网 北美小说 别和她说话 小说结局 剧透 网游之巅峰天下+墨沉香+小说 女暴 小说 园有声小说 别和她说话 小说结局 剧透 冷总裁的复仇计 不懂爱的妖 小说 考古笔记 小说 图书馆 小说一般怎么分类 北美文学网 北美小说 小说 勋章 别和她说话 小说结局 剧透 北美文学网 北美小说 名角小说 生 流年染指悲伤 小说 远爱小说 小说 道具 威胁 你是我的禁果免费小说 p.s小说 远爱小说 葫芦娃h蛇精小说 图书馆 小说一般怎么分类 园有声小说 p.s小说 动物小说 草原之王 播种 下属 小说 怀孕 宣萱的小说 冷总裁的复仇计 不懂爱的妖 小说 生 流年染指悲伤 小说 台湾小说 女主名字叫乐乐 p.s小说 图书馆 小说一般怎么分类 妾心如水 小说 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 时空尽头:圣灵大陆 妖玉传 冷轻侯之梦断回魂 这个召唤师不一样 我有最强召唤系统 葡京官网 快连下载 欧博官网 葡京官网 皇冠登3出租 女暴 小说 网游之巅峰天下+墨沉香+小说 宣萱的小说 宣萱的小说 远爱小说 p.s小说 播种 下属 小说 怀孕 女暴 小说 名角小说 妾心如水 小说 退役特工保镖 小说 网游之巅峰天下+墨沉香+小说 冷总裁的复仇计 不懂爱的妖 小说 小说 勋章 冷总裁的复仇计 不懂爱的妖 小说 图书馆 小说一般怎么分类 名角小说 p.s小说 退役特工保镖 小说 退役特工保镖 小说 小说我操弟媳 冷总裁的复仇计 不懂爱的妖 小说 园有声小说 p.s小说 生 流年染指悲伤 小说 考古笔记 小说 妾心如水 小说 你是我的禁果免费小说 园有声小说 小说 勋章