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"
衡水网页网站建设广东省信息安全测评中心 怎么样营销新创意网站内容要突出什么原因移动营销的优势劣势信息安全黑客吗信息安全领域的公司医院网站建设方案福州微信营销广州专业网站设计企业我叫李易一个,一个非常废的人。我呢也没什么追求,就想这样平静简单的生活,但……叶辰懂医术,会古武,下山后的他,还在幻想着自己逍遥纵横都市,吊打一切不服! 万万没想到,参加自己婚礼的时候,新郎竟然不是他……当修真者穿越到了现代,因为语言不通闹出了许多笑话。 谁能想到,一个不起眼学生竟然是修真界的最强者? 最强S级异能者?对不起,只需要一剑。 异能者和修真者的碰撞,核武和仙术的对轰…… 玄被未婚妻下休书,绝望之际,竟融合战神之魂,一夜突破至尊级 上苍凌云秘境,有正文记载的古籍可以一直追溯到文字诞生时。 无数年来,人族修士都只当它是一个历练之地,却无人知道它是一个墓地,埋葬着上一个轮回。时间长河若有尽头,我只看一眼,便回来找你。 哪怕武道极致,哪怕商道极致,只为那一句承诺。 什么《经商十年算法》,什么《武道十段成神》。 与我而言,倘若与你无关,便是浮云。九天路上谁为尊,一遇神帝万法空。上古天域,诸神逆战,神帝陨落伴九天玄石重生,以逆天资质修无上法门,铸混沌金身,力破苍穹,为报挚爱背叛之仇,兄弟夺妻之恨,他逆转苍天,法度万古,诛魔神,斩天妖,血染修仙路。王浩,小时候被爸妈抛弃,后遇到好心人收留,在他17岁以前,每天都给人打工,直到遇到落叶,而改变他的一生时空裂缝出现 人类必须躲避远古生物的抓捕 同时,大量未来生物来到现在 人类该何去何从 来自数百年后的特种兵王,穿越成为和自己名字同音的晚明皇帝天启身上。 狙建奴,收日韩,木匠皇帝?不,工匠皇帝!大国工业自明而始! 铁血皇明,平推世界!
江门网站设计 南通网站建设 南大街 网络信息安全最新技术 常用的信息安全防护技术 珠海企业集团网站建设 网络广告营销策划方案 公安部网络安全 营销推广的策划书 武汉营销公司 网站网络营销策略组合 前世今生的缘分再续【www.richdady.cn】 缺心眼咨询【www.richdady.cn】 冤亲债主干扰的常见案例【www.richdady.cn】 感情纠纷的情感疏导【www.richdady.cn】 前世今生的故事如何改变命运?【www.richdady.cn】 感情纠纷的前世因果【企鹅383550880】√转ihbwel 感情问题咨询专家咨询【企鹅383550880】√转ihbwel 前世缘份的前世今生【微:qq383550880 】√转ihbwel 婚姻生活不顺的沟通技巧咨询【微:qq383550880 】√转ihbwel 有官司的前世因果【企鹅383550880】√转ihbwel 解梦【企鹅383550880】√转ihbwel 耳鸣对睡眠的影响咨询【企鹅383550880】√转ihbwel 特殊学校的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的解决方法【微:qq383550880 】√转ihbwel 性压抑的前世因果【企鹅383550880】√转ihbwel 性压抑的案例分享【微:qq383550880 】√转ihbwel √转ihbwel 家庭关系的相处之道咨询【σσЗ8З55О88О√转ihbwel 前世今生的轮回有哪些真实经历?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 邪灵的驱除仪式【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 信息安全等级测评标准 杭州 网络安全公司 微信营销企业案例分析 整合营销一站式服务 武汉营销公司 河北网站优化 网站申请 信息安全保密技术,-1 视频营销推广软件哪个好 网站建设后怎么 信息安全风险管理活动主要包括 广州网站制 屈臣氏营销 工业网站建设 网络技术网站 网站色彩 网络营销新闻 网站内容要突出什么原因 企策和营销 创新的商城网站建设 信息安全领域的公司 易企网站建设 公司网站定制 宣传型网站 信息安全等级测评标准 网络营销新闻 建网站合同 网站色彩 小米成功营销案例分析 信息安全保护管理办法 国家信息安全认证产品型号证书 计算机信息安全 好三网网站 网络安全法 执法协助 中国信息安全产业联盟 seo属于什么营销 娱乐网站 建站软件 发信息安全吗 淡蓝色网站 基于站点网络营销方法 建手机网站一年费用 视频营销推广软件哪个好 地产网站建设 营销邮件免费模板下载 屈臣氏营销 网站备案教程 营销重要性 加强信息安全意识 杭州 网络安全公司 不属于网络营销的职能 不属于网络营销的职能 娱乐网站 建站软件 建网站地址 屈臣氏营销 海淀手机网站设计公司 家具网络营销推广 合肥整合营销平台 深圳网站制作公司 衡水建网站 广东省信息网络安全 国家信息安全监管部门 信息安全考研高校 原生营销定义 深圳信息安全企业排名,-1 那些层属于信息安全技术 广东做网站 亚信网络安全产业技术研究院 搜索引擎微信与口碑营销 网络技术网站 网络安全战争 两会 网络安全法 个人网站制作 学营销网 建网站地址 网站申请 信息安全等级测评标准 网络安全展门票 中山网站推广 嵊州网站 免费的网站 南宁网络营销大学 计算机信息安全 烟草行业信息安全解决方案 微信营销企业案例分析 信息安全的系统性 建网站合同 那些层属于信息安全技术 创新的商城网站建设 网络广告营销策划方案 网站建设干货 信息安全风险管理活动主要包括 腾讯网络营销策划方案 青岛哪里可以建网站 织梦网站图片代码 为什么网站生成后不显示 商城网站建设新闻 南昌网站建设在哪里 网络信息安全最新技术 北京信息安全学院 信息安全考研高校 公司网站定制 网红网站建设 深圳互联网营销 宣传型网站 营销推广的策划书 美国网络安全产业 网站网络营销策略组合 信息安全学院笔试 信息安全人员等级划分 信息安全资质咨询 高端网站制作 网络安全教育培训 衡水建网站 营销重要性 信息安全等级测评标准 公司网站定制 数据可视化网站 手机网络广告营销策划 企策和营销 信息安全人员等级划分 福州微信营销 移动营销的优势劣势 珠海企业集团网站建设 海淀手机网站设计公司 网站申请 济南学网络营销 信息安全实验室研究方向 网络营销效果报告 信息安全综合设计与实践,-1 屈臣氏营销 屈臣氏营销 广东做网站 中山网站推广 如何建立企业网站 网络直播营销 特点