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"
天猫车秒贷贷款年限p2p贷款公司加盟有什么用我想贷款找谁正规网上贷款银行网上什么贷款快天猫车秒贷贷款年限两万贷款微信操作骗局我想贷款找谁工行牡丹灵通卡贷款支付宝凭证怎么贷款工行质押贷款多久放款我想贷款找谁发小卡片的贷款可靠么工行质押贷款多久放款有借记卡跟身份证能贷款吗支付宝凭证怎么贷款当天贷款当天放款定期存款能质押贷款吗网上什么贷款快商业贷款 支付宝p2p贷款逾期多久没事定期存款能质押贷款吗工行牡丹灵通卡贷款有预售证可以贷款吗淘宝客贷款申请条件有借记卡跟身份证能贷款吗淘宝客贷款申请条件免费贷款技术论坛定期存款能质押贷款吗银行贷款 资金表一场意外,一次新生,宿命的选择,一次次轮回,是己有的东西还是未有的吩争。最后还是屈服了命运,哎………一部关于神族与神族之间、怪族与人族发生的纷争,男主被一点点的牵扯进来,脱身?还是加入? 爷爷宁愿坐牢十年,都死守的秘密。 终于在十年后, 重见天日,我传承爷爷的秘密,揭开了那些不为人知的往事…… 懒得介绍红月当空,全球骤变。拥有力量,你就高高在上,应有尽有,没有力量,你就只能任人宰割。危机爆发,众种族林立,丧尸,异兽,鬼种,人类。九转山河,浩瀚天下,试问天下,谁与争锋!起步比别人晚的颜逸能否追赶众人的脚步,在末日之中杀出一条属于自己的路。他本是龙国最年轻的国医圣手,却因为一次意外,重生回到了四年前。 上一世,他误入歧途,痛失妻女,尝尽了人间疾苦! 这一世,面对妻女的失而复得,他势要弥补当年的遗憾,快意恩仇。 且看一代鬼医传人,如何凭借一手鬼神难辨的惊天医术,守护心中挚爱,成为最强都市奶爸!武则天:“李余,真是朕的好孙子,我大唐的骄傲!” 狄仁杰:“李余是我见过最完美的人!” 李白:“看了李余的诗,我忽然发现自己不会了。” 李隆基:“李余是个坏人!” 李余:“你们不用夸我,我只是一不小心就造了盛世而已,很普通的啦!”高田真一“小兰女士,你也不想新一君遭遇不测吧?” 小兰“这... 高田真一“小哀酱,你也不希望柯南君有生命危险吧?” 小哀“这...因一封邀请函再起的故事,这也是新的续篇。 命运的挑战?弥补的救赎? 不哦,或许……不仅仅是这样。 记住,实力为重,却非最上。一介凡人意外闯入修仙世界,成为一名资质普通但向道之心甚坚的修仙者。 仙路崎岖,长生漫漫,虽千万人,吾往矣!
荒野追捕令 一颗陨石给我的力量 风之奇迹 现世界合成指南 大唐:开局曝光私生子身份 三村演义 永恒圣剑之天之痕 断义恩肠 重生白蛇,村民给我供奉汉高祖 抚剑吟 融术 恒幻如梦 重生之我是大主播 次元大陆:中星 我的老师吴泽英 热血传奇之法码大陆 武震江山 次玄界 我在异世成魔王 天魔,天狼 网上什么贷款快 银行贷款 资金表 商业贷款 支付宝 不给家长打电话贷款 网上什么贷款快 工行质押贷款多久放款 商业贷款 支付宝 网上贷款与会计的关系 定期存款能质押贷款吗 银行贷款到期怎么续贷 我想贷款找谁 天猫车秒贷贷款年限 深圳小额贷款好做吗 银行贷款 资金表 淘宝客贷款申请条件 不给家长打电话贷款 马云贷款条件 定期存款能质押贷款吗 正规网上贷款银行 发小卡片的贷款可靠么 银行贷款 资金表 两万贷款微信操作骗局 免费贷款技术论坛 工行牡丹灵通卡贷款 p2p贷款公司加盟有什么用 深圳小额贷款好做吗 定期存款能质押贷款吗 免费贷款技术论坛 正规网上贷款银行 定期存款能质押贷款吗 不给家长打电话贷款 p2p贷款逾期多久没事 淘宝哪个贷款 淘宝客贷款申请条件 1秒到账的贷款 不给家长打电话贷款 淘宝哪个贷款 商业贷款 支付宝 深圳小额贷款好做吗 两万贷款微信操作骗局 当天贷款当天放款 银行贷款到期怎么续贷 重庆贷款资源 马云贷款条件 工行牡丹灵通卡贷款 1秒到账的贷款 急需小额贷款三万元如何申请贷 免费贷款技术论坛 正规大学生网上贷款平台 淘宝哪个贷款 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 余烬之灬 海棠与牡丹 霜冻烛炉 无敌夜班司机 太虚彼岸 百度 百度 百度 百度 百度 定期存款能质押贷款吗 急需小额贷款三万元如何申请贷 商业贷款 支付宝 天猫车秒贷贷款年限 马云贷款条件 银行贷款 资金表 支付宝凭证怎么贷款 两万贷款微信操作骗局 p2p贷款公司加盟有什么用 银行贷款到期怎么续贷 p2p贷款公司加盟有什么用 网上什么贷款快 网上贷款与会计的关系 有预售证可以贷款吗 免费贷款技术论坛 工行牡丹灵通卡贷款 当天贷款当天放款 马云贷款条件 1秒到账的贷款 支付宝凭证怎么贷款 深圳小额贷款好做吗 我想贷款找谁 p2p贷款逾期多久没事 银行贷款到期怎么续贷 支付宝凭证怎么贷款 免费贷款技术论坛 有借记卡跟身份证能贷款吗 淘宝哪个贷款 正规网上贷款银行 定期存款能质押贷款吗 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网