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"
邮票收藏文革邮票生肖邮票邮票收藏价格表生肖邮票鸡年邮票邮票互动网香港回归纪念邮票南京文交所钱币邮票交易中心女幽灵 百度网盘下载 迅雷下载灵兽人程森屮(che四声)十一岁丧母,十三岁遭灭族。程森屮,程猖,程狂兄弟三人幸存。一年后大哥程猖却操纵程森屮杀死小时密友和程猖,心灰意冷的程森屮消失了三个月后在长安佚名“山狼”靠杀人赚钱。两年后,“山狼”声名崛起无意间认识权门高氏二公子和洌氏二公,这时有人叫杀死两人。山狼不从,没曾想那人正是大哥程猖。几经挣扎后,山狼坠于程狂和卫天兰坠落的黑鹰崖。 十年后 顶级杀手——山狼,再次出现在高风舌眼前。 正义也许会迟到,但永远不会缺席。这世界,以命器本为根,有人以命器修成剑仙,有人修成符箓大师,更有人破界飞升...... 林渊破开胎中之谜,没有金手指的他本想着简单度日,不曾想这方世界竟然有诡异存在.....苏凉穿越到玄幻世界,从此所到之处,鸡犬不宁 追瘸子骂哑巴,打疯子逗傻子,扒老太太裤衩子 无恶不作 仙界大能:他竟然把我镇宗功法印了整整十万份! 宗门少主:苏凉竟然把我活活搞成肾虚! 仙门圣子:欺人太甚!竟然把我与一头猪牵了本命姻缘线!害我爱上了一头猪! 天才圣女:谁看见他把我衣服偷到哪里去了? …… 这一次苏凉从大佬手里抢亲 彻底引爆了所有人对他的怒火 妖魔鬼怪,横行于世。 岳鸣在遇到一个受伤的女人时,抽到了万磁王的能力,自此踏上了剑仙之路。 同时有着能够抽取奇幻黑科技系统的他,哥斯拉,魔法卡牌,巨龙体质...相继出现。在这个武力值决定一切的世界里,送货小子偶遇大小姐,一些啼笑皆非的故事在两个人之间展开,慢慢的一些黑暗势力也都展现出来,看送货小子是怎样一步步逆袭的。扎纸匠,不是玩纸,而是玩人……2012年,玛雅预言的世界末日如约而至,一夜之间世界人口锐减,主角凭借全族之力修建末日地堡,带领家族躲过此次浩劫,但是他自己却因为遇到了神迹,以沉睡一个纪元为代价进行身体改造,苏醒后偶然发现2012世界末日的真相,并决心守护全人类,带领人类走向更加广阔的未来……这是一部“男主 与女主不在一起的,是与男二女主 在一起 男主与女三的故事”。是一个充满在神秘色彩中的反正义跨国杀手组织,故事由一起轰动全国的庞大组织杀人案的曝光引发,反正义和正义与之抗衡。他,本是一个是一名天才妖孽,却被至亲之人下毒,导致筋脉寸断;但偶然得到星罗棋盘。从此逆天改命;天才,在我面前你算什么?圣女?你是我的人了?四大神兽的祖兽跟我称兄道弟,各个门派的祖师都是我的小弟。你问我是谁?吾乃棋道主宰:陈枫
邮票图片 龙邮票 鸡年邮票 邮票交易所 龙邮票 上海邮票网 生肖邮票 中国邮票 邮票行情 香港回归纪念邮票 邮票网 生肖邮票 邮票互动网 邮票网 南京文交所钱币邮票交易中心 中国邮票价格表 大龙邮票 奥运邮票 文革邮票 猴年邮票 邮票价格 文革邮票 邮票收藏价格表 邮票交易所 邮票收藏价格表 邮票行情 中国邮票 邮票吧 中国邮票 邮票图片 邮票互动网 邮票行情 香港回归纪念邮票 女幽灵 百度网盘下载 迅雷下载 邮票图片 上海邮票网 欧美群迅雷下载 生肖邮票 上海邮票网 邮票吧 四像神光移天神诀张池的精彩人生望枫天地行毁灭世界的100种方法元墟行者众生芸芸只爱你铁血战爸人族契约暗天裂源起天龙秘史震惊!我的武魂是个人夜阑之雨毅游沧海正经魔法超比斗全球复苏,我被女帝倒追了墨青帝重生之我的高中生涯武林剑客!综武世界的大反派四维马桶请复制到浏览器打开 窗帘什么牌子好 c30混凝土价格 北京114搬家公司 窗帘纱批发 唯意衣柜 私人搬家公司北京 盛世江南房价 丹麦家具 济南二手房 福州福搬家公司电话 水波帘头怎么裁 卡芬浴室柜 沙发茶几 欧式实木家具 防水板生产厂家 建筑材料价格表 货架接头 水波纹窗帘帘头 上海房价历史趋势图 玉林房价 漯河二手房 合肥货架公司 pu线条厂家 洞桥镇房价 仓库货架摆放标准 苏州 左右沙发 沙发厂招工 沙发厂最新招聘信 长春高端小区排行榜 和心窗帘 智能窗帘介绍 龙岗货架 儿童家具图片 窗帘裁剪 广州嘉禾望房价 珠海二手房出售 嘉定二手房 日本搬家公司哪个便宜 门合页厂家 枝江二手房 电动窗帘应用 永修书香门第房价 衣柜尺寸标准 广州大众搬家公司电话号码 沙发2.9米 电视机柜多大 布艺沙发价格 pvc浴室柜防水 桑蚕丝被价格 实木家具 配沙发 板材家具 浴室柜价格 衣柜排孔机 席勒卫浴柜 中山二手房网 中纤板衣柜 顶级衣柜 poliform 上海 沙发客 开关插座价格 沙发公司 卫生间门价格 合肥二手房交易网 搬家公司朝阳 贵人缘松木家具 沈阳二手房网 松岗搬家电话多少 品莱卫浴 长安搬家公司电话号码 湛江 沙发厂 招聘 马岛马桶 南京雨花台搬家公司 漩涡马桶 煤气灶价格 衣柜到顶 处理方法 深圳市二手房 沙井窗帘 平湖二手房出售 洗化店货架 兰馨雅苑房价 浮山后二小区二手房 贵阳的搬家公司电话 深圳仓库笼 家居窗帘 二手房 个人所得税 惠来二手房 美乐乐家具好吗 厦门浴室柜品牌 席梦卫浴 海宁二手房 水波帘头裁剪方法视频 项城市房价 北京房山窦店沁馥家园房价 沈阳搬家公司好 洗脸盆价格 腾佑货架 沈阳云峰街搬家公司 唐山马桶厂 秦皇岛小区 浪皇卫浴 广州正规人人搬屋电话 家用沙发 国际华城现在房价 佛山窗帘厂