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"
成都网络营销公司排名网络安全周报网络安全能力南通网站怎么推广产品网站建设免费建设网站平台信息安全管理制度体系,-1日本网络安全专业硕士信息安全管理制度体系,-1网络安全审计内容入赘女婿如何受气难当,人生一路走向巅峰描写想达到现实某一天,林安发现了一扇散发诡异红光的木门。 诸多诡异恐怖的事情紧接发生,禁忌之门已经开启。 死亡接踵而至。 我在半夜坐在门前听着门后的窃窃私语,享受着它们带来的恐惧,能打败鬼的只有鬼。 一次秘境探险中,误入了邪恶之神赫卡忒的祭坛,被抛弃的高智雅却意外获得了邪恶之神赫卡忒的力量,却也面临着重重考验。叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!末世降临,城市崩坏。所谓的乐园居然是普通人的坟墓。肖遥意外绑定暗影系统,操纵自己以及敌人的影子,拯救这个完全崩坏的世界。 少年李岩被逼成魔,冒着被万千道貌岸然之辈追杀的风险踏上了寻找父母之路,获魔祖传承,守本心之道义,力挽狂澜一路问鼎玄帝,成就万古魔祖,替人族辟天地,为魔族开大道,让万族见证,魔族亦可生浩然正气!系统傍身,杀一人,活一天; “以死神的名义,你必须死!” “以死神的名义,毁灭他们!” 死神:“呃...你不要坏我名声!”当发现真正爱一个人时,会为她做一切事。人生就是这样。张瑾因为跟女同事的一次暧昧,错失心爱的恋人。一次意外而亡 ,在冥界使者的帮助下,许他三世轮回,再与心爱之人结成姻缘。夜钧 星际历3334年,星际第一个26岁就成为元帅的男人。 他是浩瀚宇宙,星际的传奇。 没能死于星际恶兽的争斗,没有死于宇宙洪荒。 却死于女人之手。 醒来发现重生于旧日历七零年,是得过且过,还是风云变幻一夕成神。
网站设计公司电话 网络安全应急响应时间网络营销带来的影响 网络安全程序前台界面 信息安全技术 信息系统安全管理要求 加强信息安全的建议和意见 网络安全电子版 西安网站制作 营销失败案例 网络安全信息共享平台 营销学视频 网站系统商城 网络安全平台 营销失败案例 幼儿园网站设计 榆林做网站 营销失败案例 国际信息安全公司 网络安全和管理 等级保护和网络安全法 医院营销学 odex信息安全,-1 科技营销 杭州网站建设开发 企业网络安全方案 网络安全和管理 关于我国网络信息安全与法律保护措施调查 网络安全信息共享平台 南阳网站营销外包公司 网络安全创新项目 选择佛山网站设计 网络安全认证机构 如何创建个人网站 信息安全就是网络安全 免费建设网站平台 营销型网站建设 做网站工具 幼儿园网站设计 网络安全特征包括哪些方面 信息安全的特征包括 网络安全电子版 做个简单网站大概多少钱 淮安网站设计 网站的总体结构 企业网站欣赏 网络安全信息共享平台 石家庄医院网站建设 北京微博营销服务商 整合营销传播的效果 企业网站系统 网络安全平台 微信营销 咨询公司 有哪些网络安全论坛 网络安全 专业 营销学视频 网络安全程序前台界面 银监会信息安全大检查,-1 帮人做网站 虚拟专用网络安全问题 信息安全备份 企业网站首页布局尺寸 信息安全事件管理规范 重庆信息安全公司 日本网络安全专业硕士 什么叫信息安全管理员 信息安全硬件厂商 信息安全技术 信息系统安全管理要求 app营销的劣势 昆山网站 专业建设网站制作 广东省网络安全宣传周 医院营销学 三只松鼠营销的缺点 营销型网站建设 专业建设网站制作 网站站制做 网站核验点 网店协作与联动营销 网站站制做 百度信息安全 网络信息安全通报机制 如何创建个人网站 西安网站制作 2016网络安全案例事件 odex信息安全,-1 义乌 外贸网站 开发 新乡网站设计 信息安全方案实例 网站建设有免费的吗 网络安全创新项目 网站系统商城 陕西企业网络营销 网络安全的特点 上海网站建设要多少钱 整合服务营销是什么 化妆品手机端网站模板 电商做网站 信息安全等级保护 五级标准 企业手机网站建设策划 武汉企业网站建设 美国 网络安全 总统令 陕西省网络与信息安全测评中心怎么样 网络安全应急响应制度 榆林做网站 网站后台添加内容网页不显示 网站设计公司无锡 陕西省网络与信息安全测评中心怎么样 网络安全赚钱 网络安全指标体系 深圳手机网站 网络安全赚钱 网络安全周报 整合营销传播的条件 网络安全涉密资质 百度信息安全 信息安全事件管理规范 社交媒体营销要不要做 外国网络营销参考书万州网站建设 上海网站建设网络公司 国家信息安全形式 网络安全平台 信息安全就是网络安全 专题页网站 沧州做网站 科技营销 网络信息安全通报机制 淘宝客网站建站 深圳全网营销外包 虚拟专用网络安全问题 成都网站建设市场 互合营销成都网站建设电话 网络安全 微信 信息安全区 大学网络信息安全报告 信息安全等级保护 五级标准 等级保护和网络安全法 网站设计时应考虑哪些因素 网络安全设备厂商 大学网络信息安全报告 网络营销课件 信息安全方案实例 大型网站建设方案 我国信息安全等级 电信用户信息安全协议书 台州网站建设企业 信息安全管理岗 招聘