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"
如何优化网站绵阳汽车网站制作自由型网站网络营销岗位是什么意思信息安全与服务公司网站可以个人备案吗网络信息安全举报东营+网站建设手机网站模板信息安全分级迷茫之路,唯有剑骨陪伴。 房屋内先是响起一阵‘咕噜噜’的叫声,大约三刻钟后又是响起一阵摸索声,随后响起“咔咔”脆响声。 太阿纳闷道:“赵老夫人,肚子可是饿了,看你吃的这么香,请问你在吃什么?” 一阵沙哑略带嘶嘶音的声音传来:“萝卜!” 太阿见她吃的越来越香,“咔咔”声也越来越响。既然入了魔道,嫁给哥哥也是没问题的吧。少女邱冷萝在机缘巧合之下,被一个魔教女hentai的残魂附身,于是开启了修仙的旅途。不过修仙的道路上一定要有哥哥呢!左手为阴,右手为阳,自成乾坤,脚踏虚空,除魔证道。掌天地之轮回,握万界之生死。你做过梦吗?如果有东西可以进入你的梦境,噩梦来临了……这是生与死的界域。亡灵国度中究竟隐藏着什么? 这是陈永元的轮回,我是世界的轮回 且看他如何从亡灵世界中寻找自我的真谛天上仙人来人间,我辈乘风上星空。生来记忆被封印,随着修为增加,记忆不断恢复,被封印的记忆即将打开,轮回一世是否战胜自己的哥哥出生农村的我,小学出众,初中还行,高中普通,最后高考一个普通的211,不知为何,我回到了初三毕业的那一年……遇见了那个惊艳我今生的她我本是剑道门派一名不起眼的弟子,一次机缘巧合下得到了一根笛子,那一天一切都变了……重生即传奇 苦乐童年后,巧合之下有了不同的身份 身怀高能的他更是如虎添翼 善与恶,一念间 向善而行 终究书写炫丽的传奇人生……
石家庄制作网站推广 潍坊网站优化 连云港网站建设 企业内部信息安全平台,-1 信息安全 人员证书 网络安全审计设备报价 信息安全的层次化特点决定了应用 外贸全网整合营销 国家网络安全的案例分析 温州微网站制作公司推荐 工作场所意外事故的原因咨询【www.richdady.cn】 前世今生的故事解析【www.richdady.cn】 前世缘份的前世故事咨询【www.richdady.cn】 与老公前世咨询【www.richdady.cn】 婴灵、邪灵、祖灵咨询【www.richdady.cn】 冤亲债主的干扰与解脱威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与男友前世的前世修行咨询【σσЗ8З55О88О√转ihbwel 孩子不爱读书的心理分析有哪些?【σσЗ8З55О88О√转ihbwel 外灵对人的影响【www.richdady.cn】√转ihbwel 前世今生测试在线【σσЗ8З55О88О√转ihbwel 家庭关系的和谐共建方法有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 干扰对人的心理影响咨询【www.richdady.cn】√转ihbwel 老公家暴的自我保护咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份对现世的影响【σσЗ8З55О88О√转ihbwel 升迁障碍的职场策略有哪些?【σσЗ8З55О88О√转ihbwel 升迁障碍的职场策略【企鹅383550880】√转ihbwel 婴灵的真实案例有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的母亲的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰的前世记忆【微:qq383550880 】√转ihbwel 电子网站建设 中华人民网络安全协会 信息安全技术大赛试题 中国信息安全测评中心地址 网络安全审计技术 网络营销组织形式 中国信息安全认证中心 主任 网络营销有用的书籍 农业网站建设 信息安全技术在ftp中的应用,-1 网站建设的 绵阳汽车网站制作 山西网站制作公司 网络与信息安全等级 江西网站建设 连云港网站建设 信息安全网络安全 2012年网络安全大事件 国家网络安全专题 福州医院网站建设公司 信息安全控制矩阵 网络营销行业分析 温州微网站制作公司推荐 濮阳做网站 保定网站优化 2016信息安全专业排 如何优化网站 信息安全的层次化特点决定了应用 广东信息安全评测中心 这样建立自己的网站 关键词网络营销 信息安全二级认证,-1 企业内部信息安全平台,-1 中国信息安全认证中心 主任 网络安全等级保护定级 上海整合网络营销 商务网站建设方案 网络安全审计设备报价 企业网站托管 徐州网站建设 深圳外贸网站建设 网站制作策划 东莞网络营销外包 投诉期新产品 营销策略 网站与域名十三五 信息安全保障措施 企业标准型手机网站 信息安全产品有哪些 事件营销成功的案例 万州建网站 营销渠道都有哪些 美胸 热点.事件营销 网络安全实名认证查询 网络安全防范技术 asp网站设计 福州建网站做网页 国家信息安全局网站 网络安全 会议 深圳公司网站改版通知 南通网站建设 鹤壁网站优化 事件营销成功的案例 全网网络营销系统 网站 title keywords description 网络安全 人工智能结合 信息安全分级 信息安全控制矩阵 网络安全攻防演练平台 石家庄市制作网站公司 网站制作策划 信息安全分级 国内网络安全公司介绍 手机网站模板 农业网站建设 网络安全审计技术 数字营销与数据库营销 福州建网站做网页 江苏网络安全认证 东莞网络营销外包 京东服务营销策略 信息安全建设依据 网络安全等级保护定级 网站备案 办理幕布拍照 连云港网站建设 信息安全技术大赛试题 网站背景色 中华人民网络安全协会 建网站代理商 苏州网站建设logo 投诉期新产品 营销策略 绵阳做手机网站 信息安全建设依据 国家网络安全的案例分析 房地产型网站建设 网站背景 网络安全法 郭启全 他人委托我做网站 龙岗做网站 租车营销方案怎么写 国家网络安全专题 公司网站可以个人备案吗 银行 公众号营销 龙岗做网站 网络营销的费用问题 美胸 热点.事件营销 企业标准型手机网站 网络与信息安全等级 福州医院网站建设公司 建网站代理商 营销的问题 数字营销与数据库营销 营销渠道都有哪些 电子商务营销 信息安全 人员证书 电子商务与网络安全 中华人民网络安全协会 开发商的饥饿营销 昆明建企业网站多少钱 中国信息安全测评中心地址 神州网络安全 运营商投资网络安全 网络营销组织形式 创新的购物网站建设 ecshop防官网收采集信息安全补丁 网络营销有用的书籍 2014年网络安全日 广东信息安全评测中心 营销型网站定制 创新的购物网站建设 东莞网络营销外包 国家网络安全的案例分析 信息安全大赛比什么 全网网络营销系统 营销渠道都有哪些 杂志网站建设 公安 网络安全审计系统