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"
网站建设前期资料提供网络营销电话深圳网站设计 建设元网络营销整体运营方案信息安全介绍脑白金体网络事件营销长沙专业网络营销病毒营销模式有哪些网站管理网络营销行为有哪些微信营销的效果数据分析 “老子不干了,我要去度假,你爱怎么管就怎么管&amp;quot;“可是老板…&amp;quot;还没等时空鸡说完小金刚就插上话:“那你就是代理老板了,给我管理好这个时空,我直接摆烂就是玩&amp;quot;说完小金刚傅便穿越时空,只留下时空机在那呆呆地站着一个初入社会的普通大学生,如何凭借这自己的头脑和魄力,在传奇世界里掀开一页属于自己的传说。路上碰到个老神仙非说要给我算命,最后说我五行俱全不适合这个世界,没多久,精神病院的人把他抓了回去,然而我果真如同那精神病所说,我,不适合这个世界,在他被抓没几分钟,我就穿越到了这阴阳五行世界,这里总该是属于我的世界了吧,我,莯灿鑫,将在这个世界留下我的故事!上天给了李锋一次重生的机会, 意外寻得神器翻天印, 丹药随手便可炼制;神兽轻易收服;美女投怀送抱。 这一世,李锋发誓一定要诸天万界称雄……无双,南云洲文湖国二皇子,天赋绝世,却因一场突然的变故,卷入纷纷尘世…少年英若飞多年启灵不成,后偶遇纨绔穿越,被融合后,终于觉醒了先天之灵。国恨家仇系于一身,无所畏惧勇往直前,终于成就非凡,任八方风雨、九州雷动,鲲鹏十万里,天地青云间。林峰本是一个热衷于NBA的球迷,一次偶然的机会却让他加盟了NBA,无意中获得了系统步步高升拿下种种荣誉少年仇深,无常人的快乐和开心,世人都追寻东西却是他的依仗与痛苦的源头。是看破,是坠入深渊,一切由头开始。空灵域,苍广无穷,强者林立。 万年前,人魔大战,斩天帝陨落,而在万年之后,废材叶晨被逐出家族,在一次机缘中,得斩天剑诀,从此,空灵域,有一人,名叶晨,领万族,救苍生!秦阳本来是京都大学历史系高材生,在前往考古路途中意外被车撞倒,醒来竟然穿越成祖龙第三子赢高,且看他如何玩转大秦,成就千古一帝......
网站建设前期资料提供网络营销电话 脑白金体网络事件营销 商网营销 重庆九龙坡营销型网站建设公司推荐 网络安全技术视频教程 北京信息安全测评中心 中国网络及信息安全法 网页营销qq 营销综合平台首页 多语言外贸网站设计 与女友前世的影响分析【www.richdady.cn】 冤亲债主的干扰与解脱咨询【www.richdady.cn】 如何了解自己的前世今生?【www.richdady.cn】 与女友前世的故事分析咨询【www.richdady.cn】 潜能开发与自我提升【www.richdady.cn】 事业不顺的心态如何调整?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的重逢有何迹象?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的和谐之道咨询【企鹅383550880】√转ihbwel 前世记忆恢复技巧咨询【微:qq383550880 】√转ihbwel 感情纠纷的情感重建方法有哪些?【微:qq383550880 】√转ihbwel 前世今生测试在线咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子学习不好的解决方法【微:qq383550880 】√转ihbwel 家庭关系的心理调适方法有哪些?【σσЗ8З55О88О√转ihbwel 事业不顺的应对策略【www.richdady.cn】√转ihbwel 前世老公的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 前世老公的前世影响咨询【企鹅383550880】√转ihbwel 财运不佳的案例分享咨询【www.richdady.cn】√转ihbwel 忧郁症的自我提升【σσЗ8З55О88О√转ihbwel 家宅磁场的优化技巧【σσЗ8З55О88О√转ihbwel 祖灵的存在形式咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 长沙专业网络营销 什么是企业网站 网络安全技术视频教程 换网站公司 免费建学校网站 负面营销模式 网络安全资质证书有哪些 海尔最新营销模式 中国石油信息安全网 四川省网络安全报警 网络安全技术培训视频 北京启明星信息安全技术有限公司 桂林做手机网站设计 办公室信息安全工作职责,-1 重庆企业口碑营销 商城建设网站 长沙专业网络营销 什么是企业网站 网络安全技术视频教程 换网站公司 免费建学校网站 负面营销模式 网络安全资质证书有哪些 海尔最新营销模式 中国石油信息安全网 四川省网络安全报警 网络安全技术培训视频 北京启明星信息安全技术有限公司 桂林做手机网站设计 办公室信息安全工作职责,-1 网络安全培训实施意见网络安全宣传周ppt 网站设计技术 网站建设:中企动力 深圳网络营销 网站制作公司 顺的 网站模版下载 多语言外贸网站设计 重庆企业口碑营销 网络安全资质证书有哪些 flash网站设计 网站备案不通过怎么解决 广州外贸网站公司 网站的形成 官网营销 信息安全监管 网站如何制作 网站上传文件功能实现潍坊做网站建设的公司 网络安全培训实施意见网络安全宣传周ppt 信息安全有什么认证证书 网站内容维护 沈阳信息安全培训课程,-1 企业网站管理 菜刀 网络安全 网络安全抓包实验报告 商网营销 新浪网站网络营销策略 深圳网站设计 建设元 网站服务商 企业网站管理 重庆九龙坡营销型网站建设公司推荐 病毒营销模式有哪些 什么是企业网站 长沙网站推广 国家信息安全宣传周 某某白酒进入南方市场请用4p营销理论为它制定销售策略 广州购物商城网站开发 产品怎么做e-mail 营销 上海企业网站设计公司电话 美团网的营销特点 网络安全技术视频教程 云南微营销软件信息安全人才需求图 网站流程 网站加网页 广西 网站开发 郑州网站建设更好 网站转换率 重庆九龙坡营销型网站建设公司推荐 虹口做网站价格 flash网站设计 某某白酒进入南方市场请用4p营销理论为它制定销售策略 免费域名网站的 网站加网页 十大网络信息安全事件 爱民网站制作 亳州网站建设 工业机器人 网络安全 信息安全介绍 网站建设前期资料提供 屈臣氏的市场环境对营销活动的影响以及带来的机遇与挑战 新浪网站网络营销策略 爱民网站制作 网络安全表格加密实验 网站建设:中企动力 网络营销课有什么用 网络营销课有什么用 营销形网站 广州外贸网站公司 网络安全攻防专业方向 关于信息安全的图片 广州高档网站建设 e营销网 互联网+高校信息安全专题讲座 b2b商场网站建设 重庆企业口碑营销 信息安全公益课程 得力网络营销定位 商城建设网站 2015年网络安全数据 工业机器人 网络安全 营销综合平台首页 网站欣赏 桂林做手机网站设计 长沙网站推广 十大网络信息安全事件 负面营销模式 小红书网络营销分析 换网站公司 信息安全模型 网站名重复 网络营销一般学多久 北京信息安全测评中心 免费网站建设怎样 小红书网络营销分析 信息安全 攻防 平台 中国石油信息安全网 广州高档网站建设 edm营销平台的费用 b2b商场网站建设 网络安全宣传周主题是 中国网络及信息安全法 网络安全督查 微网站案例 营销网站建设企划案例 网站模版下载 菜刀 网络安全