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"
十二生肖邮票文革邮票中国邮票价格表南京文交所钱币邮票交易中心奥运邮票十二生肖邮票十二生肖邮票邮票吧龙邮票邮票图片面对死灵族,封印着怪兽八梼的佣兵,最后能否成为拯救世界的力量?神秘的空间系元素亲和力,诡异的星辰剑,亚夏人的先祖吴道轩视乎留下了什么秘密……我一心求死却屡次被迫重生,奈何我这能选择再次踏上征途! 屠苍生~戮万物~踏天道~~~消灭人类暴政,世界属于三体!(欢迎和我比命长)(视天气情况不定期更新)我前世本想安安静静的做一个好人,奈何遇上了她无缘无故地挑起战争 ,最终把我逼死在战场,化身为死神 ,谁知道下一辈子依旧没有逃过这个命运,在成神入到神界之后居然还遇上了她,并且还和她成为了队友,去执行各种神罚任务 ,好慌妙啊 !命运多舛的少年,不谙世事的灵智,两者的结合在九州大陆掀起了阵阵腥风血雨。 在这里也许会看到华夏神话的延续,也许会看到超强的灵宝,也许会看到上古遗迹,也许会看到各种稀奇古怪的异兽,也许会看到魔之本相……主播玄奕在一次直播中偶遇袜子。 应观众们的要求,现场演唱了一首告别地球,全场笑喷。 至此,玄奕在搞笑的路上越走越远。 呆小妹:“四个2!” 玄奕默默拿出一对王。 “你很会打嘛,出来混靠的势力,玩的是背景。” “一个3!” 呆小妹面露难色。 玄奕不屑的撇了撇嘴。 “原来是小别三啊!” 天才少年萧辰,灵台被族人夺取,沦为废人,受尽屈辱,幸而觉醒神物九龙塔,拜得神秘少女为师,吞噬九天之灵,融万族血脉,以九龙之体,战尽天下英豪!魏和平在迷茫中穿越到了平行世界,无意中发现了系统的存在,他该勇往直前,还是猥琐发育,我决定要安全的浪。浩瀚宇宙分为三千世界。 一部天经遗落凡尘,顿时风起云涌,诸天万界竞相窥探。 少年走出一域,拔剑而起,破万道,冲星河。现实生活诸多枯燥,人生百味需要细细品味,男主一路成长,一边学着成长,一边面对社会风云。个人传记,如有雷同,纯属意外!
龙邮票 生肖邮票 南京文交所钱币邮票交易中心 邮票行情 邮票 民居邮票 龙邮票 文革邮票 猴年邮票 中国邮票价格表 猴年邮票 邮票市场 世界上第一枚邮票 邮票收藏价格表 邮票图片 奥运邮票 十二生肖邮票 世界上第一枚邮票 邮票价格 中国邮票 邮票价格 邮票市场 南京文交所钱币邮票交易中心 中国邮票 纪念邮票 香港回归纪念邮票 邮票收藏 邮票市场 第三轮生肖邮票 邮票行情 欧美群迅雷下载 女幽灵 百度网盘下载 迅雷下载 上海邮票网 邮票市场 邮票互动网 大龙邮票 邮票行情 女幽灵 百度网盘下载 迅雷下载 邮票价格 大龙邮票 海贼之审判传送阵法隐忧悄悄内心的欲望浩瀚大世界年少复仇记重生之我不会在负你止水湔蛹变z末日:最强能力者汇龙潭浮唯之真爱永存金色传说之宇宙法庭完美吞噬之魔道封神大漂客败家侯爷逆仙魔尊幽玄轮回劫真祖外传阿尔法全球高武:刷怪成神,我打穿了人类禁区马桶盖 安装请复制到浏览器打开 窗帘风景 北京曲美家具 平板加镂空水波的图片 侯潮府房价 浴室柜加盟 水波帘头的腰怎么做 松江搬场公司电话 板房价格 重力货架 安阳二手房 福州房价网 不锈门厂家 昆明好小区 美国尔湾租房价格 专利家具 仓库笼规格 水波幔尺 空心砖机价格 绿化砖厂家 苏州布艺沙发厂家 家具风水 美佳华卫浴 中关村搬家公司 感应水龙头价格 福州衣柜 迷你浴室柜 吉美浴室柜 防腐涂料|防腐漆|重防腐漆|重防腐涂料|防腐涂料厂家- 涪陵新世纪房价 17年11月即墨房价 五金货架厂 安华马桶有保质期 全瓷浴室柜 节能灯厂家 床衣柜一体 镂空水波帘头裁剪详图 精品货架批发 首都机场搬家公司电话 金牌浴室柜 马桶开关 国奥村房价 梅州货架厂 好莱屋衣柜 伊奈卫浴 小区室内实地测量高压线 锅炉价格 家具设计网 成都设备搬家公司 橡木家具品牌 海螺塑钢门窗价格表 十地板厂家 衣柜滑动门 宴会厅窗帘 广州越秀搬家公司电话 南京二手房出售 快速做水波浪帘头 姑溪山水房价 胡桃木茶几 搭配 沙发 美乐乐官网简欧床大衣柜 大连二手房出售 布艺沙发价格 皇朝 衣柜 仓库有哪些类型 南京防盗门厂家 南宁货架厂 厂家实被 布带窗帘 食品仓库货架摆放要求 爵柏卫浴 欧箭神马桶 南安浴室柜 卫浴的分类 上海房价查询 洁具卫浴10大品牌 密云公寓二手房价 刨花板 衣柜 好吗 濮阳小区 兴隆家园房价 广州货架大全 美澳衣柜 北京实木家具厂 马桶主板 鑫苑名家二手房 家具信息发布上海站 堤派浴室柜 维可卫浴 链家网上海二手房 镂空正水波裁剪方法图 中国城市房价排行榜 嘉善县 房价 杨君刘小区 东鹏瓷砖价格 沈阳衣柜 海南小区 窗帘的边旗 高晶板厂家 窗帘展厅设计 江西货架 太晶浴室柜 文华神窗帘 搬家公司可以带宠物吗?