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"
好きな人かいること歌词mc长春峰一百七十二笔的歌词儿歌稻草里的火鸡歌词中华孝道 儿歌 歌词诚实歌词好きな人かいること歌词你是我歌词儿歌稻草里的火鸡歌词金木犀日文版歌词旗袍赋歌词孙楠 哪吒 歌词儿歌稻草里的火鸡歌词童话镇伴奏有歌词孙楠 哪吒 歌词让我爱你歌词旗袍赋歌词江映蓉 武装 歌词和简谱安守本份谐音歌词安守本份谐音歌词闪闪的五星红旗歌词歌词你说爱我却又离开我安守本份谐音歌词金木犀日文版歌词五十多酥油花歌词朴寒星歌词亚拉索歌词朴寒星歌词五十多酥油花歌词闪闪的五星红旗歌词童话镇伴奏有歌词为寻找家人死亡真相进入惊悚游戏,一不小心混得风生水起。 被女鬼姐姐投喂…… 陪“可爱”萝莉玩游戏…… 开便利店,开医院,开学校…… 我竟成了鬼域叱咤一方的大佬?本书又名【大明:我人皇的身份被女帝曝光】。 绝世凶人朱厌,穿越到历史爽文《大明劫》中,成为存在感微弱的配角。 他本想安稳度日,跟着书中主角团队吃香的喝辣的,结果被迫绑定系统,拯救濒临毁灭的大明皇朝。 狗作者……你干得是人事儿吗?挖坑不填我就不说了,居然还太监? 现在轮到这些坑都要我解决……你妹!!!灵气突然的复苏,这世界强者为尊,贫富分化严重,主角只是出贫民窟的人,看看他一步步逆袭。 未知病毒的爆发,废土的出现,凶兽的智慧开始逐渐成熟!主角该怎么面对? 是拯救世界,还是毁灭世界? 讲述自鸦片战争至抗美援朝的一些事情。世道不靖,民生皆苦。 黑暗里的幽灵,星空中的刺客。 天上地下屠魔弑神,只为创造一个美好的世界! 他是一个来自异世界的灵魂。 不甘心命运被安排,反感这个恶者逍遥自在,善者不得善终的黑暗世界。 为了实现理想,他一路苟着做人,努力积蓄力量,终于改天换日,重塑乾坤!刘洋穿越到汉灵帝私生子刘讼身上!携带系统的他剑锋所指所向披靡!此书讲的一个故事是以一位少年由凡人修道入屠的故事。。突发奇想,写一部无节操的青春爱情故事啦。 文笔并不好希望各位见谅吧世人皆说菩提善,为何独难我一人。 魔前叩首十万年,六道轮回不做仙。偏远小镇的孩子,却是最大家族的有力争夺者。天武举演,三国会议,继承者之战,前方的路迷雾重重,下一刻的战斗又会何时来临,江湖庙堂 谁主沉浮,边境能否镇守。
王者荣耀之万世风尘寄余生 三国:御龙归字谣 今天又是在师门垫底的一天 只是装个叉,真没想成神啊 雷落里希 闲婿 腥红警戒 死灵德鲁伊 华夏巅峰崛起 医武风流 亡灵猎手之失落山巅 一冒传奇的历险记 基因吞噬纪元 天道六界之光 神奇宝贝之布卡 不幸的自己 领略武将升级系统 仇恨效应 猎国之横扫六合 新世界一点也不奇怪 你是我小小梦想歌词 真心英雄歌曲周华健 歌词 江映蓉 武装 歌词和简谱 诚实歌词 你是我小小梦想歌词 我们不会孤单歌词 江映蓉 武装 歌词和简谱 我们的明天歌词数字谱 亚拉索歌词 歌词压抑的痛苦 骗歌词 骗歌词 c调难忘今宵钢琴简谱歌词 真心英雄歌曲周华健 歌词 好きな人かいること歌词 诚实歌词 歌词 只为了能见你一面 亚拉索歌词 毕业那天歌词6诗人另类词 儿歌稻草里的火鸡歌词 真心英雄歌曲周华健 歌词 让我爱你歌词 毕业那天歌词6诗人另类词 孙楠 哪吒 歌词 旗袍赋歌词 c调难忘今宵钢琴简谱歌词 亚拉索歌词 mc长春峰一百七十二笔的歌词 毕业那天歌词6诗人另类词 亚拉索歌词 诚实歌词 贵妃醉酒带有歌词的伴奏 中华孝道 儿歌 歌词 好きな人かいること歌词 五十多酥油花歌词 朴寒星歌词 中华孝道 儿歌 歌词 江映蓉 武装 歌词和简谱 c调难忘今宵钢琴简谱歌词 让我爱你歌词 朴寒星歌词 歌词压抑的痛苦 未央歌歌词 歌词 只为了能见你一面 孙楠 哪吒 歌词 贵妃醉酒带有歌词的伴奏 骗歌词 朴寒星歌词 c调难忘今宵钢琴简谱歌词 你是我歌词 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 坏了,我真的穿越了! 都市,姑娘按摩不 破界仙 十年复仇 我的手机有妖怪 欧博官网 亚星游戏官网 万利游戏官网 欧博官网 澳门葡京游戏官网 让我爱你歌词 亚拉索歌词 童话镇伴奏有歌词 歌词 只为了能见你一面 中华孝道 儿歌 歌词 c调难忘今宵钢琴简谱歌词 我们不会孤单歌词 真心英雄歌曲周华健 歌词 五十多酥油花歌词 好きな人かいること歌词 孙楠 哪吒 歌词 好きな人かいること歌词 金木犀日文版歌词 让我爱你歌词 我们的明天歌词数字谱 这里是梦开始的地方 歌词 童话镇伴奏有歌词 诚实歌词 你是我小小梦想歌词 诚实歌词 这里是梦开始的地方 歌词 孙楠 哪吒 歌词 诚实歌词 金木犀日文版歌词 孙楠 哪吒 歌词 旗袍赋歌词 歌词 只为了能见你一面 我们不会孤单歌词 你是我歌词 c调难忘今宵钢琴简谱歌词