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网络安全 课程设计 pki专业网站设计信息网络安全管控当当网营销电子邮件营销十大禁忌网络安全界面网站打开速度优化全国信息安全大赛培训网络与信息安全方向 培养计划专业的西安免费做网站企业信息安全管理培训王老吉的网络营销方法微博营销的优劣势营销网站的筛选电子邮件营销十大禁忌网络信息安全现状,-1深圳网站制作公司微信营销引流深圳做h5网站设计目前国家信息安全形式全网营销多少钱网络安全问题防止趋势如何建立企业网站枫立天是我的小学同桌,今年六月,我在学校里用一个日记本写一本小说,在班里特别有名,粉丝有十几,有一天放学,枫立天来找我,他帮我在网上更小说,六月末,我加入了17K,但他并没好好更,还删改内容,让我很失望,我只能把原本的拿出来更新人创作,多多支持,谢谢啦跟着爷爷生活在青石巷的叶明,每天都坐在门口看着爷爷接收一批又一批的客人,但是当他问起他们是谁的时候,爷爷总是笑一笑便不再多说什么。叶明也不再问什么只是专心雕刻自己手中的木头,这样的日子没坚持多久,周围开始发生一些无由的命案,起初叶明只是觉得警察多了些便不以为然,直到后来他发现自己的作品总是莫名其妙的失踪?莫非是自己长腿跑了?【玄幻】【修真】【无敌爽文】 世人道我是魔又何妨!鸿蒙之始,龙族独尊! 我是龙!身在黑暗,心向光明!谁愿意甘心成为一枚棋子... 终有一天,我会打破棋局,执剑重回巅峰,弥补前世的落落龙生! 没错!我坚信! 魔法,多么神奇的东西! 这使人们的生活发生了大大的改变!人们的生活开始更便捷,但是,那已经是过去了,现在夜晚的时间延长!夜晚的延长出现了恐怖的丧尸!人们只求能安安静静的过好每一分每一秒,期待每一个黎明到来游戏降临,现实与虚幻交织。 这里有武者拔山倒岳,声震十里。有妖兽双翼一展直上云霄,更有一种名为玩家的生物在当中嬉笑怒骂。 世界的交融,躲不开的命运。 当百米长的火焰刀气横贯于现实之中,当名为‘魔’的存在破碎空间降临之时。 举世哗然,一众玩家不由抬头仰望: “我kao!” ……在杀手行业闻名遐迩的顶级杀手乔森对自己身世始终一无所知,在一次意外中,扑朔迷离的真相浮出水面,对自己身世的调查在悄悄展开,他能否在一次次危险的行动中脱身并找寻到自己身世的线索?到底什么才是他的归宿!!!那就成为avenger!为了爱的复仇者!慕容是名警察,他莫名其妙的卷入一个神秘的组织 慕容是A市的一名副队长,离队长之位只有一步之遥,也是最年轻的副队长 末世,丧尸,异能,人性,生物兵器 长生不是福赐,而是诅咒。 生离死别,千世孤独。 结束,也是开始…… 再回一次,你依旧无能为力……“队长,队长,醒醒…”“我的指挥失误了,让队友一个一个离去…”在这个世界中,人们想要生存,想要生存,就只有战斗。意识的模糊,该让我归于死亡之中。“想好这次复活的人选了吗?没有人比那对兄妹更能指挥队伍,也没有人比那对兄妹多承受好几把灵武。这是最后的复活核心,必须在这对兄妹之中选择一位。改变这个世界的规则!”
中国信息安全测评费用,-1 网络安全 人员资质 信息安全运维体系建设 网络安全部门负责 网络安全重要威胁 信息安全攻防平台 对信息安全管理威胁最大的是 site.pan.baidu.com 百度推广营销方案 整合营销运营 网络营销方案步骤 简述网络安全的解决方案 网络营销方案步骤 湖南微信网站营销 国家计算机网络与信息安全管理中心实验室 毕马威 网络安全法 银川网站优化网站制作 成功案例 信息安全 pdca 上海信息安全师报名 网络信息安全审计与监控教育部工程技术研究中心 学术委员会 网络营销在我国的发展现状 格力公司网络营销定位 国防信息安全 信息安全防护技术有限公司 网络安全 人员资质 网站内容要突出什么原因 河南建网站广东网络安全宣传周 网站申请 网站备案 办理幕布拍照 网络营销服务包括哪些 工业信息安全技术 公司网站可以个人备案吗 简述网络安全的解决方案 微博新号营销 南通网站建设 南大街 湘潭大学信息安全 网络营销评价方法有哪些 win7网络安全模式上qq 跨境网络营销的发展观念 网络营销课程资源 中山营销外包