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"
如何设计网站域名网络安全漏洞论坛公安部 信息安全重庆旅游网站建设营销建站翻墙后自己信息安全吗网络营销以网络用户为中心微博营销涉及的范围微博营销服务内容信息安全组织机构互联网营销软件怎么样 当强大的外族入侵时,作为一名普通老百姓你会怎么选择?是农具当武器站着死,还是归顺他们苟且生?当外族入侵时,作为一名高高在上的九五至尊,你会怎么选择?是割地赔款最终成为一名国破家亡的亡国奴,还是振臂高呼带领大家抵御外族将他们赶出国门最终把他们消灭掉啦? 作为一名普通老百姓,当外族入侵时,农具必是武器,站着死。作为一名天子?你做过天子吗? “ 没有” 那就让我们随着20世纪的小白方小乐到大周王朝看看,作为天子的他会怎么抉择,是站着死还是跪着生。我天生的碧蓝眼睛,人们说是因为我祖奶奶是妖怪的原因。可我不信,世界上哪有妖这中东西。后来为救亲人,我开启了一段神奇之旅,揭秘开了这世间的第二空间,找到了心灵的归宿她宇文曼——大夏国第一个女皇帝。 坐上龙椅的第一天起,她就成为了不折不扣的傀儡。 本来想着就这样混吃等死,结果突然的一场兵变,连傀儡都做不成了...... 当她再一次夺回皇位时,世人对她依然缺乏认同。 在这个群雄争霸的年代,最弱的女皇,居然在所有人眼皮底下捡了个大便宜。 如果治理这个天下能算作便宜的话... 断壁残垣、饿殍满地、民不聊生... 战争带来了至高皇权,也带来了遍地枯骨。 宇文曼正襟危坐,身边是刚刚被册封的“国姓爷”文泰,殿外站着忠心耿耿、整齐成排的士兵,台阶下是一群诚惶诚恐的大臣。 大臣们曾经跪拜过她,又肆意污蔑她...如今为了日子过得去,只好颤颤巍巍的再次向女皇磕头。 好在女皇的心思还不在他们身上。 因为她是皇帝,所以没有退路——进则生,退必死! 奇迹不会一次又一次发生! 她必须整顿纲纪。 必须让难民归乡、让荒废的良田重新长出庄稼。 必须挥舞利剑,赶走那些盘踞中原的豺狼虎豹......世界一分为二,到底何处才是最安全的栖息地。地球人杨开在母星沦陷的前一刻,乘坐“救赎号”传送到了宇宙星海极端的另一颗星球——蓝星,寻找名为HV-22病毒原体,希望以此救赎被感染的同胞! 然而在一步步寻找的过程中,意外接触到宇宙大洗牌的秘密...系统傍身,杀一人,活一天; “以死神的名义,你必须死!” “以死神的名义,毁灭他们!” 死神:“呃...你不要坏我名声!”我奉劝各位不要沉迷游戏,游戏不仅浪费时间和金钱而且影响正常的学习、生活和健康... 什么! 居然有人敢攻击我天华城? NND! 好了,不废话了,老子要去砍死那帮NPC。 .... 处于修炼世界最底层的李成双因为一个梦激活了天灾召唤系统,能从蓝星召唤名为“玩家”的生物。 从此,这个世界的画风变了。 低级城主:你说天华城那大鸟比我还快? 中级城主:你说天华城那胳膊粗的玩意儿堪比我全力一击? 高级城主:你说高级魔兽被天华城堵在门口杀? ....一户人家二百年的风风雨雨打架其实并不是一件多华丽的事情,有的人三两下被打趴下就再也爬不起来了,根本不存在那种斗来斗去如同功夫切磋一般的场面。诡异邪恶的门派,狼子野心的外族风雨飘摇的江湖,睿智勇敢的少年通过自己的努力,揭开隐秘至深的阴谋,联合所有能联合的力量,共抗外辱。既有阴谋诡算,又有刀光血影,更有无比恢弘的战场这个时代,要一位英雄,将四分五裂的大陆,重新归为一统!
信息安全组织机构 浅淡电话营销的转化率 传统营销的公司 品牌营销主题 滴滴 网络对营销策略的影响 杭州网络科技网站建设 电子商务 和传统营销相比网络营销的优势和不足之处体现在什么地方 信息安全案例教程:技术与应用 网络安全字体设计 网络安全屏保 信息安全技术有 网站设计价格大概是 重庆旅游网站建设 微博营销的事件 网络工程师必读——网络安全系统设计 信息安全博士干嘛 网络安全实验平台 淘宝网店网络营销策划 网络安全实验平台 网络安全漏洞论坛 网络和信息安全通报实行 广西信息网络安全协会 成都网站建设市场 网络与信息安全(第二版) 信息安全保障 认证 网络安全漏洞论坛 营销建站 微博营销服务内容 网络安全面临的主要威胁及解决措施 有互动性的营销案例 什么是网站推广 网络安全电子版网络安全演讲 网站设计报价 中国国家网络与信息安全信息通报中心,-1 高端网站开发建设 信息安全漏洞还原方法 建网站要多少钱计算机网络安全的信息 微信营销成功 网络安全新技术 服务器信息安全 规范 网络营销个人网站 许可email营销主题设计原则包括 qq推广营销方案 翻墙后自己信息安全吗 国家网络安全局官网 rss营销的基础是 rss营销的基础是 信息安全漏洞还原方法 网络安全能力 电子商务 和传统营销相比网络营销的优势和不足之处体现在什么地方 企业网站系统 传统营销的公司 商城网站都有哪 些功能 权威的网站建设 营销定位 武汉网络安全培训 sem营销策划公司 珠海网站推广 全网整合营销推广公司 b2b外贸网站 营销优势有哪些方面 品牌营销主题 滴滴 营销软件站免费 信息安全培训课程体系 安徽信息安全等级保护网 网站分为哪几类 单位主要网络安全业务 微博营销服务内容 万州网站建设 长沙 做网站 阿里巴巴 信息安全,-1 网络安全屏保 济南建设网站的公司吗遂宁网站优化 成都网站制作设计 云南地区网络营销观念 网站套餐网页 网站的网页 网站构建器 网站构建器 安徽信息安全等级保护网 营销建站 济南建设网站的公司吗遂宁网站优化 公安局网络安全怎么进 网站建设的好处 信息安全案例教程:技术与应用 seo网站诊断 微博广告营销案例 上海市网络安全宣传周 杭州网络科技网站 网络安全宣传周座牌 重庆建网站 网站建设系统 文山做网站 常州网站推广方法 中国计算机网络安全大会 信息安全 863 网络营销以网络用户为中心微博营销涉及的范围 上海平台网站建设公司排名 产品网络安全红线2.0 建网站要多少钱计算机网络安全的信息 信息安全监管要求 网站设计价格大概是 网络推广营销系统 网络与信息安全(第二版) 武汉网络安全培训 产品网站建设 佛山网站建设服务器 西安模板网站建设 网站优化怎么做 网络安全就是信息安全 网络安全屏保 微博广告营销案例 淘宝常见营销手段 网络安全 大数据分析 山西做网站的企业 宜兴做网站 微信营销成功 医院微营销 深圳网站外包 网站推广营销 网络安全周 负载均衡 网络安全电子版网络安全演讲 银川网站建设公司 单位主要网络安全业务 网站设计价格大概是 信息安全案例教程:技术与应用 信息安全系统等级二级 微博营销的事件 西安论坛网站制作维护 中国网络安全部门 信息安全博士干嘛 网站建设有免费的吗 网络营销个人网站 淘宝网店网络营销策划 长沙 做网站 网络营销的推销 网络安全漏洞论坛 如何建立信息安全标准化 唐山网站建设费用 广西信息网络安全协会 网络安全字体设计 网络信息安全泄露,-1 网络与信息安全(第二版) 西安论坛网站制作维护 2017网络安全博览会