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"
天气冷地方昌乐30天天气天气情况下月预测温哥华的2月天气五月份多伦多天气预报天津天气17度穿衣指数绵阳天气预报及穿衣天气情况下月预测2016年4月绵阳天气韩国?山大邱4月份天气西安10月初天气温度天气冷地方绵阳4月份是什么天气预报武汉市下月天气预报天气情况下月预测韩国?山大邱4月份天气中国哪个省天气还很冷五月份中旬加拿大天气五月份中旬加拿大天气福建樟州10天天气预报安达30日天气预报五月份中旬加拿大天气2016年4月绵阳天气昌乐未来60天天气预报五月份多伦多天气预报昌乐时时天气预报温哥华的2月天气昌乐天气预报一月迪拜1月天气情况绵阳4月份是什么天气预报叶辰懂医术,会古武,下山后的他,还在幻想着自己逍遥纵横都市,吊打一切不服! 万万没想到,参加自己婚礼的时候,新郎竟然不是他……死亡也许只是开始 姜清为寻找失踪的父母,来到了这所诡异的博物馆,这里存放着凶案现场的物证,每一件都是一段痛苦的回忆,但也是让这些凶案真相大白的关键。而姜清越是深入越能发觉里面隐藏的秘密……江明市民间一线香传人凌冬,在两年前遇到离奇死亡案件。两年后,江明市又发生了同样的特殊案件,江明市公安厅为了调查案件成立了特殊行动小组第七行动小组。江明公安因凌冬在此案件中有重要作用特力荐其加入专案组。顶级刑侦专家孟子仕出任组长,优秀法医夏帆月,优秀刑警付安良,顶级黑客林彬。一桩桩骇人听闻的案子诡异来袭,玉米地失踪案件,清明扫墓失踪案件,女老师支教失踪案件······江明市各路奇人齐聚特案组,为拨开迷雾,寻找真相,挖掘出隐藏在特殊失踪案件后的险恶人心。莫名其妙的姐姐若隐若现,关于师傅的死亡真相支离破碎的一点点出现,凌冬能否在行动小组兄弟的帮助下解开两年前的真相。明朝末年吏治败坏,山西、陕西、河南等地重大自然灾害不断,民大饥不能活,关外女真崛起,多次入关劫掠。 大明境内狼烟四起,明失其鹿,天下共擒之,一个医生穿越到明末成为庶子,庶子也风流,张景开始他精彩的擒鹿之旅。 如果我再举起拳头 只是为了兄弟 如果我再次踏入江湖 只是为了我的女人不再被别人欺负。当我一次次举起拳头的时候 却没想过有一天却不能停止下来。江湖没有我的传说,却有着我的故事,看我宋尧如何一步步征服各个强大的敌人。一个被予为天才的少年 一段被命运安排的人生 一场横跨万年的阴谋男主张小华是个高材生,在机缘巧合下穿越到了一个从未听过的古代异世界……一代枭雄,遭人暗算,是否就此结束辉煌人生,不! 因为他内心还放不下她,所以上天给了他一次重生的机会,重生之后一步一步逆袭就为再次守护,他的皇后。天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!在这个世界里,跨界石,是一种神奇的东西。相传上古时期,轩辕姬得之,拥有掌控南北两极之能,所以控磁场,造司南。大禹得之,拥有排山倒海之势,所以治江海。? ?...... 而觉醒职业和灵器,是这里每人都渴望的事。 雪擎,一个被祝福和诅咒同时缠上的少年,即将开启一段传奇之旅...... ?
黑马荣耀 八荒登仙 带咕哒夫去拯救万界人理 超喜欢女装 身为主角的我居然没有系统 阴命捞尸人 公子有大神通 妄天轮 大唐:我在长安开酒楼 德者居上 一心一尘 战神昊尊 妖舟 异能?拿来吧你! 星辰侠客 国运游戏归来,我被全世界误解 做狗也做最狂的 国家电力 校园最强特工 三国辅佐刘备白手起家 2016年4月绵阳天气 五月份中旬加拿大天气 漳州下个月的天气 天气情况下月预测 2016年4月绵阳天气 安达30日天气预报 绵阳4月份是什么天气预报 武汉市下月天气预报 3月819苏州东山天气i 贵州曾义近期天气 绵阳天气预报及穿衣 绵阳天气预报及穿衣 昌乐十五天气 五月份中旬加拿大天气 昌乐天气预报一月 天气冷地方 绵阳四月天气央视天气 3月819苏州东山天气i 10.22天气描述漳州 昌乐未来60天天气预报 五月份多伦多天气预报 迪拜1月天气情况 10月1日鸡西天气预报查询 未来15天天气晴朗的城市 武汉市下月天气预报 昌乐十五天气 3月819苏州东山天气i 10月1日鸡西天气预报查询 10.22天气描述漳州 3月819苏州东山天气i 天气情况下月预测 五月份多伦多天气预报 天津天气17度穿衣指数 昌乐未来60天天气预报 昌乐十五天气 天气冷地方 福建樟州10天天气预报 绵阳4月份是什么天气预报 昌乐十五天气 福建樟州10天天气预报 五月份多伦多天气预报 漳州下个月的天气 福建樟州10天天气预报 10月1日鸡西天气预报查询 武汉市下月天气预报 贵州曾义近期天气 2016年4月绵阳天气 温哥华的2月天气 迪拜1月天气情况 绵阳天气预报及穿衣 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 万物醒灵 大秦:开局欠始皇百万黄金 超元宇宙 李浩然的故事第一季 诡仙儿 澳门葡京游戏官网 AG真人 快连下载 澳门葡京游戏官网 欧博游戏官网 绵阳4月份是什么天气预报 中国哪个省天气还很冷 绵阳天气预报及穿衣 武汉市下月天气预报 昌乐天气预报一月 福建樟州10天天气预报 西安10月初天气温度 贵州曾义近期天气 西安10月初天气温度 安达30日天气预报 贵州曾义近期天气 漳州下个月的天气 3月819苏州东山天气i 五月份多伦多天气预报 天气情况下月预测 绵阳天气预报及穿衣 昌乐时时天气预报 昌乐天气预报一月 昌乐天气查询 10.22天气描述漳州 五月份中旬加拿大天气 韩国?山大邱4月份天气 昌乐天气预报一月 3月819苏州东山天气i 10月1日鸡西天气预报查询 天气冷地方 2016年4月绵阳天气 昌乐30天天气 天津天气17度穿衣指数 昌乐十五天气