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"
景山天气预报武汉下周天气预报最新新闻上虞实时天气灵丘24天气预报灵丘30天气预报景山天气预报灵丘一周内天气预报上虞实时天气上虞区天气气候贵州省遵义市11月份天气预报灵丘桃花山天气预报景山天气预报贵州省遵义市历史天气10月遵义遵义县天气查询上虞实时天气贵州省遵义市11月份天气预报开罗6月28日天气灵丘6月天气预报灵丘6月天气预报上虞2017年7月历史天气武汉天气预报水份太大灵丘6月天气预报上虞区天气气候2017.9.14上虞天气灵丘30天气预报肇庆近来天气如何灵丘24天气预报以色列首都天气百度上虞天气预报15天天气预报贵州省遵义市历史天气众生苦难,邪祟横行。 在这个人命如草芥的世界,凌云穿越而来。 并且随身携带【修改器】,任何武学在他手中,都能修改到极致! 猛虎刀法、金刚身、铁布衫……通通给我加满! 面对各种妖魔鬼怪,凌云浑身肌肉虬结,语气森然: “邪祟?我就问你抗不抗揍就完事了!&amp;quot;我没有太大的理想,生活在一个平凡的世界。没有重生穿越,没有异能修仙,只是经历着大多数人经历过,或者正在经历的事情。我只是在讲一个故事而已,有我的故事,也有身边人的故事。但生活其实也就那么回事,套用托尔斯泰在《安娜·卡列尼娜》中的那句名言就是:“幸福的生活都是相似的;不幸的,则各有各的不幸。”网游映射现实,大三学生江晓玩了十年的《神话》直到关服。 他把网游玩成了单机,制霸游戏各种榜单。 当别人还在打怪升级的时候,他已是满级存在,当别人拿着几十万战力炫耀的时候,他的战力早已超越一亿; 他是全服隐藏职业之首,精通所有职业技能,能随心所欲切换职业战斗形态。 且看江晓如何玩转灵气复苏的游戏世界。玄幻奇幻科幻交织的世界,包涵二十多条体系大道,僵尸、鬼怪、蛊毒、武道、机械师、魔法师... 洪荒大陆三十三重天,灵气复苏的七个星球,无尽星海,多元宇宙,而我只是个普通人…林寒是个“瞎子”每天都蒙着白色的布原因就是他的眼睛不是正常的颜色――金眸。他的祖宗是美术界的教父,尽管是个盲人但依旧无武术高深但是…到了林寒这一代就惨喽,这不碰巧摊上了末世。上一世他的父母被咬变为丧尸,他进化了他拼命杀丧尸时不慎被咬,果断自尽,当他再次醒来时竟然回到了高中时期他决定狠狠地干翻那些死而复生的行尸走肉……男主他很强你不要惹他在地球结束千年的内战,面向宇宙发展的时代之后,科技在不断进步,能源也在不断替代,同时新的危机也在悄然降临,为此地球一些预知者集结了财力人力,提前创建了一支名为守护的组织,提前代替军队同那些侵略异端生命体战斗,在条件达成后开始下一阶段守护人类的计划。 联系qq:3220027841死亡之后,异界重生,完成夙愿,成就空古道尊之位,名震诸天。穿越到大盛朝,无奈遭遇天崩开局,爹娘死得早,这个狗见了都摇头的混子把家财败了个干干净净,只留下一间破烂的茅草屋,就连吃饭都是有一顿没一顿的。   好在路上捡到一个漂亮妹子,还莫名其妙的就成了亲。   好吧,看着可怜巴巴、可爱至极的妻子和一贫如洗的家,作为无权无势的寒门农家子,黄廷晖只能开始凭借自己的双手,不断创造财富……周元意外的穿越到了全职猎人世界,触发了魔王契约,从此开挂,召唤魔界力量,吊打各路大神,带着主角团开始各种冒险,然后就各种宝藏收入囊中,想存老婆本,然而出来混总是要还的。[泛科幻·爽文·末世·丧尸]2199年,地球上的人类被迫通过各种方式重新认识“自己”。 原来,他们并不是地球原本的主人,或许,地球原本就没有主人。 苏美尔人与海王族人第一次星际战争延宕了100年之久 2199年, 战争和恶劣的自然条件使得人类数量迅速下降,从2099年的40亿暴风骤雨般地消减至1亿1千万 元世界被地球M国、约等国等瓜分为紫微星、太白座HDD等十三个区域,新的秩序即将来袭。。。 陈建国,这个D类人不知怎么就被推了上来。丧尸、修炼、称霸外星球。。。。 在地球,一亿多人被划分为A B C D四个等级,规则意识无处不在,为了保证生育质量,只允许A B 等级的人结婚。。
他可能不是人类 武学至圣 重生之从高一开始 翼世谛天录 曾以为天永恒不灭 变异之吞噬之主 玄武纪事 大漂客 晤极锦玄 弑爱如归 萨伽索之隐秘真相 伏魔之天尊传奇 星岸之下 圣法之巅:纪元 赛博朋克的最强跟班 天间录 绿茵江湖 九州无敌战神 异世界精苏系统:起家 视频:开局剧透大秦灭亡! 景山天气预报 巴丹吉林沙漠10月份天气 肇庆近来天气如何 灵丘县历史天气预报 景山天气预报 普宁7天天气 巴丹吉林沙漠10月份天气 上虞天气预报7天 肇庆近来天气如何 贵州省遵义市历史天气 上虞区天气气候 上虞区天气气候 2017.9.14上虞天气 贵州省遵义市11月份天气预报 上虞24实时天气 灵丘30天气预报 巴丹吉林沙漠10月份天气 肇庆近来天气如何 武汉天气预报水份太大 景山天气预报 灵丘天气预报历史气温 上虞实时天气 武汉下周天气预报最新新闻 10月遵义遵义县天气查询 上虞天气预报7天 2017.9.14上虞天气 肇庆近来天气如何 武汉下周天气预报最新新闻 武汉天气预报水份太大 肇庆近来天气如何 灵丘30天气预报 灵丘天气预报历史气温 灵丘24天气预报 景山天气预报 2017.9.14上虞天气 灵丘30天气预报 麻栗坡老山天气 巴丹吉林沙漠10月份天气 2017.9.14上虞天气 麻栗坡老山天气 灵丘30天气预报 贵州省遵义市6月天气预报 上虞2017年7月历史天气 巴丹吉林天气预报10天 10月遵义遵义县天气查询 灵丘天气预报历史气温 上虞区天气气候 灵丘24天气预报 百度上虞天气预报15天天气预报 灵丘一周内天气预报 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 大纪西游 魂门人 众神偏爱我们兄妹 孽 场 旅程:我在各世界旅游 百度 百度 百度 百度 百度 开罗6月28日天气 灵丘30天气预报 巴丹吉林沙漠10月份天气 普宁7天天气 上虞区天气气候 巴丹吉林沙漠10月份天气 上虞24实时天气 巴丹吉林天气预报10天 武汉天气预报水份太大 上虞2017年7月历史天气 武汉下周天气预报最新新闻 上虞天气预报7天 肇庆近来天气如何 上虞天气预报7天 灵丘6月天气预报 贵州省遵义市6月天气预报 2017.9.14上虞天气 灵丘一周内天气预报 2017.9.14上虞天气 灵丘30天气预报 上虞2017年7月历史天气 2017.9.14上虞天气 上虞天气预报7天 百度上虞天气预报15天天气预报 上虞实时天气 普宁7天天气 巴丹吉林天气预报10天 10月遵义遵义县天气查询 四会11月天气 10月遵义遵义县天气查询 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网