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"
2008-13 曹冲称象 邮票编号邮票 工业产品 价格奥运不干胶邮票t164邮票1988年邮票值多少钱2008-13 曹冲称象 邮票t邮政储蓄邮票价格奥运不干胶邮票壬申年猴票是剪纸邮票吗澳门古迹邮票民国邮票大全元世祖2008-13 曹冲称象 邮票1997香港回归邮票民国邮票大全元世祖奥运不干胶邮票澳门古迹邮票t139邮票价格1988年邮票值多少钱1988年邮票值多少钱邮票 t41m五四运动邮票价格1985年牛邮票壬申年猴票是剪纸邮票吗1986t.108邮票孔雀邮票价格13年邮票价格t164邮票朱德邮票价格邮票 t41m天安门图案邮票本以为是重生,没想到却是穿越? 等等! 这些轮回世界怎么这么眼熟? 意外穿越来到有着轮回空间世界,看男主如何凭借前世对影视,小说,动漫的理解,纵横异界!前世一代枭雄,但不料九重雷劫的降临,令其飞灰湮灭。 临终之前,将灵魂放逐在万千世界漂流。 直到这一天,流浪的灵魂终于有了归宿。 生如蝼蚁当有鸿鹄之志,命薄似纸应有不屈之心! 大商末年,天下大乱,群雄逐鹿。 一代天骄叶青林横空出世,平四方,定天下,统一乱局,建立了不朽王朝——大屹帝国。 数十年后,江湖上风云再起,朝堂中波诡云谲。 一个偏远小镇走出来的少年,谱写了一段可歌可泣的传奇故事。魏和平在迷茫中穿越到了平行世界,无意中发现了系统的存在,他该勇往直前,还是猥琐发育,我决定要安全的浪。神圣再现,风云再起,旧时代未葬下的魔,就由我来终结。(作者是个小白,文笔不好!)灵修之道,不外乎,纳灵化旋,聚雾凝液,固晶结丹,筑台合道,九转涅槃;万古之劫即将再次袭来,天地能否逃脱这次灭世大劫,在乎巅峰也!太古年间 四大神兽争锋 引得妖修进入狂潮 公元521年间 四大神兽 古麒麟 古青龙 古白虎 古玄武传承....独自前往国外留学的体育生凌云,在一次英雄救美后,意外激活了一个逆天的系统,开始了自己称霸篮坛之路!!!初脉成痕、聚凝化元、固灵生御、游踏虚无、晋太跨玄、归灵返臻、化潮成液、涅浴登帝、窥视生死、成就永生、永生至上、神乃主宰!世界末日,是真的结束?还是新的开始?人类进化,天赋崛起,活下去,比什么都重要。
神话的侦破 寒意剑心l 香水与星河 诡异复苏之我真的怕 避难所下 做梦到异世界被太后爱上 重生:回到老婆死亡那一天 黎明万相 夜晚话事人 道友,你手中法宝与我有缘 不剑不散 工业革命从仙武大秦开始 我脑海中住着一只鬼 在时间的尽头遇见你 危诡游戏 乾元大帝 百万年满勤我成了一代宗师 全球惊悚:我再不死,就真无敌了 末世无敌之圣职者不是奶妈 袁阀, 编号邮票 工业产品 价格 澳门古迹邮票 t139邮票价格 1988年邮票值多少钱 编号邮票 工业产品 价格 1992年邮票年册 新中国第一套普通邮票 三国 邮票 1992年邮票年册 1997香港回归邮票 邮票上的水果 邮票上的水果 1986t.108邮票 澳门古迹邮票 2008-13 曹冲称象 邮票 孔雀邮票价格 徐悲鸿奔马大邮票 13年邮票价格 海洋 邮票 2008-13 曹冲称象 邮票 91赈灾邮票 奥运不干胶邮票 海洋 邮票 1985年牛邮票 2012年壬辰龙年邮票年册 邮票价格查询塔 13年邮票价格 海洋 邮票 五四运动邮票价格 13年邮票价格 1988年邮票值多少钱 91赈灾邮票 t164邮票 2008-13 曹冲称象 邮票 1986t.108邮票 孔雀邮票价格 中国古典园林邮票 新中国第一套普通邮票 1986t.108邮票 中国古典园林邮票 孔雀邮票价格 三国 邮票 邮票 t41m 徐悲鸿奔马大邮票 民国邮票大全元世祖 91赈灾邮票 邮票上的水果 孔雀邮票价格 邮票价格查询塔 t邮政储蓄邮票价格 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 神话的侦破 异界血刀行 很想给你一生幸福 九渊之劫 我与哥哥共生 万利游戏官网 欧博游戏官网 皇冠登3出租 万利游戏官网 快连下载 2008-13 曹冲称象 邮票 朱?q邮票价格 海洋 邮票 2012年壬辰龙年邮票年册 t邮政储蓄邮票价格 2008-13 曹冲称象 邮票 1992年邮票年册 编号邮票 工业产品 价格 1988年邮票值多少钱 13年邮票价格 1986t.108邮票 孔雀邮票价格 邮票价格查询塔 新中国第一套普通邮票 朱?q邮票价格 91赈灾邮票 2012年壬辰龙年邮票年册 澳门古迹邮票 奥运不干胶邮票 五四运动邮票价格 中国古典园林邮票 2012年壬辰龙年邮票年册 孔雀邮票价格 中国古典园林邮票 新中国第一套普通邮票 t164邮票 民国邮票大全元世祖 t邮政储蓄邮票价格 民国邮票大全元世祖 1986t.108邮票