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"
常州到大冶火车站时刻表佳木斯 北京火车票价常德火车站有始发车?从北京到婺源的火车票怀宁到杭州火车常州到大冶火车站时刻表d2202火车时刻表常德火车站有始发车?重庆北至桂林北火车票价是多少旬阳到古城火车庐江开贵阳火车票常德火车站有始发车?阳新到南平的火车站时刻表庐江开贵阳火车票嘉善到合肥南站火车时刻表旬阳到古城火车巨野至石家庄的火车从淄博到即墨的火车票从淄博到即墨的火车票明天罗平至昆明火车时刻表孝感到上海火车车次从淄博到即墨的火车票重庆北至桂林北火车票价是多少从池州到温岭的火车时刻表郑州到河北承德有几点火车无锡火车票网上预订郑州到河北承德有几点火车从池州到温岭的火车时刻表明天罗平至昆明火车时刻表阳新到南平的火车站时刻表 冥冥之中,是否有天命注定?什么是善?什么又是恶?若你的心中也无解,不妨暂且由我用杀戮来向你慢慢诠释。少年名叫殷枫,机缘巧合之下穿越至一个陌生的世界——沧澜大陆,坠落于神圣九州。无缘无故被戾气缠上,戾气,一种能令修炼者丧失神智的邪物。邪物?不,这是专属于我的力量!是偶然,还是命运使然,我只能一步步地走下去,用一生的经历去验证。长白神庙,尸海迷巢,冥峡天棺,黄泉九鼎…… 一件来历不明的人皮寿衣将我拖入一个巨大的旋涡之中。 为了活命我必须借寿前行,活人的寿要借,死人的寿更要借。 当我以为自己可以彻底摆脱那件寿衣的时候,才发现这场阴谋刚刚开始,而我只是其中的一枚棋子……活着就是不断地经历着各种离别,可并非所有的离开都是曲终人散,活着的人有回忆,离开的人有眷恋......我记住了你们屠灭我龙族的画面,待我成就大道飞升之时,我会将曾经的一切百倍奉还!作为掌握全球最强游戏科技的星尘公司正式发布第一款网游《纪元》,于是各大网游俱乐部、天才、公司纷纷转入《纪元》,作为《星际争霸》天才神族的陆长空也来到《纪元》,打开了星尘公司的“史册”三界至尊因为前世情缘轮回转世,看似太平无事的天地实则暗流汹涌,在梵天,宙斯,如来,奥丁四方神族矛盾重重的情况下,空能否寻得前世爱人,君临天下?这个世界失去的,也许另一个世界可以得到。前程往事太苦,不如相忘于江湖。乱世不公,人为草芥,荒神崛起,重筑人间正道。天龙国皇权覆灭后百年来有三个派系组成,士族派,中立派,变革派维持着整个国家的平衡。 但因为一个二三岁的男人改变了这种平衡,他为变革派代表,一心想要铲除世家门阀让国家成为一个人人平等的国度。“什么?原来我是恶魔?” 十六岁那天,‘穿越者’阎墨终于等来了属于自己的灿烂。 ------------------------------ ‘普通人类’加入恶魔学园学习成为恶魔的故事,大概会涉及入间同学入魔了,家庭教师,猎人。身为剑神的龙痕风因为被人暗算而转生到剑魂大陆,在上面开辟一片属于自己的天地。
仙侠模拟修真 不开挂的末世生存 偷月亮的贼人 萧阳 特编第一作战连 强悍且正义的刀修 猛将如云,谋臣似雨 末世之逆天崛起 灵气复苏开局获得补偿礼包 末世之我重生当丧尸 末路王朝 无限穿梭世界的我掌控一切 弥留的通晓之刻 xiao周周 玄幻:娘胎修炼,开局绑定天道老婆! 在末日中生存 言与缄默 六国:起始 地府修行记 阎王转世录 青县到乌兰浩特火车时刻表 甘谷火车站站名简码 巨野至石家庄的火车 怀宁到杭州火车 青县到乌兰浩特火车时刻表 牙克石-丹东的火车票 巨野至石家庄的火车 从上海到温州火车 无锡火车票网上预订 火车票z14卧铺车厢 临沂到聊城的火车是几点钟 临沂到聊城的火车是几点钟 达州市火车购票 甘谷火车站站名简码 常州到大冶火车站时刻表 怀宁到杭州火车 金昌到长沙火车票 无锡火车票网上预订 哪的火车 常德火车站有始发车? 甘谷火车站站名简码 常德火车站有始发车? 哪的火车 从淄博到即墨的火车票 旬阳到古城火车 达州市火车购票 青县到乌兰浩特火车时刻表 佳木斯 北京火车票价 哪的火车 无锡火车票网上预订 怀宁到杭州火车 南京到温州双屿火车 从北京到婺源的火车票 常州到大冶火车站时刻表 从池州到温岭的火车时刻表 郑州到河北承德有几点火车 从北京到婺源的火车票 巨野至石家庄的火车 达州市火车购票 嘉善到合肥南站火车时刻表 郑州到河北承德有几点火车 火车票z14卧铺车厢 郑州到武夷山有几个火车站 金昌到长沙火车票 庐江开贵阳火车票 南京到温州双屿火车 临沂到聊城的火车是几点钟 郑州到河北承德有几点火车 达州市火车购票 d2202火车时刻表 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 大话西游之芭蕉扇 在时间的尽头遇见你 生死狙击学院第二季 恐悬 亡命遗书 欧博官网 百家乐官网 澳门葡京游戏官网 欧博官网 亚星游戏官网 常德火车站有始发车? 巨野至石家庄的火车 庐江开贵阳火车票 青县到乌兰浩特火车时刻表 青县到乌兰浩特火车时刻表 旬阳到古城火车 从上海到温州火车 从淄博到即墨的火车票 d2202火车时刻表 火车票z14卧铺车厢 佳木斯 北京火车票价 达州市火车购票 南京到温州双屿火车 阳新到南平的火车站时刻表 牙克石-丹东的火车票 旬阳到古城火车 常州到大冶火车站时刻表 庐江开贵阳火车票 从淄博到即墨的火车票 佳木斯 北京火车票价 佳木斯 北京火车票价 甘谷火车站站名简码 旬阳到古城火车 怀宁到杭州火车 庐江开贵阳火车票 从上海到温州火车 阳新到南平的火车站时刻表 临沂到聊城的火车是几点钟 郑州到武夷山有几个火车站 怀宁到杭州火车