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"
工业尿素的含量98%的价格ck服装价格区间工业尿素的含量98%的价格尚厅堂保温杯价格承德神栗价格陕西省疏菜批发价格紫叶挪威槭的价格沭阳人家酒价格液压缸液压站价格最好香烟价格是多少舶雅门窗价格工业尿素的含量98%的价格泉州最专业POS机办理价格黑晶洞价格沭阳人家酒价格最好香烟价格是多少瑞士双肩包价格塑料暖水瓶价格塑料暖水瓶价格辣木销售价格金环蛇2013最低价格塑料暖水瓶价格液压缸液压站价格辣木系列产品价格承德神栗价格剑玉价格尚厅堂保温杯价格辣木系列产品价格辣木销售价格泉州最专业POS机办理价格当现代世界一个文科普信男穿越到了三国,会与这个世界擦出怎样的火花,他能否创造奇迹?陈阳被困在了一个永远无法逃离的循环里,只要过了情人节的15点15分,他就会重新回到15天前。 陈阳发现他无论做什么,都无法打破这个半个月的循环,所有的一切都会重置。 在经历了震惊、刺激、狂喜、焦虑不安、绝望和痛苦等情绪后,陈阳开始各种作妖,决定把这个世界搅得天翻地覆。 陈阳开始学习各种技能和知识,利用它们去达到自己的目的,也完全不用考虑任何后果的恣意妄为,去成为世界的焦点。 尤其是针对那些为富不仁的富豪和权贵,更是让陈阳兴奋的难以自制。 直到有一天,陈阳掀翻了娱乐圈的时候,却发现循环忽然被打破了.....“善恶之报,如影随形,三世因果,循环不失” ——《涅盘经·遗教品一》忆往昔,青春岁月是那么不堪,我的青春,坏没坏彻底,读书书也没上好,平凡,懦弱,自卑,不甘。心比天高,命比纸薄。这是一个肉身横推一切的故事。 大业皇朝,黑暗降临,处处充满邪灵鬼怪,杀人无形。 面对妖异邪祟,普通人只能瑟瑟发抖,蜷缩角落,静待生命走到尽头。 江道穿越而来,携带武学修改系统,任何武学只要被他看一眼,就可以无限修改。 疯魔棍法、鹰爪铁布衫、毒砂掌、暴猿神功…统统修改到一千年后的境界。 面对妖异邪祟,江道身躯魁梧,浑身肌肉,目光如电,随手抓碎一只入侵的邪灵,语气低沉,万分恐怖。 “邪灵?谁说武学杀不死邪灵?” 这是关于一个梦……2020年,焕双不幸感染病毒去世,不料却重生为鼠,被修真者捡去当了宠物! 本以为当个宠物也不错,谁料却被卖去了百兽宗,遇到那个命中注定的‘主人’。黄墚一梦终须醒,无根无极本归尘。 金龙飞天归何处,不如凡间做真人。 最终章将梦醒作为结局,人生如戏,南柯一梦。李杰加入了密逃团,可以正式出道了。他会发生什么事情呢?20世纪三好青年穿越到洪荒大陆,与三清结拜,与十二祖巫结拜,复活盘古,征服其他神话。
我的世界之颠倒模组 我为人族抗大旗 都市重生之剑仙归来 古道迷情 镇国神婿,重生老婆要杀我 海贼王:仙武神话 全民御兽,我的宠兽能加点 轮回系统之异界战神 星际混乱 公子凶猛 宇宙重启:机械帝国 大明:满朝奸臣,你让我登基称帝? 大周风起 梦幻世界之崛起 从假太监到真皇帝 我在沿途的风景等你 武破神灵 致命的温柔 黎明笼罩 玄荒武帝 585黄金戒指价格 亦蕙价格 瑞士双肩包价格 承德神栗价格 585黄金戒指价格 杉依鸟男士保暖衣价格 材料一 a市猪肉批发价格 Supelco固相微萃取头代理价格 剑玉价格 泉州最专业POS机办理价格 液压缸液压站价格 头水 紫菜 价格 缅甸辣木籽价格表 亦蕙价格 陕西省疏菜批发价格 承德神栗价格 材料一 a市猪肉批发价格 剑玉价格 金环蛇2013最低价格 工业尿素的含量98%的价格 亦蕙价格 沭阳人家酒价格 ck服装价格区间 黑晶洞价格 最好香烟价格是多少 缅甸辣木籽价格表 剑玉价格 ck服装价格区间 金环蛇2013最低价格 剑玉价格 承德神栗价格 亦蕙价格 大熊猫烟市场价格 陕西省疏菜批发价格 辣木系列产品价格 承德神栗价格 大熊猫烟市场价格 瑞士双肩包价格 缅甸辣木籽价格表 沭阳人家酒价格 尚厅堂保温杯价格 组装手机价格 辣木出售价格 头水 紫菜 价格 黑晶洞价格 亦蕙价格 头水 紫菜 价格 尚厅堂保温杯价格 缅甸辣木籽价格表 紫叶挪威槭的价格 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 综武:我在大宋当皇子 天地任我行之一 异界寄生兽 琉璃王座 混世小武僧 欧博官网 亚星游戏官网 亚星官网 欧博官网 澳门葡京游戏官网 尚厅堂保温杯价格 尚厅堂保温杯价格 陕西省疏菜批发价格 亦蕙价格 承德神栗价格 瑞士双肩包价格 泉州最专业POS机办理价格 沭阳人家酒价格 黑晶洞价格 液压缸液压站价格 大熊猫烟市场价格 瑞士双肩包价格 工业尿素的含量98%的价格 陕西省疏菜批发价格 瑞士双肩包价格 沭阳人家酒价格 缅甸辣木籽价格表 缅甸辣木籽价格表 585黄金戒指价格 剑玉价格 辣木出售价格 工业尿素的含量98%的价格 塑料暖水瓶价格 材料一 a市猪肉批发价格 ck服装价格区间 组装手机价格 液压缸液压站价格 亦蕙价格 剑玉价格 紫叶挪威槭的价格