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"
信用卡可以用些什么信用卡可以酒店刷卡么信用卡可以用些什么信用卡可以用些什么东西怎么办信用卡可以用些什么问题信用卡可以用别的银行信用卡可以绑定保险吗信用卡可以用些什么信用卡可以充值嘛信用卡农行可以取吗信用卡年费多少农行信用卡可以用些什么信用卡可以办分期么信用卡能自助加油卡信用卡可以用些什么东西信用卡农行可以取吗信用卡可以绑定加油卡信用卡可以在银行用吗信用卡可以在银行用吗信用卡可以淘宝消费吗信用卡可以结汇购汇吗信用卡可以在银行用吗信用卡可以充值嘛信用卡可以升级提额吗信用卡可以用些什么问题信用卡可以连续套现吗信用卡可以用些什么东西怎么办信用卡可以升级提额吗信用卡可以淘宝消费吗信用卡可以办分期么 即将转生的黄燚,竟被突如其来的系统选中。 本能开启全新而又美好的一生,但总是不如他意。 他是真的不懂,自己到底惹着系统什么了,变成了一堆不知名的玩意...... 但系统只能不停地复活着黄燚。 仿佛,对黄燚来说,有无数个下辈子等着他...... 但这一切,却是系统噩梦的开始......万丈高楼平地起,辉煌只能靠自己! 社会很单纯,复杂的是人! 穿越后的秦凌云只想做个躺平的富二代,赚点小钱,过过以前没过过的生活! 结果被迫营业,一不小心被皇帝弄进朝堂,混成了前世的打工仔模样! 不一样的穿越之旅,一样的家国情怀。特种兵赵阳一觉醒来却发现自己竟然魂穿三国时代,并且获得了无双帝皇系统。他从此开始收名将,纳美人,灭刘备,退孙权,拒曹操煌煌一世。曹操:“我曹氏子弟不如子炎分毫。”刘备:“谁能帮我除了赵子炎,我封他为王。”孙权:“赵子炎是上天派来惩罚我的吗?”赵阳:“我还没发力,你们全倒下了,还让我怎么玩啊?”最后问鼎江山一统天下。赵阳看着眼前的皇座,心中无限感慨:“我本低调,但实力不允许,奈何奈何~~”众星归位,不可名状的漆黑从天幕降下,向陆地蔓延。从深渊底层,混沌朝上一路扭曲疾驰而来。当触须沿着街道,穿过小巷,潜入家中,最后在一个刚将手伸进裤子的男人面前,它们还是选择了停下脚步。 “这位更是重量级”“不是吧阿sir这都能冲”它们用未知的语言交谈着,远离了疯狂挽留的黎普。默默签到十年的秦风,签到了太多的属性点。 有一天,赵高来到秦风面前,宣布他是祖龙大公子后要带他回去时,却发现他秦风的潜力太渣,当场要离开,让他继续留在这虚度一生。 这一天,秦风过去的那记忆涌现了出来,他终于知道他是谁了,他是祖龙的大公子,当初祖龙看他体质弱于常人,害怕他在皇宫被害,送在外面寄养。 这一刻,他秦风知道自己要把属性点点在什么上面了。 下一秒,他把潜力属性点点满了。 就在他等待着三天后,彻底激活潜力点时。 与此同时,天地变色。 激活金榜,金榜降世。 紧接着, 战力榜、名剑榜、剑神榜、杀手榜、组织榜,铁骑榜,统帅榜、气云榜等相继被曝光。 潜力榜第一,超凡入圣,属于大公子-秦风(原名:嬴风) 战力榜第一,九天之巅,属于大公子-秦风(原名:嬴风) 铁骑榜第一,大雪龙骑,属于大公子-秦风(原名:嬴风) 嬴政:“这就是我那体质弱的大儿子?!” 主角的重生很失败,没那么好的,但也总是要活出自己的人生价值,这便是主角的性格,也是他的成长历程。XX年间,天下大乱,群妖四起,官兵横行,百姓民不聊生。 天上众神,心疼百姓,特派紫微星下界,斩妖除魔,匡扶正义,救黎明于水火。 紫微星领命,下到人间,化身一名女子,隐居山间,观察人间百态,看遍民间疾苦,可悲可叹!一花一叶一少年,清风徐来半月阁! 千树万树终落叶,寻的半生安稳来!一群偶然相遇的20多岁的年轻人,一路西行,寻找自我和探寻未知的旅程。一个人如果能够回到过去,他的人生是否会发生变化,答案或许是肯定的!那么他是否也能够改变他人的命运呢,如果也是,那么又能改变多少呢?叶荇的这个故事就从回到过去开始......
小玄子与方苏昕 大夏执剑人 乡村教育随笔 众生平等 万物归零 杀破狼之千年劫 蔷薇之珞璃循梦 太史信列传 天下第一卦 创世神转生之旅 开局:永动机反物质 灵气复苏:我的谪仙女朋友 我在80年代当村长 异世盛燕 梦 魇 不知天已明 侠匠一侠傲天穹 我的一米书屋 阴阳巫眼 武极瀚虚 异境:再度崛起 信用卡可以刷预授权吗 信用卡可以办分期么 信用卡可以冲微信吗? 信用卡年年利率 信用卡可以刷预授权吗 信用卡可以提前几天还款 信用卡可以冲微信吗? 信用卡可以绑定保险吗 信用卡可以淘宝消费吗 信用卡可以绑定加油卡 信用卡可以酒店刷卡么 信用卡可以酒店刷卡么 信用卡可以用些什么 信用卡可以办分期么 信用卡可以用些什么东西怎么办 信用卡年年利率 信用卡可以结汇购汇吗 信用卡可以淘宝消费吗 信用卡可以扫微信嘛 信用卡可以用些什么问题 信用卡可以办分期么 信用卡可以用些什么问题 信用卡可以扫微信嘛 信用卡农行可以取吗 信用卡可以办分期么? 信用卡可以用些什么 信用卡可以刷预授权吗 信用卡可以升级提额吗 信用卡可以扫微信嘛 信用卡可以淘宝消费吗 信用卡可以用些什么问题 信用卡年年利率 信用卡可以用些什么东西吗 信用卡可以用别的银行 信用卡可以升级提额吗 信用卡可以用些什么问题 信用卡可以用些什么东西吗 信用卡可以绑定加油卡 信用卡可以刷预授权吗 信用卡可以用些什么东西 信用卡可以用些什么东西怎么办 信用卡欧元还款 浦发 信用卡可以提前几天还款 信用卡可以充etc 信用卡能自助加油卡 信用卡年年利率 信用卡可以充etc 信用卡可以用些什么东西怎么办 信用卡可以刷预授权吗 信用卡可以绑定保险吗 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 和小秘一起探寻隐秘 全网狂黑,我逆流而上 私家侦探之小人物 全职游戏设计师 乾元大帝 澳门葡京游戏官网 AG真人 快连下载 澳门葡京游戏官网 欧博游戏官网 信用卡可以扫微信嘛 信用卡可以用些什么东西吗 信用卡可以刷预授权吗 信用卡可以扫微信嘛 信用卡年费多少农行 信用卡可以升级提额吗 信用卡可以提前几天还款 信用卡能自助加油卡 信用卡可以用别的银行 信用卡可以充值嘛 信用卡可以用些什么东西 信用卡可以充值嘛 信用卡可以办分期么 信用卡可以冲微信吗? 信用卡可以用些什么东西怎么办 信用卡可以快速注销 信用卡可以用些什么问题 信用卡可以办分期么 信用卡能自助加油卡 信用卡可以用些什么 信用卡可以绑定保险吗 信用卡可以用些什么东西 信用卡可以在银行用吗 信用卡可以办分期么 信用卡可以在银行用吗 信用卡可以升级提额吗 信用卡年费多少农行 信用卡可以扫微信嘛 信用卡可以冲微信吗? 信用卡可以刷预授权吗