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众云搜索网络营销泰安网站制作网络营销师是做什么工作的网络技术与信息安全在线营销策划培训课程微博营销的不足信息安全红蓝队少年天才于洋来到黄海市当保镖,且看他如何走上人生巅峰诸神之局,吾为棋,吾之局,众生为棋。 拥有神秘老者赠予的黑塔,拥有追寻武道之巅的决心,这一生必踏破天穹,手持天道,成为万千世界的至尊之神。王浩穿越到了修仙世界,成为了一名朝廷追杀的匪二代。 好在他觉醒了命运模拟器。 亿万次的模拟,只为主宰命运,寻找绝境中的一线生机,逆天改命。从城市回老家的青年,通过自身的经历,揭开现实下的真相,原来我们本就生活在科幻般的世界。叶墨带着记忆重生,来到了明朝,只是这里却和想象中不太一样。 在这里,有江湖 在这里,有权谋 在这里,有恩怨情仇 在这里一切的一切都将重新开始。在这崭新的大明中,且看叶墨如何书写自己的奋斗史。 是除魔卫道?还是匡扶正义? 兄妹情深,却各有其道。 他:身背伏魔剑,但是从来没有人见过他用剑。因为……见过他用剑的人…除了她…都死了。 她:身负魔教妖女之名,一手暗刃,一手吞噬,万千妖魔消失在她的手掌中。 魔族见之闻风丧胆,妖族闻声逃之夭夭。 至尊?一拳打爆。大帝?见了就逃。宋尘,表面上是一个算命先生,实际却是宋家第三十代捉妖师。看他如何与汉武帝刘彻一起冒险宇宙浩瀚无穷,凡人渺小似无。 命运无常,神魔亦如微尘,力有不及。 大道苍茫,九霄是何处?重回十五年前,林毅站在十字路口重新拥抱未来。 这是一家白天给活人吃面晚上给死人吃面的面馆。
政府机关网站制作模板 网站套用 跨境电商平台营销方案 创新型的顺的网站制作 国家信息安全部门电话 研究院信息安全管理 网络安全 热点 信息安全行业从业指南2.0 无线网络安全wep/wpa/wpa2 网络安全产品审查 网络营销属于物流? 互联网营销的总结 网络安全编程的特点 信息安全分级技术 深圳 信息安全培训 中国网络安全技术30所 网络营销渠道功能 焦作做网站 南宁建企业网站公司 众云搜索网络营销 做网站品牌 广东省信息安全企业排名 网站定制 软文营销素材 搜索引擎营销案例 中国网络安全信息小组 网络信息安全实施意见,-1 网络营销渠道功能 触摸网站手机 网络营销出来做什么的 广州信息安全服务资质咨询公司,-1 近五年网络安全大事件 焦作做网站 网络信息安全网站 网络广告营销广告预算 湖南网站推广 提升关键基础设施网络安全 国家信息安全部门电话 如何买网站 西安网络营销电子商务培训课程 设计网站平台风格 微博营销的不足 网络安全论坛 2017 东莞制作网站 网络营销公司多少石家庄公司网站建设 广州企业网站设计公司 长沙定制网站 网站套用 十大网络安全事件 网络安全综合治理行动 北邮 信息安全 国家线 饭客网络安全论坛 设计网站平台风格 国家网络安全信息中心招聘 做网站品牌 免费营销 网络信息安全公司的售后 信息安全攻防实验员,-1 网络安全产品审查 焦作做网站 北京信息安全公司 如何网络安全建设 网络信息安全网站 建阅读网站做网站编程 跨境电商平台营销方案 研究院信息安全管理 网络安全常用工具 网络安全厂家分类 网站有什么作用 网络安全法 数据公司 东莞制作网站 网络营销渠道功能 国家信息安全最新政策 网络营销与政治 广东省信息安全企业排名 信息对抗与网络安全 如何买网站 企业网络安全视频 网络营销事件案例 国家信息安全最新政策 病毒营销的产品 旅游企业网络营销案例分析 深圳 信息安全培训 中国信息安全十大公司 网络安全的四梁八柱 政府机关网站制作模板 网络安全 教学安排 小型公司网站建设 熟人关系营销 网络营销公司多少石家庄公司网站建设 网络安全 宣传周 网络安全培训流程 五一节网络营销 信息安全等级保护指南 信息安全分级技术 网络安全4hou 北京旅游型网站建设谷安网络安全 病毒营销的产品 网络营销属于物流? 网络营销渠道 网络安全备案 网络信息安全实施意见,-1 无线网络安全wep/wpa/wpa2 泰安网站制作 app的社会化营销案例 网站网络安全制度内容 搜索引擎营销sem概念 明星营销 网站设计方案 深圳市信息安全 网站建设公司浩森宇特 军用信息安全产品认证证书查询 网络安全法 香港 网络安全 宣传周 网络营销与政治 网络营销出来做什么的 2017 信息安全展会 营销具 国家信息安全部门电话 网络安全宣传周专题 网站是怎么做的吗 网站的主机 媒体营销推广汇总 最佳珠宝营销案例 中国网络安全信息小组 营销一体化 网站定制 肇东市网站 信息安全专业报名 中国网络安全技术30所 湖南品牌网站建设 五一节网络营销 营销具 网络安全与责任 营销一体化 网络安全技术视频 触摸网站手机 鞍山网站制作 如何买网站 网站翻页 信息安全基线规范 网络广告营销优缺点 川大网络安全学院 网站建设公司浩森宇特 小型公司网站建设