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"
广州银行信用卡还款日查询信用卡额度使用不了信用卡能开网银吗工行信用卡怎么贷款工行信用卡如何直接提额到五万广州银行信用卡还款日查询工行信用卡营业执照信用卡能开网银吗信用卡网贷违法微信如何关注广发信用卡朋友盗刷信用卡陷害到我身上广州银行信用卡还款日查询信用卡到期不续卡朋友盗刷信用卡陷害到我身上信用卡能开网银吗微信如何关注广发信用卡工行 信用卡 日均 比例工行信用卡闪酷工行信用卡闪酷信用卡 身边 盗刷信用卡被封严重吗工行信用卡调整额度 周末民生银行信用卡积分商城昆明光大银行了惠金信用卡工行信用卡如何直接提额到五万工商质押办理信用卡工行信用卡怎么贷款昆明光大银行信用卡中心电话信用卡 身边 盗刷信用卡到期不续卡一名少年天赋异禀,因被手足残害险些命丧他手,不曾想因祸得福在机缘巧合之下寻得仙界神兵。当绝世神兵再现,引仙魔觊觎之时,他又将迎来一场怎样的命运呢?一个被予为天才的少年 一段被命运安排的人生 一场横跨万年的阴谋命运,家族的荣耀,还是自己的性命。在一代代的传承之间,元素巫术,枪械弹药,黑帮贵族,地精精灵,这是一段血泪交织的与命运斗争的故事,是掌控元素力的巫师从阴影面来到阳光下的故事,这是一个家族延续的传说。 血与火的战场,风声鹤唳的山林,神奇的猛兽和古武少年,这是一支有着铮铮铁骨的特种部队,这是一群浴血疆场、有血有泪的特种军人。枪声与热血共存,猛兽与英雄相伴,这是一本描写铁骨军人的书! 书友群号:336093992 竹香书屋VIP读者群:群号468694031(作品架空部分历史情节) 宇宙已膨胀数十倍,世界在重铸的边缘,时间与空间的紊乱让不同时代的人们面对相同的资源竞争,这是最紧张的时候。 生活在原荒大陆的林空灵掌握着决定性的力量,作为同时拥有双源能的修者,却如修炼缓慢的普通人,家族的压力,学府的压力,正激发这这个后起之秀。这个人会乘着巨龙……,统率千万万人,与……历游各界一场梦幻之旅,开启一段崭新人生。 宋阳变顾明,小太监变大赘婿。 究竟是道德的沦丧还是人性的泯灭? 究竟是天道轮回还是老天的玩笑? 欢迎跟随脚步,一起来到《穿越来鉴宝》的世界!林泽穿越到一个全民御兽的时代。 临近高考,他手上却只有一头被称为观赏型宠兽的小雪球。 “小雪球?也就看着养眼,没什么用处啊。” “不能进化的宠兽有什么用?” “潜力太低了,这辈子都不可能突破一阶。” “想考上御兽学院?不可能。” 质疑、讥讽与奚落纷沓而至。 林泽面色平静的看了眼宠兽面板 “隐藏进化路线!” “女皇路线:潜力无限的进化方式,最高可进化至王级。” 小雪球、冰晶魂、雪女、霜蓝少女、极冰王女......冰雪女皇! ...... 众人:“什么?小雪球还有进化形态?” “卧槽,你的宠兽怎么都是从未见过的品种!?还这么厉害!?”十年前,魔教大开杀戒、血洗武林。中原各路侠客、武者共同御敌,终于将其逐出关内,十年后,魔教重新入关,欲想再度统治中原武林,叶无风等人为保一方安危,浴血奋战……秦恒生?害人害己的家伙。   为什么上了年纪的人都喜欢坐在那儿发呆?他!也向往光明。黑暗的尽头那不存在的光明。天下一方,为我苏斩。 天才少年的成神之路必定坎坷。三神一体到底是机遇还是阴谋。 这个世界到底还是我说了算,欺凌过我的人必定灰飞烟灭。 一切都是为了理想的世界。
都市异能:异人之上! 复仇启示录 爱丽丝在1918 天下第一剑修 全球惊悚:我在诡秘世界玩嗨了 诡秘之奇迹制造者 神曰:降鬼师 剑倾乾坤道 山海烟尘 空白黑夜之赵冬生 山上那些人 位面之灵 封神天决 乱世虎将 天古帝尊 冥案秘闻 光灵行传 方宗 毁天剑魔 肆拾 信用卡额度使用不了 朋友盗刷信用卡陷害到我身上 工行信用卡营业执照 工行信用卡怎么贷款 信用卡被封严重吗 工商质押办理信用卡 工行信用卡营业执照 微信如何关注广发信用卡 月均存款多少可以办工行信用卡 怎么确定信用卡已经注销 工商银行信用卡贷款怎么贷款 工商银行信用卡贷款怎么贷款 信用卡怎么绑定手机号 朋友盗刷信用卡陷害到我身上 信用卡 身边 盗刷 信用卡如何还款的 工行 信用卡 日均 比例 信用卡额度使用不了 信用卡网贷违法 超市刷信用卡被盗刷 交通信用卡服务中心 信用卡能开网银吗 信用卡额度使用不了 工行信用卡调整额度 周末 怎么确定信用卡已经注销 昆明光大银行了惠金信用卡 工商质押办理信用卡 信用卡额度使用不了 信用卡被封严重吗 工商质押办理信用卡 工行信用卡闪酷 交通信用卡服务中心 工行信用卡怎么贷款 广州银行信用卡还款日查询 昆明光大银行了惠金信用卡 工行信用卡如何直接提额到五万 信用卡如何还款的 工商银行信用卡贷款怎么贷款 昆明光大银行了惠金信用卡 信用卡如何还款的 工行信用卡如何直接提额到五万 信用卡自动销卡 信用卡 身边 盗刷 北京工商银行信用卡额度 朋友盗刷信用卡陷害到我身上 交通信用卡服务中心 民生银行信用卡积分商城 工行信用卡如何直接提额到五万 广发补办信用卡手续费 工行信用卡营业执照 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 刘小狗的罪恶人生 幕后:戏耍气运之子 莫问无名 惊世绝俗 三国之青山依旧 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 欧博游戏官网 昆明光大银行了惠金信用卡 超市刷信用卡被盗刷 信用卡 身边 盗刷 信用卡被封严重吗 交通信用卡服务中心 信用卡到期不续卡 信用卡额度使用不了 月均存款多少可以办工行信用卡 信用卡被封严重吗 工行信用卡如何直接提额到五万 月均存款多少可以办工行信用卡 昆明光大银行信用卡中心电话 信用卡如何还款的 北京工商银行信用卡额度 工行 信用卡 日均 比例 广发补办信用卡手续费 朋友盗刷信用卡陷害到我身上 微信如何关注广发信用卡 交通信用卡服务中心 广州银行信用卡还款日查询 信用卡网贷违法 工商质押办理信用卡 微信如何关注广发信用卡 工行信用卡怎么贷款 信用卡能开网银吗 工行信用卡营业执照 信用卡如何还款的 工行信用卡闪酷 建行信用卡查询电话 工行信用卡调整额度 周末