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"
网站制作优化济南网络营销带来的好处国家信息安全管理中心待遇互联网营销百度百科梧州网站优化信息安全服务资质证书查询iso27001国际信息安全是如何描述的景德镇网站建设湛江网站建设广州 深圳 外贸网站建设2015 信息安全报告制度自家破,遇恩师、交良友,人生多不易,卧薪尝胆走江湖。人生多艰难,不过终是热血少年,起于乞丐,经艰险、遭磨难,玉汝于成,本就是英雄少年。一场鸿门宴,穿越乱世,得遇梦中女孩,爱而不得。 彼岸花开开彼岸,瓣瓣相思落黄泉。落花有情水无意,从此花叶不相见。 天下之乱,人祸天灾,豪杰登场,英雄黎明。 铁马冰河,宫闱之乱,帝国分崩,九州分裂。 诸侯割据,战火纷飞,伤心断肠,群雄并起。 暗流涌动,隐姓埋名,洛水两畔,双雄逐鹿。 边患不止,战火不熄,浪江东流,折戟沉沙。 鸠占鹊巢,虎入群山,割据天下,三雄并起。 西征边陲,天神下凡,西塌南陷,断梁折柱。 七征南蛮,六出中原,斗智斗勇,纵横天下。 【诸天副本降临,即将开启!】 【这是你们灵魂升华的一次机会!】 全球危机,罗明开启唯一性天赋! SSS级天赋——不对等交换! 【交换完成!您用半盒泡面交换SSS级潜力永不枯竭!】 【交换完成!您用一瓶悲酥清风交换斗转星移!】 …… 从此,罗明开启了交换新模式。宋阳穿越了,本想静静享受慢生活,但奈何实力不允许。 随手写一些诗词歌赋,就被尊为“书圣”、“诗仙”,万人追捧; 随手为百姓们看看小病,就被八十多岁的神医追着拜师; 随手做些饭菜,就被引为国宴; 随手搞些小生意,就能热销海外,成为首富; 随手收了两名小兄弟,结果一个官居一品,一个手握兵权; 随手画些图纸,就引来帝国第一次工业革命; 随口出出主意,就俘获了女皇芳心; “陛下,你真的不要这样,让我很为难。”“不!朕决定了!夫君,这江山,就由你来坐!” 这个世界本来是关于修仙的,一切都向好的发展……但是有一天魔法突然复苏了!!!惊动了修真界!短短几天修真界崩溃了!!!新的秩序诞生了。 魔气降临在地球上面,让世界发生了巨大的变化!世界的另一边…也缓缓露出水面。 世界的尽头,是什么? 世界之外有什么?是宇宙吗? 魔法复苏?这是什么情况? 魔气复苏?这又是什么惰况? 是魔法复苏、还是魔气复苏?这是福还是祸?主角该怎么去面对? 灵气复苏?魔法复苏?是魔法复苏,还是魔气复苏!究竟是什么呢?主角是人还是魔! 还是说地球原本就是一个魔法的世界! 雷公打了个喷嚏把我劈死了,我还得到了个系统?戴着诡异动物面具的同学进行着荒谬表演, 深夜的厨房多了不少肉块,切菜声伴随着男人哼唱无名小调, 清秋时节下起灰白大雪,无尽树林深处是一间藏有冻僵躯体的无人木屋, 无名陵墓下,幽幽传出苍老吟词声——   “冥河冻已合,深处有阳鱼,   活鱍鱍,跳不脱,又不能相煦以湿相濡以沫,   惭愧酆都蒋秦广,春风几时来,   解此冥河冻,令鱼化作龙,直透桃花浪,   会即便会,痴人面前且莫说梦……” 这是一部相知相恋的小甜文~ 愿你所有的时运不济,都是在为那或许命中注定的幸运铺垫坦途。 恋爱生活题材,风格线:生活-荒诞诡异-恋爱生活-灵异略带玄幻张少锋被自己写的小说裹挟到异界,却因为能量不足被丢到了巨兽腹中跟食物混在一起,为了不被消化成翔,为了活下去,更为了找个老婆,他爆发与生俱来的最大潜力…… 地球少了谁,一样外转动,异界多了他,从此是非多!胯下爪黄驹,手中虎啸刀。两侧赤虎骑,身前曹氏君。热血报兄仇,冷器斩贼寇。这是一个良将报仇的故事。【奇迹】第一高手,因战队成绩不佳,惨遭俱乐部逼宫扫地出门。 被扫地出门的他,来到一家游戏工作室担任打金人。 【奇迹】第一高手岂是普通的打金人?上到各大公会,下到小鱼小虾被他收拾的服服帖帖。 有人问,【奇迹】第一高手就这么沦为打金人,他真的心甘情愿吗? 他的回答是,这一次我要为自己战斗,也要在这里强势回归。
梧州网站优化 怎么注册网站 淘宝如何实现网络营销 网络安全与信息化 杂志 企业案例网站 信息产业信息安全测评中心 网络营销的基本知识 信息安全风险评估模板 2014国家信息安全专项 社媒营销师 江门网站优化 南山网站建设 俄罗斯 信息安全中心 互联网品牌营销专员 上海做网站品牌公司 信息安全评测 企业网络安全部门 辣条的营销渠道 关于网络安全的常识 深圳哪家网站建设好 鄂州网站制作 网络营销软文100字 网络安全知识库 响应式网站案例 信息安全风险评估模板 深圳哪家网站建设好 大连 做 企业网站 上海网络安全博览会 2017首都信息安全日 网站静态 一个空间建多个网站 网站建设及优化 赣icp 网络社区营销的主要形式 天津企业网站建设 网站响应式和非响应式 江苏网络安全事件 珠海品牌机械网站建设 网络营销带来的好处国家信息安全管理中心待遇 微信网络安全未通过 发生信息安全紧急事件 企业新媒体营销的弊端 江苏网络安全事件 关键基础设施网络安全 中国网络安全宣传周 官网 上海高档网站建设 人员使用网络安全防范 上海网络安全博览会 湛江网站建设 中国国家信息安全部门 网站套模版 网站管理系统 石家庄做网络推广的网站北京互联网营销公司 网络安全和信息化 杂志 佛山用户网站建站 提供网站建设的公司 网站建设改版 2015 信息安全报告制度 中企动力技术支持网站 idc网站建设 营销的定义及作用 信息安全类公司排名 信息安全创新创业 hefei 网站制作 设计网站怎么收费 网站套模版 大连 做 企业网站 成都 网站设计公司 网络营销简历怎么写 湖州网站建设 信息安全培训试题,-1 您的首页文件及网站程序需上传至ftp下的htdocs目录下 网络安全技术设备 龙岗网站设计讯息 无线网络安全审计系统 2015中国网络安全年 湖州网站建设 河东做网站 北京做信息安全的公司排名网站重购 网站能在别的电脑打开但在我电脑打不开但我又能打开其他网站 信息安全媒体 淮南网站制作 网站建设策划 营销网站页面分析工具 2012信息安全事件 信息安全服务资质证书查询 网络事件营销优点 大连 做 企业网站 2015中国网络安全年 河东做网站 rsa2017信息安全大会 天津企业网站建设 信息安全培训试题,-1 景德镇网站建设 网站套模版 信息安全主要研究领域 信息安全运维课程,-1 柳市网站建设公司 青岛营销型网站建设 人员使用网络安全防范 提供网站建设的公司 响应式网站案例 网站静态 上海网络营销服务外包 电子商务网站开发 成都 网站设计公司 信息安全创新创业 正规的网站建设 鄂州网站制作 网络安全技术设备 网站建设改版 社媒营销师 社媒营销师 青岛营销型网站建设 flash网站设计 信息安全创新创业 您的首页文件及网站程序需上传至ftp下的htdocs目录下 响应式网站模板 中国互联网网络安全 淘宝如何实现网络营销 网站建设及优化 赣icp 石家庄做网络推广的网站北京互联网营销公司 信息安全类公司排名 网络安全和信息化 杂志 天津企业网站建设 网络安全与信息化 杂志 网络安全那所大学有 海尔公司营销组合策略 网站管理系统 网站单子 单页面营销 北京做信息安全的公司排名网站重购 发生信息安全紧急事件 网络事件营销优点 中国网络安全宣传周 官网 网站制作设计 公司做网站 网络营销简历怎么写 河东做网站 网站建设 技术 9. 计算机网络安全措施有哪些 网络营销方法的概念 互联网品牌营销专员 中企动力技术支持网站 中企动力技术支持网站 网站建设及优化 赣icp