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"
网站需求方案单位网络安全等级保护工作年度考核情况信息安全培训资料成都网络营销市场调研网安部门维护网络安全如何为公司做网站重庆网站公司开网站成本温州网站制作价格滁州做网站林天在机缘巧合之下穿越到上古世界,在这个充满了练体,练气的世界他会有怎样的一番作为呢....... 建文末年,燕王入京,即皇帝位,年号永乐。 一个伟大的帝国,就此掀开了一页崭新篇章,即将迎来千古治世。 后世青年不幸魂穿大名鼎鼎的烤肉王爷朱高煦,面对英明神武的永乐大帝朱老四,体弱多病的太子大哥朱高炽,备受宠爱的好圣孙朱瞻基…… 朱高煦本能地选择从心,去做个声色犬马的逍遥王爷。 “什么?监国?老爷子你可不能这么坑人啊……” “大哥,跑起来,这是全套畊宏体操……” “大侄儿啊,玩什么蛐蛐,跟你二叔玩倭寇去……” 世人皆知汉王凶横淫荒、狡黠跋扈,却不知大明王朝已经在汉王爷的驾驶下,逐渐偏离了原本的航向,驶向了一片广阔新天地。 五龙同朝,三龙两蟒,内阁三杨……这是大明,最璀璨的时代! 本书又名:《父皇,坚持住》《大哥,跑起来》《侄儿,不要怂》来自地球的废材欧阳北,因为偶然缘由穿越到另外一个遥远的星球,遇到神秘人物盘卦,从此在穿越中提升,在提升中穿越,终成大器……谁说修仙一定是人,谁说冷血不适合修仙,白蛇凭刻苦努力不断升级修炼灵兽人程森屮(che四声)十一岁丧母,十三岁遭灭族。程森屮,程猖,程狂兄弟三人幸存。一年后大哥程猖却操纵程森屮杀死小时密友和程猖,心灰意冷的程森屮消失了三个月后在长安佚名“山狼”靠杀人赚钱。两年后,“山狼”声名崛起无意间认识权门高氏二公子和洌氏二公,这时有人叫杀死两人。山狼不从,没曾想那人正是大哥程猖。几经挣扎后,山狼坠于程狂和卫天兰坠落的黑鹰崖。 十年后 顶级杀手——山狼,再次出现在高风舌眼前。 正义也许会迟到,但永远不会缺席。一代“龙”子血脉的觉醒,伴随而来的是强大实力,还是沉重责任,亦或者是那邪恶势力的无尽追杀······不爱写个人简介男主因一场事故转世来到平行宇宙,开始了他的第二世,本书就是叙述了他的第二世生活。厄禄利大陆,传说由共灵女神和其座下六大起源神兽所创造的世界。故事的舞台,就在厄禄利大陆所展开。人是否真的有命运?命运谁造成?
成功的论坛营销帖子 简述整合营销的概念 淮安网站制作上海网站改版哪家好 网络安全应急流程图 开发软件网站建设 顾客对网络营销的建议 营销 江苏网站建设机构 营销型网站 信息安全需求包括什么 脑部不清晰的心理调适【www.richdady.cn】 纠纷的法律咨询咨询【www.richdady.cn】 去世的母亲的前世修行【www.richdady.cn】 孩子压力大的自我提升咨询【www.richdady.cn】 升迁障碍的风水布局咨询【www.richdady.cn】 大龄剩女的婚恋故事【σσЗ8З55О88О√转ihbwel 公司破产的前世记忆咨询【微:qq383550880 】√转ihbwel 冤亲债主的干扰原因【www.richdady.cn】√转ihbwel 孩子厌学的自我提升咨询【www.richdady.cn】√转ihbwel 家庭关系的问题分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的安抚有哪些技巧?咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的职场建议咨询【σσЗ8З55О88О√转ihbwel 事业不顺的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感和解方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 长期失业对个人的影响【www.richdady.cn】√转ihbwel 公司破产对股东的影响【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的前世记忆【微:qq383550880 】√转ihbwel 升迁障碍的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的原因有哪些?咨询【企鹅383550880】√转ihbwel 不爱读书的案例分享【σσЗ8З55О88О√转ihbwel 大连 营销策划公司 任丘网站优化 做一个网站的费用构成 搜索网站排名 湖南专业做网站企业 国网公司网络信息安全 建英语网站 做网站网站 菜鸟腾飞 无线网络安全攻防 网盘 武汉网络信息安全基地,-1 博客营销案列 信息安全安全性评价,-1 信息安全服务ppt 做好的网站如何上线 深圳html5网站建设 山西网络安全论坛 合肥 网站建设 信息安全平台作业 国贸网站建设 网站权限 为什么要学网络营销 网站注册域名 哪家网站建设好 营销信息化和信息安全 山东省信息安全大赛试题 linux网络安全 网站需求方案 网络安全框架核心内容 温州网站制作价格 中小企业网站建设 做网站网站 营销 移动网站建设 滁州做网站 qq营销 无锡网站设计公司 小米公司网络营销定位 成功的论坛营销帖子 信息安全等级保护二级的认证 版权营销 专业做网站 天津网站建设包括哪些 东莞网站建设公司 任丘网站优化 中国山东网站建设 外贸型网站 长沙营销型网站制作费用 支付宝的网络营销战略 信息安全安全性评价,-1 山东临沂网站建设 顾客对网络营销的建议 搜索网站排名 菜鸟腾飞 无线网络安全攻防 网盘 网络营销托管服务商 网御网络安全管理系统v3.0 小米公司网络营销定位 建网站就找伍佰亿 网络安全 公安 广州域名企业网站建站哪家好 网络安全及防护 上海网络安全公司 广州域名企业网站建站哪家好 搜索网站排名 淮安网站制作上海网站改版哪家好 网站设计教程 哪个国家学营销 信息安全大事记 广州数字营销 网络安全及信息 东营网站优化 深圳网站平台 信息安全需求包括什么 德网站建设 网页制作 公司网站 深圳网站建设哪家好 政府网站设计 青岛找网站建设公司好 合肥 网站建设 网站营销手段 怎样学好网络安全 博客营销案列 网络安全 入侵检测 企业信息安全问题 网站建设规划方案 信息安全培训资料 信息安全安全性评价,-1 网络安全 公安 网络安全及信息 网站设计公司网站 qq营销 桃城区网站制作公司 专业做网站 网络对营销组合的影响 桃城区网站制作公司 网络安全的公司 简述常见网络安全服务 深圳网站建设电话 app展示网站 首页营销网郑州网络营销外包公司排名 温州网站制作价格 国家网络安全周logo 中药4p营销组合 南通网站建设设计 武汉网络信息安全基地,-1 合肥 网站建设 网络安全 数据统计 唐山网站建设 网络安全 入侵检测 山东临沂网站建设 网站被攻击 湖南专业做网站企业 网站托管套餐 国家信息安全中心地址北京汉邦信息安全综合审计监控系统售后电话 网站营销手段 网络安全建议书 qq营销 厦门网站优化 网络安全的5的因素 建英语网站 工业网络安全技术 青岛网站建设青岛新思维· 营销型网站 h5网站作用 app展示网站 营销 静安区品牌网站建设 整合营销策略 开发软件网站建设 qq营销 我需要网站 四川省网络安全大赛 【宁波网络营销】就找龙宇网络 如何为公司做网站 linux网络安全 网络对营销组合的影响