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"
常州动物防疫站电话深圳市瑞卡租车电话信丰到广州火车票查询电话舟山褐色公园售楼电话九天休闲谷客服电话朝阳出租车叫车电话是多少钱一个余姚至商丘高铁时刻表查询电话信丰到广州火车票查询电话天一城尚客优快捷酒店电话四川汽车时刻表票查询电话珠海到贵阳的站点查询电话常州动物防疫站电话台山美食电话江油七喜酒店电话信丰到广州火车票查询电话四川汽车时刻表票查询电话海口到厦门随车电话多少上饶站服务电话上饶站服务电话拨打澳门的电话怎么打天津程林公墓的电话上饶站服务电话天一城尚客优快捷酒店电话英德英之旅游公司电话九天休闲谷客服电话中国驻美国大使馆电话号码舟山褐色公园售楼电话英德英之旅游公司电话延吉至青岛动车时刻表查询电话台山美食电话我将用我自己的写作方式,用心之一分一毫,情之一缕一丝,为大家去描述一个多元化虚拟的世界,玄幻亦或物质,浪漫亦或现实,激烈亦或平静,以遐想还原本真的人文风貌。 我们潮汕文化来源于福建,行政隶属于广东,可是,潮汕不是哪一家的附属品,潮汕有她自己独立的城市风格,有追求自由于平等的强烈姿态,这片土地上的人有顽强拼搏与享受宁静安逸的一致认知,她是一个出色的整体,也是一个个优秀的个体。尊崇传统文化,又极力接受新事物 ; 平和的茶文化里,有雷厉风行的基因 ; 隐忍的内心深处,是那么地奔放狂野 ; 圆润的处事风格,又包涵着执着的信念。朴素与低调是她的面貌,男人的勤奋,女人的贤惠,饮食的多元化是她的名片,历史底蕴和潮商的风云是她的骄傲。潮汕,我的桑梓故乡,永远都是美! 阿琉族,是天下间被诅咒的家族,族内嫡系血脉身附神力,传闻是神族后裔,族内最高首领世代继承阿琉族圣物阿琉玉。上古神器阿琉玉,据说背负着天下至高神——道神太天的血和灵力,因此也被诅咒。虽说时代更迭,王朝换代,但野心勃勃的世人们依旧垂涎这被诅咒的上古神器阿琉玉,传说若能唤醒阿琉玉,便可像至高神太天一样永生。阿琉一族为守护阿琉玉,一直颠沛流离,四海为家,直到第九任族长阿琉肃里开辟了叶秋镇作为新的家园,阿琉族才正式定居安家。好景不长,一句预言打破了叶秋镇的宁静。“阿琉阿琉,神族后裔;阿琉圣玉,可掌天下;背负诅咒,先祖之殇;幽幽灵神,降于叶秋;人前之子,人后之凰。”少族长阿琉思南一行人在预言之下又该如何应对种种危机?莫名重生后找到奋进的目标---修炼成仙,拥有变态悟性的夏至一路披荆斩棘,最终探明修仙的真相,完成超脱---【穿越+倒爷+搞笑+轻松+日常+玩梗+时事+胡亥+项羽+美女】 好消息!好消息! 江南皮革厂倒闭了,老板黄贺没有带着小姨子跑路,获得秦朝和现实来回穿越的能力。 作为商人的黄贺,充分发扬老秦人吃苦耐劳的精神,没有996,没有007,只要干不死,就往死里干。 秦朝的无限资源,现代的工业技术,碰撞出激烈的火花。 且看一个现代人,如何在秦朝和现实一步一步的爬到最高,打到赵高,带领老秦人冲出欧亚,走向世界。 秦,原名姬玄惊(字:云帆)本是一位贫困的农家少年,直到有一天他被接去无双王朝的天下城,他才得知自己的身份——天下城城主私生子。因这一重身份,受尽凌辱、招受摧残。16岁时,母亲逝后脱离无双王朝,成了一名剑客...他与兄弟开辟新王朝、斩尽天下一切敌,唯独没有斩去人心。他开辟新时代,拯救亿万众生,唯独没有拯救自己。码字码到穿越,以地球人的身体,跨入修炼者行列,看少年异世大陆掌握生死大夏皇朝,文武并存。 妖魔鬼怪,无奇不有。 孙七天穿越而来,以逆天悟性文武双修,问鼎巅峰。 朝廷江湖中,皆是他的传说。 他是大夏棋圣,举手投足间,胜天半子! 也是大夏诗仙,绝世诗篇,信手拈来! 还是文道魁首,以创新之法,使文道昌盛! 诸多头衔之中,孙七天最为看重的,是大夏执剑人!   “吾孙七天,大夏执剑之人,以手中之剑,斩尽天下不公,开万世太平!”行星文明的尽头是升华还是毁灭? 站在行星文明的十字路口他会替人类做出正确的选择! 黄玫瑰的降临预示着罪行的到来,又一个雨夜的悬案 在地星上遭遇了流星降落意外死亡的王丑魂穿到了平时世界的另一个年少的自己身上.... 嗯?这个世界的人都拥有精神力?还能和异兽签约?看我王丑如何在这个异世界潇洒四方......
异世界,剑 全班吊车尾,你告诉我毕业上清北? 从地球回来后我逐渐无敌 生存空间:我能看见提示 九龙狂婿 80后的年轻人 太古龙尊 大宋狂徒 这主播能处,开局怒怼黑心商家 极点世界 养成柳神,我成为无上神帝 名劫 汉莽交替背后的搅局者 破劫传说 长生十万年 信使的传承 大焱皇子 叹情剑 奥斯克英雄传 还魂小记 万达大玩家电话 安溪到西安客车电话 海口到厦门随车电话多少 上饶站服务电话 万达大玩家电话 西安野生鸟类电话 凤凰到遵义汽车电话号码 坝下茶之道电话 中国驻美国大使馆电话号码 台山美食电话 天一城尚客优快捷酒店电话 各种酒店电话 远洋城电话 四川汽车时刻表票查询电话 朝阳出租车叫车电话是多少钱一个 九天休闲谷客服电话 凤凰到遵义汽车电话号码 中国驻美国大使馆电话号码 天津程林公墓的电话 常州动物防疫站电话 安溪到西安客车电话 信丰到广州火车票查询电话 深圳市瑞卡租车电话 江油七喜酒店电话 四川汽车时刻表票查询电话 远洋城电话 中国驻美国大使馆电话号码 深圳市瑞卡租车电话 天津程林公墓的电话 中国驻美国大使馆电话号码 九天休闲谷客服电话 安溪到西安客车电话 广铁集团投诉电话 常州动物防疫站电话 英德英之旅游公司电话 九天休闲谷客服电话 广铁集团投诉电话 海口到厦门随车电话多少 远洋城电话 广铁集团投诉电话 九天休闲谷客服电话 天下第一面加盟电话 拨打澳门的电话怎么打 各种酒店电话 江油七喜酒店电话 安溪到西安客车电话 各种酒店电话 舟山褐色公园售楼电话 延吉至青岛动车时刻表查询电话 余姚至商丘高铁时刻表查询电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 大道界墟 苍银骑士与魔女传说之夜 揭开一角的世界 如果是我呢 雾何破案记 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 天下第一面加盟电话 余姚至商丘高铁时刻表查询电话 万达大玩家电话 海口到厦门随车电话多少 台山美食电话 各种酒店电话 九天休闲谷客服电话 江油七喜酒店电话 信丰到广州火车票查询电话 凤凰到遵义汽车电话号码 台山美食电话 凤凰到遵义汽车电话号码 英德英之旅游公司电话 远洋城电话 凤凰到遵义汽车电话号码 安溪到西安客车电话 远洋城电话 朝阳出租车叫车电话是多少钱一个 拨打澳门的电话怎么打 深圳市瑞卡租车电话 延吉西站服务电话 信丰到广州火车票查询电话 坝下茶之道电话 常州北至池州的高铁时刻表查询电话 台山美食电话 九天休闲谷客服电话 万达大玩家电话 远洋城电话 上饶站服务电话 江油七喜酒店电话