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定制网站徐州网站制作如何定位肥城网站制作推广微信营销手机厂家网站靠什么秦小满穿越成了地主二代,本想当个败家子躺平,可总有人想夺他的粮、抢他的钱、要他的命。 “既然无法低调,那我就不装了。” 于是,大乾朝百官想巴结他、公主想嫁给他、皇帝想让贤给他,就连周边国家的王族都想跪下叫他“爸爸”求庇护。 可他真的只是想当一个闲散的败家子而已……现代佣兵周文意外魂穿到民国学生周文身上。他利用穿越带来的一颗佛珠的神奇功能,再加上后世带来的经验、知识和技能。打造了一只武功高强、军事技术顶尖的佣兵团队。 他带领这支佣兵团,历经中原大战、淞沪抗战、称雄上海滩。装备了当世最先进的各种武器,最后投身于伟大的抗日战争中。带着兄弟们杀鬼子......屠婧婧:老娘把你当弟弟! 你竟然想让我给你生孩子。 陈然之:婧婧老婆想逃? 重生一次,老子会让你跑掉”。 屠婧婧:你叫我什么?找死是不是? 你这个混蛋,老娘把你养那么大,看拳” 陈然之:当场鼻血飙升, (甜宠、高糖、、日常文、姐弟恋1v1)虚空的注视下,万中无一的人类点燃火种。林宵从混沌中醒来,携带卡师指南,目睹这个世界:巨龙在白日创世,诸神在黄昏长眠,人类在黑夜抗争。 通天高塔,寡头垄断,机械飞艇,虚拟世界,光轮摩托,卡片具现……火种生生不熄,太阳照常升起,这是一段关于 “卡师”的传奇。林家长老借天降火雨开始谋权篡位,族长死亡,少族长也丧命。知情这或杀,或是心腹,唯独一个小仆人不仅知情,还逃出了林家。因为林家少族长对他如亲弟弟,他对少族长为亲哥哥。世道无情,人有情,且看我林天报仇雪恨,登上那至高无上的境界赵风穿越秦朝成为了始皇帝的第七子,嬴子歌! 原以为远离咸阳便能躲避灾祸,但赵高却找上门,好在系统如愿开启。 【神选一:接受始皇召令,卸下兵权,立即启程返回咸阳。】 【神选二:拒接始皇召令,立刻起兵,自立为王!】 【神选三:接受始皇召令,立刻回都,向始皇索要太子位!】 面对选择,嬴子歌选择了去向嬴政要太子之位。 至此,暴揍胡亥、疯斩徐福、莽破匈奴、凶伏百越..... 蒙恬:报始皇帝陛下,太子殿下率兵诛杀了匈奴二十万。 嬴政:...... 章邯:报始皇帝陛下,太子殿下已经诛杀了六国叛徒,这是刘邦与项羽的人头。 嬴政:...... 系外文明意外闯入太阳系,并开始建立新的家园,然而他们却发现地球上还有一个人类文明,两者能和平共处吗?它们又将碰撞出怎样的火花?战争还是谈判?共生还是共死? 我们是生活在一个多维的空间,现在所处的三维空间只是其中很小的一部分,其他空间到底隐藏着什么奥秘需要我们不断地探索。现代人的大脑开发只有10%,就连爱因斯坦的大脑使用率也只有15%。而古时人类大脑使用率是100%。有些事情不是你解释不了就认为不存在,那是因为你的大脑使用率太低了。特异功能的修炼过程也是在逐渐提高人类的大脑使用率的过程,当你的能力达到一定水平之后很多问题将迎刃而解。一块骨,照亮成仙路。 一块碑,砸出无敌姿。 红尘争渡,借道成仙...... 如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。
网络营销学徒靠谱吗 网站靠什么 企业网络安全防护 网络安全前言 临沂网站制作 网络营销培训机构 政府网络安全现状分析 天融信网络安全学院 哇哈哈营销环境分析深圳网站制作 网络营销bbs 什么是网络营销沟通 c2c网站有哪些 网络营销培训机构 上网时为何要重视网络安全 请问如何对以上传的网站进行内容的维护需要注意哪些事项? 网站前端开发福建省网络与信息安全测评中心 南阳企业网络营销外包 营销小知识 佛山企业网站建设策划 个人网站设计 营销投稿 鸡西网站建设 宣传网络安全 西电信息安全专业排名 系统信息安全要求 北京网络营销外包 中山移动网站建设公司 重庆整合营销哪家强 免费网络营销课程 网络和信息安全 外交政策 dreamweaver 我的网站问及那 全部被覆盖了怎么办 高端的平面设计网站 全网营销套餐 信息安全自评估报告 网络安全态势感知探讨 保定哪里有做网站的 信息安全发布 农副产品电商营销培训 上网时为何要重视网络安全 怎么做网站信息