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"
论文里的图算字数吗论文快速降重论文里的页码怎么设置页码论文里图表算字数吗论文里引用字典的格式论文里的图算字数吗论文目录页数怎么改论文里的页码怎么设置页码论文目录怎么增加论文落款日期写哪论文两倍行距是怎样的论文里的图算字数吗论文目录里的点怎么打论文立足科技能源论文里的页码怎么设置页码论文落款日期写哪论文目录引言是什么论文理论部分怎么降重论文理论部分怎么降重论职务犯罪毕业论文论文目录中二级标题格式论文理论部分怎么降重论文目录怎么增加论医患关系的论文论文里引用字典的格式论延安精神3000字论文论文里图表算字数吗论一带一路的意义论文论职务犯罪 论文大纲论文目录里的点怎么打胡兴国因与张怀中之间有夺妻之恨,故意将张怀中彩云食品厂生产的问题奶销往城里。阴差阳错的是与城里奶娘乳业的司机两人同姓,并且在同一天送货,竟然错送到了对方的酒店。因为彩云食品厂的问题奶使参加礼尚往来大酒店婚礼的许多人中毒入院。市场监管局曾冠英奉命调查此事,却遇到重重阻碍。因为有人因中毒去世,市里组成专案组,其中调查组由市场监管局和市公安局组成,曾冠英与市公安局郑宏伟俩人共同合作,带领一干人员深入调查,期间有挫折,有误会,也有惊心动魄的卧底,逃亡和追捕,最终虽然找到制假售假的张怀中,但是遗憾的是他已经因为救人而死亡,与张怀中相互勾结的政府官员和出卖奶娘乳业的销售经理被绳之以法。这是个不寻常的修仙世界,修为越高,寿命越短。 凡人能活三百年,而修为每高一个境界寿元便减去一甲子。 练气、筑基、金丹、元婴、化神…… 寿元和实力,谁才是人类的真正选择?一位东方的金融奇才,却因手下的背叛,被迫留在中国,为有朝一日,惩治叛徒,找回失去的东西,他“厉兵秣马”,暗暗积蓄实力,就这样,短短不到一年,他便迅速崛起,然而,这崛起之路,却因守护爱情和友情,变得跌宕起伏,由此,一场场争斗便拉开了帷幕…人类引以为傲的科学技术真的值得自豪吗?在宏大的宇宙中真的足矣占据一席之地吗?是否存在着更高维度的文明?人类所谓的文明与猴子究竟有何区别呢? 末世,丧尸,异能,人性,生物兵器 长生不是福赐,而是诅咒。 生离死别,千世孤独。 结束,也是开始…… 再回一次,你依旧无能为力……本书以各个小故事来叙述,类型应有尽有,可以让你哭让你笑,让你体会人生百态一个因为创业失败的物理老师为了人重生2000年,新的人生将开启官场巅峰当修真者穿越到了现代,因为语言不通闹出了许多笑话。 谁能想到,一个不起眼学生竟然是修真界的最强者? 最强S级异能者?对不起,只需要一剑。 异能者和修真者的碰撞,核武和仙术的对轰…… 尽管当今之世,英雄是跌出不穷,而后才发现,他算不得真英雄。重回九十年代,再小的人物,也将不会平凡,这本就是个小人物的大时代!十年前不知情的星宸被父母遗弃,成为弃子。 十年后王者归来寻找想要寻找遗失的温馨,却被父母冷落,哥哥嫌弃,最终再次成为弃子。 弃子已成龙,看他如何找寻真相,识破阴谋,完成复仇。
异界骑士系统 女总裁的神医兵王 八荒炼体术 半神之坠 全能制作人 闻墓录 大人饶命 列车爆炸案之时空来客 不死道人 我名:恒生 倾覆天规 乱世豪杰传奇 远古尸毒 行于天灾间,我能做什么 天元真仙 世界级魔王的复苏日记 苏联之北 迷你世界奇迹再现一版 浮屠阁笙世 重生之大帝奶爸 论文框架图格式 论文录用通知上网查 论文目录引言是什么 论文理论部分怎么降重 论文框架图格式 论延安精神论文3000字 论文目录引言是什么意思 论文模板综述写在哪儿 论延安精神3000字论文 论文目录里的点怎么打 论文目录怎么增加 论文目录怎么写页数 论医患关系的论文 论文落款日期写哪 论文老师辅导内容 论文里引用字典的格式 论文目录引言是什么意思 论延安精神3000字论文 论文目录中二级标题格式 论文里的图算字数吗 论文录用通知上网查 论文里的页码怎么设置页码 论文快速降重 论文立足科技能源 论文落款日期写哪 论医患关系的论文 论延安精神3000字论文 论文快速降重 论文目录中二级标题格式 论延安精神3000字论文 论文里引用字典的格式 论文录用通知上网查 论文里图表算字数吗 论文里的图算字数吗 论一带一路的意义论文 论文里引用字典的格式 论文里期刊格式 论文目录引言是什么意思 论医患关系的论文 论文里期刊格式 论文里引用字典的格式 论文目录的页码要求 论职务犯罪毕业论文 论文目录怎么写页数 论文立足科技能源 论文录用通知上网查 论文目录怎么增加 论文里图表算字数吗 论职务犯罪 论文大纲 论文目录页数怎么改 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 小僧无花 山海有灵兽 玄幻:每天一种神级天赋 王者叙事 都市绝品医神 万利官网 皇冠登3出租 百家乐官网 万利官网 欧博官网 论医患关系的论文 论文里的页码怎么设置页码 论文目录里的点怎么打 论文目录怎么写页数 论文老师辅导内容 论文目录页数怎么改 论文里引用字典的格式 论文目录增加 论文模板综述写在哪儿 论医患关系的论文 论医患关系的论文 论文目录没有致谢 论文目录页数怎么改 论文落款日期写哪 论文目录增加 论文目录引言是什么 论一带一路的意义论文 论文框架图格式 论文里图表算字数吗 论文目录怎么写页数 论职务犯罪毕业论文 论文理论部分怎么降重 论一带一路的意义论文 论文目录的页码要求 论文里期刊格式 论医患关系的论文 论文目录怎么增加 论文目录里的点怎么打 论文目录没有致谢 论文录用通知上网查