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"
中国邮政普通包裹电话查询物流电话是多少中国邮政千灯电话中国邮政上蔡县电话中国邮政深圳电话中国邮政普通包裹电话查询中国邮政投诉电话021中国邮政千灯电话武汉天安保险电话中国邮政速递广州电话中国邮政收件电话中国邮政普通包裹电话查询中国邮政速递投诉电话中国邮政收件电话中国邮政千灯电话中国邮政速递广州电话中国邮政投诉电话号码中国邮政深圳市香蜜支局电话中国邮政深圳市香蜜支局电话西安高新广电客服电话是多少武汉天天快递电话黄陂区中国邮政石榴庄电话武汉顺丰快递取件电话西安柏林中通快递电话中国邮政深圳电话西安ems电话查询中国邮政上蔡县电话西安灞桥ems电话西安高新广电客服电话是多少中国邮政速递投诉电话两百年前,乱世骤起,群雄割据,以烽火燎原之势袭卷整个中原,江湖动荡,百姓苦不堪言。 割据一方的武安侯,率兵马百万,联合当时江湖上最大的门派魔琴宫,历时十数年的战火硝烟,方实现天下大统。可是在天下归一后不久,魔琴宫这个庞然大物却消失在了天下人眼前,到底发生了什么? 这个江湖,情与仇的交汇,就如同多年以前,激起了千重浪, 而这,便是江湖!【老婆做封面,快乐永无限!】 陈阎在末日寻找病毒血清,在关键时刻惨遭女友背叛,濒死之际意外觉醒了死亡系统,转世重生到年前。陈阎:什么死亡才能变强?“大哥,该吃药了。” 一碗药,让秦天穿越附身在同样被一碗药干废的同名天才少年身上。 “想我堂堂七尺男儿,怎能拜倒在你的石榴裙下,认一个女子当师傅。” “不拜师也可以,信不信我找几个弟子带条麻袋来陪你聊聊人生。” “师傅,请您喝茶!” 大丈夫,当能屈能伸,为了复仇,哪怕是裆下之辱,老子也得带着一脸痛苦钻过去。 修行怎能分心,该打。 你打坐的姿势不对,该打。 你出招的方式不对,该打。 谁让你私自突破的,该打。 谁让你...... 师傅,我就进来给你送杯茶,你怎么也打我啊? 额,谁让你送的茶这么烫。 不可能,我尝过了,根本就不烫。 你......穿越大唐,意外成为李靖的第三个儿子。 因刚穿越的他按照系统指示逃婚,两年后,对突厥用兵的李靖与李世民发现了他的踪迹......然后他们就懵了,这是什么?没见过吧土鳖,这叫华子,可好抽了,老李,你今有口福了,来吹瓶啤酒。 时代无情,岁月流逝。想要成为天地间最强大的存在需,勿忘初心,面对世间种种困难,不惧因果,敢于尝试,学会放弃。这是一个称作《灵脉大陆》的神奇世界,这个世界没有魔法,没有武术,没有战斗力,却有着神奇的灵脉。这个世界的每个人在10岁的时候都会在灵脉大殿中,在灵兽师或灵斗士的帮助下进行灵脉觉醒。灵脉可以增强体魄,辅助人们的日常生活。有特殊天赋的人可以通过自身灵脉或召唤灵兽进行修炼并进行战斗,这些人被称为《灵斗士》和《灵兽师》 亡国遗珠沐岚(女主),一步步修炼灵脉,在灵兽(男主)望天君的辅佐下,由凡人之躯修炼成神界监察人界的使者判官,最终铲除了灵脉大陆上的邪恶力量,报了亡国之仇,成为了灵脉大陆上强者。妖乱末世,巨兽屠城,万妖夜行,人间如狱。 神秘少年,半妖之身,踏上猎妖风云路,书写一代妖相传奇! 且看他,猎妖、除魔、斗巨鳖、擒天龙、佐明君、征天下、运筹帷幄、纵横捭阖、荡除妖兽、平定末世!来自星辰的启示, 人与神明相抗争。 超前进化的智慧, 痴迷幻梦不愿醒。 败军之将,梦途惊醒,逆天改命,铸就新(醒)程。   这是伪神黄昏,也是新神黎明,当新旧两派神祇还在不断明争暗斗之时,是否有人曾抬头望向那深邃黑暗的天空,那里,也许还有别的东西在默默注视着他们!   而当末日之战真正降临的这天到来,是否有人能逃过那不可名状的恐怖,又或是置之死地而后生,成为新的恐怖存在!   身为最后一个人类,名为余烬的少年将如何创造自己的传说故事,又将在这场即将笼罩整个蓝星的阴影中何去何从?平平无奇的打工人王虎穿越了?还穿越到了一个天赋渣渣实力菜鸡的人身上?怎么办?还好我自带系统,不说别的,爷钱多!想入最好的云海书院但天赋不行?没关系砸钱!想学习功法没办法理解?没关系砸钱洗髓丹可以拥有!有人想群攻?不好意思,已经砸钱开宗门了呢! 你我本无缘,就靠我砸钱!
日记推演档案 末世游戏之魔法师 幻想代码 剑道九官 月菲深悲 二五仔大统领 末世之冷血晚风 双形神二 异瞳战神 谁也? 亲哥献祭,捶死大帝 空天猎 禁地 都市:不想努力却逆袭 他们在干什么集 星玉圣师 奥特:救赎之光 宇宙真神 桎冥传 白富美的贴身高手 乱世货郎 物流电话下单 中国邮政速递广州电话 中国邮政投诉电话号码 中国邮政深圳市香蜜支局电话 物流电话下单 西安EMS航站电话 中国邮政魏公村电话 中国邮政速递贵阳网点查询电话 西安ems电话查询 中国邮政速递投诉电话 武汉顺丰快递取件电话 武汉顺丰快递取件电话 西安柏林中通快递电话 中国邮政速递广州电话 中国邮政普通包裹电话 中国邮政深圳电话 武汉东西湖区中通快递电话 西安ems电话查询 武汉天天快递电话黄陂区 中国邮政普通包裹电话查询 中国邮政速递的电话 中国邮政千灯电话 物流电话是多少 中国邮政石榴庄电话 中国邮政速递贵阳网点查询电话 西安柏林中通快递电话 西安ems电话查询 物流电话是多少 武汉天天快递电话黄陂区 西安ems电话查询 中国邮政深圳市香蜜支局电话 中国邮政速递的电话 中国邮政上蔡县电话 中国邮政普通包裹电话查询 西安柏林中通快递电话 中国邮政深圳电话 中国邮政青云普区投递站电话 中国邮政魏公村电话 西安柏林中通快递电话 中国邮政青云普区投递站电话 中国邮政深圳电话 中国邮政速递衡阳市电话 西安高新广电客服电话是多少 武汉东西湖区中通快递电话 中国邮政收件电话 中国邮政速递的电话 武汉顺丰快递取件电话 中国邮政深圳电话 西安北大街秋林商贸客服电话 中国邮政投诉电话021 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 最强仙帝在都市 林家小道士 留守儿童之阿礼 师姐请自重 英雄联盟:王者之路 亚星官网 万利官网 欧博官网 亚星官网 AG真人 武汉天安保险电话 物流电话是多少 西安柏林中通快递电话 中国邮政收件电话 中国邮政速递投诉电话 中国邮政青云普区投递站电话 中国邮政速递广州电话 中国邮政普通包裹电话 中国邮政投诉电话021 中国邮政深圳市香蜜支局电话 物流电话是多少 物流电话是多少 中国邮政魏公村电话 武汉东西湖区中通快递电话 中国邮政速递投诉电话 中国邮政投诉电话021 中国邮政速递贵阳网点查询电话 武汉天天快递电话黄陂区 西安灞桥ems电话 中国邮政石榴庄电话 中国邮政速递投诉电话 西安ems电话查询 中国邮政速递的电话 西安高新广电客服电话是多少 中国邮政天通北苑邮政支局电话 中国邮政深圳市香蜜支局电话 物流电话是多少 武汉天天快递电话黄陂区 中国邮政收件电话 中国邮政速递的电话