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"
杜跃进 信息安全hd网络信息安全论坛青岛建网站山东济南网站制作优化2016网络安全大会知道创宇信息安全网络安全设计指标信息安全审查员什么产品需要网络营销营销托管徐轩送外卖的路上,遭遇飞来横祸。 醒来后,他成功发现自己穿越到了异世界,而且一出场就是在世仙人,不仅天地同寿,长生不老,同时还觉醒了世界系统。 然而当他打开系统才发现,屏幕上提示的最大一个字是:“逃!”陆云是一个偏远地区大家族的子弟,由于出生五灵根被称为废物,好不容易筑基却迎来了人生中第一次转折,家族的叛乱,使自己流亡在外,回来报仇之时,却引发战乱,整个凡界乱作一团……重回90,多了老婆家庭,谭明阳烧冷灶,做布局。本想静待风起,乘着连母猪都能够起飞的时代巨浪打造属于自己的商业版图。   但现实却让谭明阳遭遇当头棒喝。   他不得不挺起了脊梁骨,以超越时代四十年的眼光跟阅历,用行动搅翻这个时代。   不装了,这时代,老子就是风口。江水一方揽清客,一叶扁舟游湖。任他江湖诡谲,衷心不改。剑长啸,破天际。轶事重重,几载人依旧。在器魂大陆,被众人认为是废物的少年龙神宇,在一次偶然的机遇,突然觉醒,开始了他的成长之路。陈晓穿越大唐贞观初年,继承了家中位于长安东市的酒楼。 哪知那唐皇李世民化名李二哥,成了酒楼的常客。 推杯换盏之余,李世民的问题也越来越奇怪: “陈掌柜,突厥屡屡南下劫掠,可有一劳永逸的办法?” “陈掌柜,蝗灾荼毒天下,朝廷应当如何应对?” “陈掌柜,天下之大,我大唐铁骑如何能雄霸天下?” 陈晓有些头疼,我就一开饭馆的,你总问我这干啥? 关键是,大唐铁骑怎么还真雄霸天下了?爱崩坑,爱扯闲篇。某个现代一个神秘的少年韩霄被一个神秘的世界穿越到武朝时代,但他来到末曾见过一个不一样的古代世界里。 他帮助武朝完成统一,实现了他未曾相识的世界。现在宿主已经穿越到凡人修仙的世界,请宿主选择身份: 选择一:身份张铁,奖励.............. 选择二:............................... 选择三:.....................................主角本是地球一个普通学渣,奈何阴差阳错穿越到沧澜大陆,成为最强反派弟子,抱上大腿直接躺平?不存在的。且看我如何成为罗刹尊主。
互联网营销总结 信息安全服务资质认证分几级 三零盛安 信息安全培训 网络安全委员会 软件信息安全测评中心待遇,-1 微信营销月总结报告 网站建设公司 深圳 网络安全技术模块开发 太原手机网站开发 建网站首页图片哪里找 上海网站优化公司 网上营销 网络营销 信息安全分级 网络营销的优势与劣势 网络信息安全法主体 小米的传统营销案例 信息安全标准分为 内网信息安全公司,-1 珠海品牌网站建设 网络安全平台价格 王老吉的网络营销方法 2017年的网络安全事件 网络安全攻防演练平台 青岛建网站 网络营销途径都有哪些 云流网络安全吗 网易信息安全审核工资 珠海专业机械网站建设 信息安全 中央,-1 新媒体营销热点 什么产品需要网络营销 不属于网站后期维护 微信营销月总结报告 不属于网站后期维护 青岛网站建设找 移动公司信息安全培训 网络安全通报机制 枣庄网站设计 软件信息安全测评中心待遇,-1 中国信息安全著名专家,-1 信息安全标准分为 网络安全新闻网站 网上营销 网络营销参考书 维护国家网络安全英语版 网络安全110 松原做网站 天津专业网站建设公司 互联网营销总结 dos病毒对网络安全的危害 论坛营销的优点 信息安全 CC 认证 兰州 网站 快速做网站 成都建设网站 网络信息安全 考试系统 网络营销途径都有哪些 滴滴出行营销案例 专业的高端企业网站 珠海专业机械网站建设 网络安全 内容安全 政府网络信息安全 内网信息安全公司,-1 深圳网站建设公司招聘电话销售 电商营销公司做什么的 信息安全审查员 网站迭代 网络信息安全法主体 网络安全通报机制 小米6营销软文 昆山网站建设 网络营销的好处和弊端 网站制作价格 上海 网站建设整合营销 网络安全专业的介绍 网络安全专业的介绍 上网行为审计 信息安全 杜跃进 信息安全 小米6营销软文 网络安全论文1500 怎样建立自己的个人网站廊坊做网站 婚纱摄影网站建设 扁平化网站建设公司 医院自营销 信息安全培训的机构 微信营销那家公司好 制作公司网站价格 成都建设网站 免费建建网站 网站迭代 网络安全大事 杭州网站优化 云南专科 信息安全 深圳市能士信息安全公司 太原手机网站开发 网络营销的缺点 dos病毒对网络安全的危害 石家庄做网站公司的电话 云流网络安全吗 上海营销外包公司 信息安全与web安全 网络安全教育与培训 信息安全二级认证,-1成都 国企 网络安全 哈尔滨做网站 建英文网站 网站建设公司深圳 建设响应式网站有哪些好处 建设响应式网站有哪些好处 深圳市能士信息安全公司 新媒体营销热点 网络安全教育与培训 网络营销产品策略分析网络营销营销理念 2017美国信息安全大会 信息安全管理体系的通用步骤 企业员工信息安全培训 新媒体营销外包公司哪家好 网站赚流量 网络安全设计指标 网络安全110 网易信息安全审核工资 深圳网站建设公司招聘电话销售 西宁做网站 无锡网站设计 网络安全委员会 网络营销公司 优帮云 一个网站多少钱 网络安全防御系统是个动态 不属于网站后期维护 网络安全平台价格 什么产品需要网络营销 中国信息安全著名专家,-1 手机网站开发技巧 广州网站建设优化 信息安全培训的机构 珠海品牌网站建设 网络安全平台价格 移动公司信息安全培训 杭电信息安全 三零盛安 信息安全培训 三零盛安 信息安全培训 新媒体营销外包公司哪家好 中国信息安全测评中心地址 搜索引擎营销的主要方式有哪几种 微信营销月总结报告