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"
营销案例分析范例网络营销网站规划建设网络安全的严峻形势信息安全技术发展历程,-1信息安全等级保护备案端软件上海做网站网站建设公司浩森宇特维护信息安全的一般措施佛山新网站建设代理商信息安全技术发展历程,-1台州网站设计外包国家网络安全总局信息与网络安全概述达内培训 微络营销深圳无网络安全win10 wifi湖南网络安全峰会保卫网络安全信息安全技术 数据库管理无网络安全win10 wifi2017网络信息安全考试时间网站建设收费标准报价网络营销咨询网站源码幼儿园网站建设方案结语3g手机网站网络信息安全技术人才公安局网络安全设备狮山建网站互联网营销前景网络安全问题会议qq邮箱推送营销这是一个道的世界,它无处不在,但没有人能找到它,它规定了一切,让世界能够运转下去,当你去追寻它时,万千大道为你而开。我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。意外穿越,借尸还魂,王凯旋成了“战国诛妖人”。于是,他欣然受命,开始了叱咤风云的诛妖之旅…… 本书又名《开着飞机打妖怪》、《在战国的诛妖生活》——其实这是《成年人的童话》。 【画外音】 读者甲:“开着飞机打妖怪,这不科学呀!” 读者乙:“就是,战国哪有飞机?” 读者丙:“这书靠谱吗?” 读者丁:“作者这是在异想天开!” 千古絶唱笑道:“天下万事,皆有可能。诸位若不相信,跟书追读便见分晓……” 学生杨小东,无意中卷入一次激烈的足球赛后,便真正地热爱上了足球,经过一番刻苦的锻炼,更有一段离奇的经历,杨小东渐渐成长为了新的球王,他带领着自己的球队南征北战,东闯西杀,战绩辉煌,创造了一个又一个炫丽的神话……现实融合网游? 高玩是人形核弹? 为了给可爱童养媳治病,吕天穿越后果断开挂玩网游,觉醒SD天赋,无限复制敌人属性,并且果断低调选择职业奶妈! 属性高?拿来吧你! 残血了?不慌,一口奶爆! 人形核弹?不好意思,我人形二向箔! 满级龙女BOSS? 乖乖过来当坐骑吧你! ……如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。 一个屌丝青年,一只哈士奇,误被醉酒的大仙砸死,醒来后发现阴间竟真的存在。去官府告状自己冤死,被打入大牢,这才认识到阴间的腐败,清廉的官只有那钟馗,可去告状的人却又多到离谱,只能摇号去告状。可摇到的却是十年。十年间,他却想到一个前无古人后无来者的大胆想法,就是推翻仙人的统治,从新治理阴间!于是暗中用尽方法招兵买马,待吉时,便去大闹天宫!(本小说为喜剧,不是恐怖类型的,阴间的都市生活。)天道有缺,世间最强体质神魔霸体被天道所摒弃,十五年忍辱,终将迎来曙光! 大道枷锁自束己身桎梏又如何?我自当逆战苍穹,笑傲九重天,神挡杀神,佛挡弑佛,逍遥天地间! 一日破关,我为尊,一拳荡寰宇,一脚山河溃,一静万物生,一动诸天陨,一念可化阴阳轮回,一念可镇压永恒万古! 我为太古第一神王,天骄至尊皆是我帝路上尸山血海! 我当以一双铁拳,粉碎诸天万界,天道也不行!当恐怖蔓延开来,人性不再。 当规则不在,沸腾,恐怖肆虐,杀戮,血腥,贪婪,恐惧,侵蚀着身躯。鲜血浸湿大地,罪恶成了整个世界的真实写照。 灾变后的世界,最底层的人类该如何逃脱,除了死亡,还剩什么 ? 人类的未来,将在哪里? 每天保底一更修炼世界原本没有了妖族,几千年后,为何妖族忽然现世?为何师傅会再次叛变?太多问题需要解释了,燕雀和秦棋能解决这修炼世界中的灭顶之灾吗?
开源网络安全软件 重庆专业的网络营销 信息安全等级评测机构 qq邮箱推送营销 网神secfox网络安全管理系统v1.0有多少兆 信息安全运维资质 网络整合营销及推广 幼儿园网站建设方案结语 清华 信息安全 国家信息中心信息安全研究与服务中心 创做网站 要做网站 信息安全等级保护备案端软件 信息安全审核表 营销网站设计 幼儿园网站建设方案结语 网站备案幕 网络信息安全工作方案 防篡改佛山网站制作 网络和信息安全通报实行小时联络制度 幼儿园网站建设方案结语 信息安全二级认证费用,-1 网络安全培训提纲 2014网络安全大会 企业支付宝 营销策略 信息安全运维资质 网络安全 认证 移动互联网 金融网络安全试题 2016信息安全泄密案例 厦门网站制作品牌 维护信息安全的一般措施 营销诊断书 银川网站建设粉丝网站制作 网络安全等保测评 信息安全分为 国家网络安全总局 营销模式 定价策略 网络营销存在什么问题 信息安全等级评测机构 个人网络信息安全事例 深圳家居网站建设公司