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"
民间贷款公司坏账率民间贷款成本高有车怎样贷款请问有谁在网上贷款成功过啊买车 贷款 中国银行 审核 严民间贷款公司坏账率宜人贷款怎么样有车怎样贷款消费贷款做假用途银行贷款利息上浮一个人公积金贷款可以贷款额度有车怎样贷款银川二手车抵押贷款一个人公积金贷款可以贷款额度汽车无抵押贷款利息高吗银行贷款利息上浮平安贷款 骗深圳市小额贷款公司监管系统买车 贷款 中国银行 审核 严临沂那家银行好贷款苏州自建房 贷款深圳市小额贷款公司监管系统消费贷款做假用途搞网络贷款赚钱么买车 贷款 配偶的银行流水信用不良如何公积金贷款买车 贷款 配偶的银行流水2015年贷款信贷网是骗子吗临沂那家银行好贷款新办企业免息贷款为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   来自现代五百强企业新闻主管的黄云鹤一下子穿越回了宋徽宗时期,接管了一个即将破产的承天印刷厂。为了拯救危机,他开办开封日报,举行了开封选美大赛等一系列比赛。报纸发展,黄云鹤奉诏进宫,前往水泊梁山采访宋江,成立军情处 ,参加岳飞将军的北伐军、、、春秋大宋,且看我记者之王怎么玩转江湖!一块大陆上三个帝国的对抗 一次统一战争的过程 一次王朝的颓败与堕落 一次女主登临的时代 鹿死谁手,尚未可知……以身化道,以魂祭天,以护这芸芸众生。 天道始然,步入轮回,看他如何开启传奇之路……【单女主】,【慢节奏爽文】,【摊牌】 许长生穿越异世界,万道皆可成仙,万物皆有灵。 觉醒抡语系统,还多了一个貌美如花的娘子,本想一路崛起给娘子一个完美的未来,却最终发现:原来娘子才是真的大佬! 前方是深渊,是死地,是天捱,是遍地的骸骨。 断了,前方的路断了,我难道已至终点了吗! 不,我不相信,既然前方无路,那我就走出一条路。在封建王朝翻云覆雨的伟大人物,竟是一个名不见经传的小卒。论剑道,他已剑意凝魂;论天资,他解人魔不和之体;论实力,他一人一剑一法一道杀尽世间之敌; 人魔共体的他被人魔所弃,魔族高贵的魔族公主,桀骜的人族太子,他又将何去何从……千里江陵一日还,大佬又来虐鬼玩。 求你了,让我好好当个NPC不行么? 你一个演员,比我们怪物还吓人。 夺笋呐! 咱们讲讲道理行么? 你是人么? 你礼貌么? 鬼物NPC的心态日常搞蹦发出三连疑问。 李命表示,老子拳头大就是道理! 生死看淡,不服就干!提尔斯法尔帝国最后一个王朝,罗安娜王朝的兴衰史。一个企图力挽狂澜的女皇的故事。
众神之墓之征天纪 屌丝道士的异闻录 大唐:我在长安开酒楼 诡秘降临:大威天龙,开局融合法海 恶的演绎者 混沌世界的无限求生 开局被雷公喷嚏劈死 神鬼莫判 彼岸逍遥游 南宋,纵横天下的杨幺 随笔诗词 将乡 一个奇怪的世界 大魔王拯救世界? 断梦疑凶 开局一个烧烤摊 我在诡异世界开宝箱 斩破:希望而生 参天录 超元旅者 银川二手车抵押贷款 临沂那家银行好贷款 买车 贷款 中国银行 审核 严 2015年贷款信贷网是骗子吗 银川二手车抵押贷款 宜人贷款怎么样 深圳市小额贷款公司监管系统 民间贷款公司坏账率 新办企业免息贷款 汽车无抵押贷款利息高吗 沈阳 第二套房 贷款 沈阳 第二套房 贷款 广州大学生网上贷款 循环零售贷款 消费贷款做假用途 银行人员贷款过程中照相 深圳市小额贷款公司监管系统 新办企业免息贷款 银行贷款利息上浮 苏州自建房 贷款 临沂那家银行好贷款 贷款要和信贷员合影吗 北京公积金贷款 提前还款 搞网络贷款赚钱么 民间贷款公司坏账率 广州大学生网上贷款 新办企业免息贷款 北京公积金贷款 提前还款 银行贷款利息上浮 新办企业免息贷款 2015年贷款信贷网是骗子吗 临沂那家银行好贷款 信用不良如何公积金贷款 苏州自建房 贷款 广州大学生网上贷款 银行人员贷款过程中照相 民间贷款成本高 深圳市小额贷款公司监管系统 广州大学生网上贷款 民间贷款成本高 银行人员贷款过程中照相 北京公积金贷款 提前还款 临沂那家银行好贷款 p2p贷款回款管理 一个人公积金贷款可以贷款额度 沈阳 第二套房 贷款 无流水待业小额贷款 买车 贷款 配偶的银行流水 成都接入征信的小额贷款 平安贷款 骗 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 灾源降临:开局重生 我与鬼神打交道 踏马江湖游 时间的尽头之遗落之境 守护大夏:从奥丁开始斩神 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 贷款要和信贷员合影吗 买车 贷款 配偶的银行流水 新办企业免息贷款 广州大学生网上贷款 平安贷款 骗 一个人公积金贷款可以贷款额度 2015年贷款信贷网是骗子吗 循环零售贷款 沈阳 第二套房 贷款 途牛贷款操作方法 一个人公积金贷款可以贷款额度 新办企业免息贷款 有车怎样贷款 买车 贷款 配偶的银行流水 北京公积金贷款 提前还款 搞网络贷款赚钱么 银行人员贷款过程中照相 深圳市小额贷款公司监管系统 广州大学生网上贷款 无流水待业小额贷款 p2p贷款回款管理 途牛贷款操作方法 临沂那家银行好贷款 汽车无抵押贷款利息高吗 无流水待业小额贷款 银川二手车抵押贷款 银行贷款利息上浮 信用不良如何公积金贷款 北京公积金贷款 提前还款 宜人贷款怎么样