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"
2018年购买火车票时间郑州火车到运城多少钱一吨2018年购买火车票时间郑州火车站到项城宁城到上海的火车站时刻表新沂去济南的火车时刻表湘潭今天到长沙的火车北海 三亚 火车宁东火车到如州拜城县有没有火车站恒仁火车站2018年购买火车票时间浙江兰溪市火车票湖屯火车站北海 三亚 火车拜城县有没有火车站银川北京火车时间表萧县去合肥的火车萧县去合肥的火车聊城到塘沽火车站济南潍坊往返火车票多少钱萧县去合肥的火车宁东火车到如州上海-长春火车票宁城到上海的火车站时刻表彭水到涪陵的火车时刻表查询郑州火车站到项城上海-长春火车票聊城到塘沽火车站浙江兰溪市火车票“二十万?要不得要不得,我这是见义勇为!”陈东婉拒。 “什么,你要把女儿嫁给我?不行不行!我还年轻,不能耽误你女儿!”陈东还是婉拒。 私底下 “咱这次什么奖励啊?二十万?不行,太少了,这是我最宝贵的小电驴,你得加钱!”改革开放至今的四十年间,注定了中国历史的再次波澜壮阔。 梁海星,一位农村大学生,进入单位后,因发现上司不该发现的龌龊之事,后又被人击伤,险些丧命,在即将实现副厅长的梦想时,却突然与曾经的“恩人”彻底撕裂,于是,毅然选择了辞职。虽被漂亮的同事、下级苦苦追求,但对妻子的爱始终不渝。高燕,一位理想的机关年轻漂亮女干部,因爱生恨,万念俱灰,收养梁海星儿子后去了国外。正直的周思国,由市委书记成长为副省长,时常陷入家庭与人情的纠缠,但不失高级领导的高风亮节。黄正刚一位正直的老领导,致力培养梁海星,但残酷现实也时常使其感到无奈。刘大可一位基层成长起来的厅长,左右逢源,屈伸有度,但却极为贪婪,最终机关算尽。吴强,从乡镇干部一步步努力成长为市委副书记,然而,追求的变异使其整日惶恐不安,初恋女友给予的不仅仅是温柔,安排好妻子的后事,毅然走向了冰冷的湖水。漂亮的陆美霜对赵良既爱又恨,超出了常人的理解……。苏霁尘被系统给坑了,在娘胎里面一待就是十年。 【叮,签到成功,获得至尊剑骨】 【叮,签到成功,获得混沌道体】 【叮,签到成功,获得不灭金身诀】 【叮,签到成功,获得斩天拔剑术】 那一日,紫气横盖三万里,至尊降生。 混沌道体,手持祖剑,身上不灭金身,至尊剑骨让万族臣服。 十年之期满,苏霁尘降生。 苏霁尘:“太强了不给出生?我反手就将老娘堆成仙!” 妖,灵,魔,道士,佛;天使,奥林匹斯神,北欧神。 穿越,重生,权谋争霸,热血冒险,包罗万象,无穷无限。 这是一个科学又有内涵的玄幻小说沈浪:划船不靠桨,全靠浪。 凭沈浪那个穷哈哈,他为什么能够得到互联网创业女神萧红绫的喜欢。 萧红绫:因为他是背后推我的男人。 凭沈浪那个穷哈哈,他为什么能够得到娱乐创业女神苏媚的喜欢。 苏媚:因为他是我背后用力的男人。 ………… 【震惊!恐怖的商业帝国创始人】暑假打工仔王宇身为一个“现实”代好青年,当个小保安被一把小剑拐到铠甲勇士世界,出门看个书碰见恶参兽,看个海景又碰见铠甲欢乐2V2,去工地卖盒饭还有岩石兽搞破坏,异世界混口饭吃好难呀(ー_ー),王宇意外发现小剑可以吸收他人血脉转为已用,俺也可以穿铠甲啦,只要我勤找人,正义必有我,我救人爱财不过分吧(??¤????ω¤????)?? 狂妄野心家,欲在地球上称霸挑起世界大战,银河系几个有人类的星球统治者,贪婪地球美,虎视眈眈要占领,刮起战争风云。奇异事件层出不穷,形形色色的怪异人物,扑朔迷离的各种阴谋频频出现。璀璨星空风云变幻,弄得地球千疮百孔,银河系文明一片混乱。 天降大任绝代双雄,千锤百炼成“圣”,抗起正义的大旗,战胜邪恶,重新建立了银河系文明。 月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!奇幻仙侠小说我来创作,来我这享受仙侠奇幻之旅实习生林天意外获得祖先的传承,看林天如何在都市逍遥...
在人间修炼的日子 神医小农民 烤冷面 我的地球是个废材! 陛下!丞相又在殿外骂人了! 幕尘 我写的小说,女主跑出来了! 末日我在海里抓鲨鱼 参天录 当红日临空 烟雨高中 关东诡谈记 洪荒:开局通天偷看我日记,自废圣位 三界之内皆我控 大唐:开局成皇子,被李二曝光 偏执大佬不好惹 神豪:开局就送万亿集团 穿越异世界的我竟是垫脚石 乐园之路 东北诡事日记 长春直达北京火车票多少钱 北京有到张家口没有火车了吗 银川北京火车时间表 萧县去合肥的火车 长春直达北京火车票多少钱 凯里到义乌的火车啥时候开 佛山至到肇庆火车最晚时间 广州到湛江南站的火车时刻表 彭水到涪陵的火车时刻表查询 浙江兰溪市火车票 宁东火车到如州 莆田长沙火车 z2次火车票价 北京有到张家口没有火车了吗 新沂去济南的火车时刻表 宁城到上海的火车站时刻表 佛山至到肇庆火车最晚时间 彭水到涪陵的火车时刻表查询 济南潍坊往返火车票多少钱 2018年购买火车票时间 北京有到张家口没有火车了吗 北海 三亚 火车 郑州火车到运城多少钱一吨 湖屯火车站 拜城县有没有火车站 z2次火车票价 彭水到涪陵的火车时刻表查询 郑州火车到运城多少钱一吨 济南潍坊往返火车票多少钱 彭水到涪陵的火车时刻表查询 宁城到上海的火车站时刻表 北京有到张家口没有火车了吗 嘉兴到湖北的火车票 新沂去济南的火车时刻表 上海-长春火车票 宁城到上海的火车站时刻表 嘉兴到湖北的火车票 银川北京火车时间表 z2次火车票价 北海 三亚 火车 郑州火车站到项城 温州 昆明火车 威海文登到北京的火车时刻表 莆田长沙火车 湖屯火车站 北京有到张家口没有火车了吗 莆田长沙火车 郑州火车站到项城 z2次火车票价 湘潭今天到长沙的火车 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 逃不出黑暗 元世纪:暗尽天明 千山万水总是情 我好想,再见你一面 离魄长安行 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 浙江兰溪市火车票 宁城到上海的火车站时刻表 彭水到涪陵的火车时刻表查询 聊城到塘沽火车站 三亚菏泽火车时刻表 恒仁火车站 萧县去合肥的火车 宁东火车到如州 湖屯火车站 拜城县有没有火车站 莆田长沙火车 广州到湛江南站的火车时刻表 新沂去济南的火车时刻表 浙江兰溪市火车票 郑州火车到运城多少钱一吨 凯里到义乌的火车啥时候开 长春直达北京火车票多少钱 银川北京火车时间表 郑州火车站到项城 银川北京火车时间表 彭水到涪陵的火车时刻表查询 莆田长沙火车 银川北京火车时间表 新沂去济南的火车时刻表 莆田长沙火车 济南潍坊往返火车票多少钱 聊城到塘沽火车站 济南潍坊往返火车票多少钱 广州到湛江南站的火车时刻表 长春直达北京火车票多少钱