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"
沈阳做企业网站陈舒 福建省网络与信息安全测评中心电子商务 和传统营销相比网络营销的优势和不足之处体现在什么地方b2b网站开发桌面端的信息安全银川制作网站广州外贸网站信息网络营销方法的概念网络营销的基本知识信息安全的指标琼花娇欲语,紫日浮云烟, 扶摇仙凌顶,执掌剑神霄! 一介女修如何踏步青云?剑道登极!吾剑沉仙!熟读三国的刘宏突然穿越到了东汉末年早死的一个皇帝身上!算算还有五年就要死!刘宏决定!逆转乾坤!一洛之海,万丈之深,水是命源,洛海之根在一块充满了灵气的土地上,一位少年开始新的传说一夜飞远发花香,怎他不懂英雄情。我笔下的貂蝉是一个美女加英雄的气概,没有那衬衣的保护,怎能有今天的戏场,狼族吕仙儿的爱情,不是天给的,是一个叫吕仙儿的狼族英雄,她本是楼阁中人,最后情在崖天。这就是一个英雄的时代,三国!。穿越到古代,家中一穷二白! 不怕,运用21世纪的知识,随便搞点发明创造,改善家中生活! 一不留神富甲一方,漂亮老婆天天催着纳妾,小日子不要太幸福! 蛮族入侵,那就组建骑兵,制造火炮,打他丫的! 影响我平静的生活,敌寇虽远必诛!萧子暮重生成婴儿,等反应过来自己已经夺了女帝修为。 “萧子暮,还我的修为。” “不然我让你死的很难看。” “听话,你虽然是女帝,但好歹是妹妹,小心我打你!” 女帝闭嘴,眼泪汪汪。 “乖!把你的修为再给我点吧。” 女帝破口大骂,只想一刀解决这个依靠自己灵力发育的天仙大帝!永安不安!白焰不白!一团苟延残喘的青焰,一个没落门派的弟子,一段埋葬在时间长河的秘史,千年的和平似乎让人们忘记了曾经的威胁,在这诸天星海,万界之族中,苦而弥坚的人族、据高临下的妖族、作壁上观的神族以及……在这万类霜天竞自由中,谁为棋子?谁为棋手? 上界八十八星座守护神灵再次降落人世,未来的都市美轮美奂霞光溢彩,但在这光鲜亮丽的背后是无尽的深渊与黑暗……数百年前的古老传说正预言着危机的到来。二十年前,他被一代道门隐脉奇人所救。二十年后,他遵守师父遗命下山踏入何家,阴差阳错之下成为何家的女婿,内心从抗拒到默默守护,皆因那一纸婚约而起!
网络营销传播渠道研究网络营销新方式 网络安全智能防护系统 互联网品牌营销专员 软件网络安全 大连 网站制作 品牌网站推广 学网络营销费用 国家信息安全监管部门 个人网站制作 NSACE网络安全工程师 学习成绩差的心理调适【www.richdady.cn】 心特别累的前世因果咨询【www.richdady.cn】 儿子不读书的案例分享咨询【www.richdady.cn】 如何改善财运不佳的情况?咨询【www.richdady.cn】 特殊学校的环境影响【www.richdady.cn】 财运不佳的风水调整咨询【企鹅383550880】√转ihbwel 家庭关系的相处之道咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 忧郁症的治疗方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何识别冤亲债主干扰咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世影响【σσЗ8З55О88О√转ihbwel 意外的前世修行咨询【www.richdady.cn】√转ihbwel 财运不佳的案例分享【σσЗ8З55О88О√转ihbwel 前世缘份的再次相遇咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的干扰与超度咨询【www.richdady.cn】√转ihbwel 儿子抑郁症的康复训练咨询【企鹅383550880】√转ihbwel 失业的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的环境影响【企鹅383550880】√转ihbwel 亲子关系中的沟通艺术咨询【σσЗ8З55О88О√转ihbwel 财运不佳的财富转运方法有哪些?【企鹅383550880】√转ihbwel 外灵干扰的咨询技巧【企鹅383550880】√转ihbwel 网络安全设备运行状态 外贸营销方式 淘宝如何实现网络营销 4C营销理论 o2o营销中国加强网络安全 国家信息安全事件,-1 顺德手机网站设计信息 2014国家网络安全周 网络营销活动规划 旅游景区网络营销策略 信息安全的指标 商城网站建站程序 营销新创意 医院信息安全解决方案 深圳全网整合营销 桌面端的信息安全 营销邮件免费模板下载 购物网站设计需要哪些模块 2017年网站建设公司 2017年网络安全新闻 营销的定义及作用 多元化网络营销 营销新创意 信息技术 网络安全 电子政务与网络安全 2016年网络信息安全 网站新版 计算机网络安全论坛 沈阳做企业网站 网络安全控制策略包括哪些内容? 丰都县网站 全完口碑营销1688 网站建设师 大连 网站制作 知识营销中间页 多元化网络营销 网络安全运维周报 为什么网站生成后不显示 个人网站设计 全国信息安全系统 网络安全预警防御技术 2017年网络安全新闻 网站怎么弄 陕西营销型手机网站建设 网络安全简洁字体 网络营销的基本知识 网络安全及信息化 网络营销相关案例分析 计算机网络安全论坛 被黑网站 信息安全技能竞赛 网络安全运维周报 沈阳做企业网站 2016年网络信息安全 公安局网络安全解决方案 顺德手机网站设计信息 太原免费网站建设 网络安全 的段子 互联网品牌营销专员 互联网营销百度百科 网络营销相关案例分析 网站 title keywords description怎么设置 python. 信息安全 知识营销中间页 学网络营销费用 信息安全项目分享 网络营销托管 政务网络安全 2017年网络安全新闻 学网络营销费用 购物网站设计需要哪些模块 网络安全设备运行状态 丹江口网站建设 高端公司网站 广州网站建 公安局网络安全解决方案 合肥整合营销平台 莱芜网站建设 电子商务 和传统营销相比网络营销的优势和不足之处体现在什么地方 郑州网站建设电话 北京网络安全招聘 网络信息安全防范技术研究 网络安全管理员是什么 信息安全共享平台,-1 网络安全大事记 网络安全有哪些职业 公司网站手机版设计 网络安全态势感知呼市网站制作 广州外贸网站信息 什么是手机网站建设 郑州网站建设电话 品牌网站推广 济南网站制作公司报价 旅游景区网络营销策略 联想电脑网络营销 网站-网站建设定制 美国的网络安全功防 腾讯事件营销案例 银监 信息安全 桌面端的信息安全 政府信息安全ppt 竖导航网站 珠海企业网站制作公司 2017年网站建设公司 网络安全设备运行状态 政务网络安全 企业免费建网站 营销定制 中山网站推广新微博营销 网络安全预警防御技术 丰都县网站 数据网网络安全 广东做网站 珠海做网站的 营销新创意 全完口碑营销1688 科学管控在网络安全中的重要性 个人信息安全调查报告 信息安全的指标 网络安全及信息化 信息安全 深圳全网整合营销 数据网网络安全 网络安全扫描器 电子政务与网络安全 提供网站建设的公司 创新的商城网站建设 网站推广费用 网络安全例子 网站app开发 网站宝建站 个人网站制作 网络安全隔离网闸 国家信息安全监管部门 北京网络安全招聘