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"
微博如何开展营销活动云南制作网站的公司网络信息安全实践报告游戏的营销企业网站优化网站客户评价临沂在线上网站建设徐州建立网站手机网站免费信息安全问题我的剑,我的心 堕入魔道,逆天而行乱世佳人从亡灵开始逆袭之路。【玄幻+无敌+爽文+系统】张辰穿越到玄幻世界,拥有了神级抽奖系统,可以抽奖到功法,体质等等所以只要运气好,抽奖到无敌不是梦,于是 张辰“我无敌,你们随意”主角无限强大,不管是在武力上还是智力上。主角永远是打不死的小强,即使他遭遇到在危险的境界,都会脱困,不管是因为什么奇遇啊还是他人解救。我叫鲁笠一个大学新生,通过自己吭哧瘪肚的努力加上家里的钞能力终于考上了大学,不过是个二流大学,专业的传媒。 今天是新生报到的第一天,而我的寝室是男生宿舍4号楼四单元404室!一个据传很邪门的寝室。 而我们的故事也从这里开始。一个屌丝大叔无意间触发穿到别的世界,发现年轻了天合神州,大岚王朝。 有那么几个见过世间百态,历尽天下万事,到头来却死得默默无闻的老侠客。 有那么一个被骂为窃天下之贼的前朝太子。 有那么一个背负双亲之仇,隐姓埋名的大户之后。 有那么一群死守国门,却被朝堂弃如敝履的将士。 还有…… 算了,还是不说了。 他们的故事,岂是一言可以蔽之? (对了,还有武林外传的老几位!)现实社会中我唯唯诺诺 重生之后看我重拳出击 开商铺,练武道,从此我成为了大齐帝国最出名的商业巨鳄....二十年前,龙国江城,第一世家裘家被一夜灭门,本以为一切都遮掩的没有一丝破绽,但是却没算到裘家最小的孩子活了下来,并且成为一代战神,他从来没忘却过家族的仇恨,只不过作为军人的操守,不会无故杀人,除了他的仇敌之外,但一切并不如他所想,他不杀人,不代表不会有人会因为他的追查而被灭口,就比如刚刚别灭的江城汪家,只是撕开了当年裘家灭门惨案的一角而已 意外穿越,王腾穿越到了龙珠超世界,而且还到达了全王宫殿! 全王对王腾特别赏识,直接让他成为神界的监察官! 激活签到系统,开局奖励超级赛亚人五……… “叮,恭喜宿主在全王宫殿签到,奖励自在极意功!” …… 比鲁斯:“什么?监察官大人驾到了,赶紧出迎!” 芭朵斯:“王腾大人好帅啊,真希望能够跟着大人,成为他的贴身天使……”
建湖建网站的公司 整合营销传播的理解 微信营销与推广公司有哪些 商务网络营销 微网站菜单 重庆营销网站 网络安全的会议题目 邮件营销软件 临清网站建设 中国网络安全问题 家宅磁场咨询【www.richdady.cn】 升迁障碍的原因有哪些?咨询【www.richdady.cn】 前世缘份的识别方法【www.richdady.cn】 如何预防过早离世咨询【www.richdady.cn】 感情纠纷的原因分析咨询【www.richdady.cn】 大龄剩女的婚恋心态【σσЗ8З55О88О√转ihbwel 儿子抑郁症的咨询技巧【σσЗ8З55О88О√转ihbwel 纠纷的调解技巧【微:qq383550880 】√转ihbwel 耳鸣的原因分析【σσЗ8З55О88О√转ihbwel 前世缘份的前世记忆咨询【σσЗ8З55О88О√转ihbwel 事业不顺的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系中的沟通艺术有哪些?【www.richdady.cn】√转ihbwel 孩子厌学的解决方法咨询【σσЗ8З55О88О√转ihbwel 儿子不读书的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 投资项目的财务规划咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 耳鸣的案例分享【企鹅383550880】√转ihbwel 前世老公的前世案例咨询【σσЗ8З55О88О√转ihbwel 存不住钱的心理调适咨询【www.richdady.cn】√转ihbwel 网络营销就业怎样 网店营销计划有哪些 网站层级 聚美优品营销模式分析 手机网站生成app 潍坊网站建设 马 支付宝网络营销策划 企业官网响应式网站 网站内容 上海创意型网站建设 徐州商城网站建设 茶叶蛋营销 信息安全的防护,-1 网络信息安全 培训 甄别网络信息维护网络安全 我国信息安全法规概述 营销型网站有哪些 网络信息安全知识竞赛 企业内部网络安全 案例 网络营销服务售后 提供网站建设搭建 网站防采集 计算机信息安全病毒,-1 网络营销自学考试科目 江门网站建设 2015网络安全广西 国家工控信息安全,-1 网络安全配乐 中国信息安全 政府比例 游戏营销环境分析报告 网站如何被百度收录 网络维护网站美工 贝贝网营销 支付宝网络营销策划 b2b网络营销企业过程 青浦网站建设 企业网站优化 学了网络营销能做什么 路由器无线网络安全设置 电商营销平台 免费注册网站空间 数据及网络安全 重庆网站推广营销价格 网络营销策略例子 烟台网络营销外包 网站建设公司运营 南昌做网站 信息安全网络大会 网络营销传播渠道 做网站平台的公司 信息安全等级保护 部门 营销推介方式 目前流行的网络安全软件 摩拜单车营销策划书 网站的构建 国家信息安全项目 太原网站设计 上海网站建设网站制作 网站建设落地页 网站制作新技术 信息安全网络大会 本溪网站建设 广告营销技术sem 电子商务网站建设常用的信息安全防护技术 建湖建网站的公司 提供网站建设搭建 企业网络营销应用分析 网络营销策略技巧 数据及网络安全 建湖建网站的公司 沈阳做网站哪个好 第四届网络安全论坛 网站内容 手机网站生成app 建设网站具备的知识 网站的构建 营销的作用 重庆网站推广营销价格 承德网站建设 杭州营销型网站建设 b2b网络营销企业过程 临沂在线上网站建设 我国信息安全法规概述 网站层级 中国信息安全投稿 网店营销计划有哪些 行业平台网站建设 营销号软文 网络营销策略例子 上海公司做网站 杭州营销型网站建设 建企业网站行业网 2016网络安全案例分析 安庆网站优化 菏泽网站推广 网络营销的推广形式 邮件营销软件 信息安全技术需要掌握的技能 企业内部网络安全 案例 新网站建设平台 广东信息安全 大学 邮件营销软件 佳木斯网站建设 信息安全等级保护 部门 网站建设公司运营 网络信息安全 培训 清徐网站建设 优秀企业网站欣赏 网络维护网站美工 芜湖网站建设公司 网络营销策略技巧 网站免费注册域名 网站营销公司哪家好 物流网站建设 电商营销平台 信息安全体系方案 大莲网站建设公司 g20网络安全 大华信息安全四个惩罚 甄别网络信息维护网络安全 自动营销器 网站托管公司 杭州 网站设计制作 厦门响应式网站制作 网络营销怎么搞 大规模网络安全态势感知 临清网站建设 徐州建立网站 信息安全的防护,-1 网络营销运作 网络安全法和等级保护网络安全的威胁 商务网络营销 普洱网站建设 网站的模块 网站客户评价