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"
网络安全服务商网站的后期维护工作一般做什么成都的国家信息安全所网站顾客评价创新的手机网站建设网站与后台厦门做网站公司公安部网络安全监察网络营销有用吗重庆网站开发商城一江一舟一楫,一城一人一路穿越明末,阴差阳错做了个假太监。 本想捞点钱远走高飞,却稀里糊涂成了崇祯身边的红人; 稀里糊涂取代了魏忠贤,稀里糊涂剿灭了乱党; 稀里糊涂击败了皇太极,稀里糊涂复兴了大明…… 这一切的一切,全都稀里糊涂的! 我也不知道咋回事儿!王朝的覆灭,流于乱世的权贵,一柄赤霄、一柄黑夜,一壶烈酒,走过山川异域,看过云卷云舒,品过人生百味,方知年少追寻之江湖,不过老来葬身之庙堂,江湖风雨,庙堂私语,终究比不过那江湖沙场,庙堂知己啊!风声、雨声、读书声、终究比不过那沙场的马蹄声啊!功名、烟火、财富,终究比不过那江湖之风流啊!江湖儿郎江湖死,庙堂书生庙堂语。赤霄、黑夜,一刀一剑,便将这江湖捅个底朝天,将这庙堂搅个天翻地覆;且看,司马枫与纳兰明轩快意平江湖;共同入庙堂;携手赴沙场……水沝淼?……别人穿越都是自带老爷爷和系统外挂。 而武神王历穿越后却成了一具最低等的召唤骷髅。 王历无语问苍天。 发育畸形也就忍了,为啥自己的主人看起来还不咋聪明的样子。 别的召唤兽都是被召唤师精心培养,而王历却要精心培养自己的召唤师。 常言道,女召唤师和女司机难养也。 要把她培养成真正的主角,任重道远啊。世界是被异常的嗜睡症击中,并出现大量人员昏迷。蔡苏宇陷入异常的嗜睡症,被转移到次元战场。岚枫死后穿越修仙世界,发现金手指系统竟会吃修为。一个人的成长故事天启年间,年轻的朱由校,望一举解决辽东之患,然而,事态之发展,却出乎他的意料,最后,竟然导致了更大的灾难…… 异世赌徒遇到当世疯子,风云变幻,看得他俩如何作死,在这人命如草芥的世界,如何为人类谋福祉呢?
网站有哪些分类 google 提高网站上的网页在搜索结果中显示的次数 从重大事件看网络安全形势答案 美国信息安全投入多 太原网站改版 重庆的网站建设公司 北京信息安全等级保护,-1 无线网营销 网站建设空间 跨境电子商务网络营销 前世记忆恢复技巧【www.richdady.cn】 如何识别冤亲债主干扰咨询【www.richdady.cn】 有官司的原因分析咨询【www.richdady.cn】 孩子厌学的自我提升咨询【www.richdady.cn】 工作升迁的障碍与突破咨询【www.richdady.cn】 事业不顺的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度仪式如何进行?【微:qq383550880 】√转ihbwel 人际关系不好的沟通技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 莫名其妙感伤的情感释放咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的改运方法【企鹅383550880】√转ihbwel 耳鸣【微:qq383550880 】√转ihbwel 如何避免无形干扰因素咨询【企鹅383550880】√转ihbwel 婴灵的超度仪式如何进行?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子不读书的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场规划如何制定?咨询【σσЗ8З55О88О√转ihbwel 老公家暴的法律咨询咨询【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 太原网站推广 中国信息安全测评师盐城网站制作 网络安全产商 互联网营销教程视频 手机网站模板下载 淘宝 病毒式营销 网络营销宣传方式有哪些 网络安全 敏感数据 网络有哪些营销方式 网络安全产品谁的好 网站 手机案例三个成功问答营销案例 重庆的网站建设公司 网络安全服务商 网站尺寸 网站制作资讯 网络安全博览会地点 房山网络安全小镇 cog2011信息安全论坛,-1 珠海移动网站建设费用 网络营销公司靠谱吗 网络安全绿盟科技 论坛营销 成功案例 网络安全 汽车 网络安全 展览馆 2017 保障网络安全 鹤岗网站建设 金融企业 网络安全法 动效网站 无线网营销 学网络营销多钱 网站加黑链 建网站怎么上线 网络安全学啥 网站设计样式 网站顾客评价 布吉网站建设 广东网络安全 网站建设总结 厦门做网站公司 广东网络安全 比赛 信息安全亮点 架设网站 武汉网站优化 网络安全防护方案 企业网站建站意义 全网营销文章 全球十大信息安全公司 淘宝 病毒式营销 网络安全协议分析 360杯全国大学生信息安全技术大赛 建个简单网站信息安全 东盟,-1 网络安全绿盟科技 跨境电子商务网络营销 2016中国网络安全技术对抗赛 网站制作资讯 信息安全月报 传统网站和手机网站的区别是什么意思 定制网站 网络有哪些营销方式 传统网站和手机网站的区别是什么意思 瑞星网络安全预警系统 信息安全监管机构清单 网络营销计划 上海做网站的公 公安部网络安全监察 重庆互联网营销 网络安全技术图片 网络安全防护工具 网络安全学啥 网站价钱 网络安全防护方案 北京信息安全等级保护,-1 太原网站推广 信息安全员证书 昆明网站优化 网络营销20个好处 建网站怎么上线 做网络营销要学什么 2015年网络安全预测 2016信息安全事件 google 提高网站上的网页在搜索结果中显示的次数 国家网络安全局副局长 鹤岗网站建设 不属于营销战略4p的 网站与后台 网络安全技术图片 手机网站模板下载 中文网站模板 网站建设业务前景 厦门做网站公司 网络信息安全征文 不属于网络安全技术 国家网络安全局副局长 网站设计深圳 信息安全月报 网络信息安全学什么,-1 网络金融信息安全网址网站建设 中企动力公司 信息安全 保密 网络营销工具及方法的运用 网站定制与模板开发 美国信息安全投入多 网络安全应急处理 手机模板网站 酷黑网站 上海信息安全技术支持中心有限公司 东莞阿里网站设计 网络营销设计方案 线上互动营销logo 信息安全需要的软件 网站建设业务前景 中国信息安全测评师盐城网站制作 建网站怎么上线 网站建设空间 支付宝全网营销软件破解版 网络安全服务商 网络安全协议分析 中文网站模板 网络营销工具及方法的运用 网络安全 闭环 信息安全监管机构清单 网络营销事件营销 cmmi 网络安全 网站制作帐户设置 双11店铺营销亮点 营销计划短链接 广州营销班 支付宝全网营销软件破解版 网络安全产商 房山网络安全小镇 局域网网络安全解决方案 qq网络安全中心 房地产网络营销 手机网站和pc网站 网络安全 汽车 线上互动营销logo