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"
网络 营销 手机不属于网站后期维护长沙网站制作安徽省网络安全专家北京市 网络安全 翻墙网站制作 文案网络营销如何提高业绩手机网站设计尺寸珠海移动网站建设公司排名网站建设天津迷茫之路,唯有剑骨陪伴。 房屋内先是响起一阵‘咕噜噜’的叫声,大约三刻钟后又是响起一阵摸索声,随后响起“咔咔”脆响声。 太阿纳闷道:“赵老夫人,肚子可是饿了,看你吃的这么香,请问你在吃什么?” 一阵沙哑略带嘶嘶音的声音传来:“萝卜!” 太阿见她吃的越来越香,“咔咔”声也越来越响。中年男人返回呼伦贝尔深处大兴安岭腹地的神奇经历。杨天意外觉醒全能系统,却不知这个系统是未来世界一个修仙高手的灵魂星,杨天靠着它逆天改命,一步步走上世界之巅。在杨天死亡后就跟着灵魂星去往一个未知的世界23世纪已经来到,这世上流传这异世界的传说,我林萧,我的爷爷曾给我说过,他去过异世界。我原本以为这仅仅是个传说,可没想到有一天,国际联盟探险队和国际研究所找上我的爷爷,说异世界与我们断开了联系,此时,我才明白异世界是真的。天道俯视众生,凝聚世间万法打造九重天阙,与之共鸣者可获天赐命魂,踏上修行登天之路。 顾铭,大楚史上第一个获赐七品命魂之天才,然成年之日,父母被杀、家族被灭、命魂被夺,临死之前侥幸踏入剑冢,铸造鸿蒙剑体,修行无上剑道。两年之后,顾铭离开剑冢重返世间,踏上剑道至尊之路,一剑可斩仇敌、可破九天、可镇诸天万域。九州神王李长青,被兄弟偷袭陨落,却意外重生归来。 尘封万年的洪荒大妖,将成为他的助力, 万界之中,修最强之术,炼顶尖灵药,布绝妙大阵…… “前世我能登临巅峰,这一世我也一样可以,诸天万界,终有一天,我会卷土重来!” 虽出身白丁,但可与鸿儒比肩; 虽家境贫寒,但举手可赚钱万贯; 虽手无缚鸡之力,但弹指万军灰飞烟灭; 我虽布衣,可做公卿。“生活在一处代码内,人生便处处都是代码”徐飞宇敲下了一串代码,完善了整个代码,至此成为了代码。虽然我是救世主,但我很低调,遇到敌人打的过就打,打不过我就滚!猥琐发育,别浪!这是一个支离破碎的大陆,上古时期无比顶盛,大能无数,却不知一时间无数强者陨落。 天气规则破碎,山河倒塌。
关系营销与互联网 网站制作推广公司 龙华民治网站设计公司 病毒营销是什么意思 网站制作 文案 2016 网络安全大会 手机网站建设免费 信息安全专业电脑配置,-1 网站建设天津 婚纱网站设计 孩子厌学的原因分析咨询【www.richdady.cn】 失业的咨询技巧【www.richdady.cn】 婴灵的超度与心灵净化咨询【www.richdady.cn】 财运不佳的财富管理方法有哪些?【www.richdady.cn】 去世的母亲的前世故事咨询【www.richdady.cn】 发育倒退的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的具体步骤【www.richdady.cn】√转ihbwel 孩子压力大的教育建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度流程【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 意外的前世因果【企鹅383550880】√转ihbwel 财运不佳咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的案例分享咨询【企鹅383550880】√转ihbwel 婴灵对家庭关系有哪些影响?【企鹅383550880】√转ihbwel 前世缘份的前世解析咨询【微:qq383550880 】√转ihbwel 前世缘份的前世修行咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份如何影响人际关系?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的超度与家庭和谐咨询【σσЗ8З55О88О√转ihbwel 精神不振的心理调适咨询【σσЗ8З55О88О√转ihbwel 构建和谐亲子关系的方法咨询【www.richdady.cn】√转ihbwel 网络安全行业标准 重庆网站建设公司电话 网络安全技术研究所 网络安全周推送 网络安全排行 南昌网站定制开发公司 网络安全问题管理 通化网站建设 深信服 中国信息安全测评中心安全产品证书eal3证书信息安全 身份鉴别 网站建设背景怎么写 网络信息安全防护等级 西安网站开发 西安全网营销推广 网站建设基本流程 搜索引擎营销的营销过程 网络营销是啥 网络安全管理组织机构 什么是营销型手机网站建设 关系营销与互联网 展示型网站制作服务 工业控制系统信息安全 宜昌网站建设 网站的概念 西安全网营销推广 一页网站 网络安全法征文 网络招生和营销方案 税务网络安全 中国信息安全标准体系 网络安全期刊 深圳专业网站制作费用 中山有哪些网站建立公司 做网络安全的公司排名环境营销 南京电商网站建设公司 信息网络安全与管理 上海专业做网站公 关于华为网络安全整治 网络安全行业标准 域名 网站 网站添加百度地图 医院网站建设 重庆网站建设公司电话 天津网络营销 网络安全与中国方案 网络事件营销特点 广州h5网站 网站开发设计 四川全网营销宣传 asp.net 网站 文件加密 outputstream 做网站的好公司 达内学网络营销 关系营销与互联网 北京网络安全招聘 网络安全排行 2016 网络安全大会 郑州网站推广公司 网站制作 文案 搜索引擎营销的营销过程 营销调研的过程 赢在教育全网营销 专注武汉手机网站建设 网络安全问题管理 重庆专业网站搭建公司 常州低价网站建设公司 中山有哪些网站建立公司 通化网站建设 网站制作推广公司 网络安全期刊 网络安全排行 创新的大良网站建设 网络安全问题管理 海尔公司营销策划 网站建设报价 杭州网站制作公司 网络安全如何防范 鹤壁网站建设 男女网络安全意识 网络信息安全防护等级 绿色系网站 网站开发设计 视频营销培训 营销调研的过程 信息安全专业博导戴尔的营销理念 电子邮件营销作用 西安全网营销推广 北京市 网络安全 翻墙 网站修改标题有影响吗 长沙网站制作 重庆网站建设公司电话 网站建设基本流程 新疆财经大学信息安全 三大基本网络安全需求 婚纱网站设计 福州做网站 珠海移动网站建设公司排名 淄博网站排名seo 湖南的商城网站建设 网络营销是啥 营销系统有哪些 营销系统有哪些 鹤壁网站建设 网络安全课程 国际营销网络建设 全网平台营销 网络安全如何防范 宝鸡做网站 黑色网站 沈阳网站 四川全网营销宣传 网站怎么写 论坛营销案例 网络安全管理组织机构 郑州网站推广公司 常州制作网站信息 北京网络安全招聘 东软网站建设 红色网站呢 互联网怎么为影楼营销 网络安全技术研究所 莱芜网站推广 什么是营销型手机网站建设 清华大学网络安全实验室 网络营销如何提高业绩 网络营销和广告的区别和联系 深圳专业网站制作费用 男女网络安全意识 网络安全广告 新疆财经大学信息安全 企业手机网站建设策划 已备案网站 网站接单 网站接单 网络营销应该这样做 视频营销培训 做网络安全的公司排名环境营销