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"
游戏军旗图片大全像弹弹堂的单机游戏中文版摩托车游戏收集钻戒小游戏有什么寻找凶手的游戏游戏军旗图片大全用食材创造美女的游戏中文版摩托车游戏下载免费的跑酷游戏下载蜘蛛侠的游戏哪个好玩最好玩的办公室游戏大全游戏军旗图片大全通缉游戏最好玩的办公室游戏大全中文版摩托车游戏蜘蛛侠的游戏哪个好玩有什么剪发游戏有什么寻找凶手的游戏有什么寻找凶手的游戏最新双人游戏下载免费的跑酷游戏下载安装勇敢人游戏三手机上那个逗猫游戏中秋节玩什么游戏手机控制穿越森林游戏下载游戏长发公主收集钻戒小游戏有没有什么拼装的游戏最新双人游戏用鸡蛋玩游戏他刚大学毕业,被女朋友带了绿帽子,又早到了兄弟的背叛。 在一场车祸后,他得到了神秘的医仙传承。 曾经那些小人,贱人,全都要付出代价! 且看平凡青年如何医武双休,逍遥都市,开启属于自己的传奇之路……一个异世界铁匠的传奇经历。 是爱是恨?罪恶与权力,我一人说了算!别惹我,谢谢,我叫明智天!   一个流出金色血液的神秘人,一个流着钻石血液的男人,一场世界阴谋,等着他回来解决……这是一部架空的水浒传。 小书生来到大宋朝,在青楼里称雄、太监群里横走,闯大事业、做人上人;和李师师吟诗词,成赵元奴座上客,泡泡公主、郡主,觅觅美娘、娇娘…戏林冲娘子,夺武松嫂子,撩花荣妹子,敢和扈三娘比武艺、陪梁红玉练功夫…没事装装逼,淘淘宝,修侠访道,结交些五湖.四海乱七八糟的好汉,生活是多么美好!可是一不小心身陷国恨家仇的漩涡。是揭竿而起、替天行道?还是以奸制奸、重塑新的大宋? 王伦:我真不想上梁山啊!唐朝中期,安史之乱爆发,以安禄山和史思明为首的叛将所到之处烧杀抢掠,整个社会陷入到一片混乱之中。在这混乱中,上党贱民刘魁一加入到反抗安史叛将的行列中,从一名走卒变成了盖世英雄,并受到了唐肃宗的接见,委任他以虎贲将军的职位,从此走上了人生的巅峰,并取到了他心心念念的姑娘李敏,这位由贱民起家的英雄,后续的命运如何呢?是继续他人生的辉煌,还是由盛转衰呢?这里没有玄幻,没有穿越;只有新活的生命,逻辑的真实。 这是一个虚构的故事;一个关于生意与情怀的故事。一群年轻人,在小说主人翁李非的带领下,历经千辛万苦,克服重重困难,在小城香州,书写了一段商业传奇。香水星河酒店,一个给予了无数客人美好记忆,承载着一群酒店人理想的航器,在到达了它辉煌的顶峰后,突然掉头…… 结果怎么样?为什么会这样?是历史的悲剧,还是人生的释然?——一千个读者就有一千个哈姆雷特——如果你想得出自己的结论,请阅读天界无际的小说《香水星河》。李风是个高三就辍学的人,为了奶奶的治疗费选择了送外卖,但奶奶还是走了,而且自己 从小就有心脏病,无意中捡到一个香水小瓶子,竟然把自己的病给治好了,从此靠着香水瓶发家致富我是一个老千,为了报仇,我坐上赌桌,以千术把仇人踢进赌博的深渊。老千生涯,靠赌为生。三教九流,江湖百态。 赌桌上,没有常胜将军,输一次,万劫不复。不知哪个无良老祖立的狗屁祖训,要夺魁才能入世,老子是全能好不?上知天文,下晓地理,琴棋书画样样精通!要不是这几年,看不了师妹们楚楚可怜的目光。会老屈居第二?一尤其那几个老不死的,要不是以后可能成为本少的老丈人,就凭你们老笑我半吊子,不打得你们半身不遂,我配姓隆?!今年比的是武功和医术,看谁能与我争锋?今年我一定要下山,大师姐都下山六年了,要是我找到她,她牵几个小屁孩叫我舅舅,那我找谁哭去?喂!最近怎么开始听emo歌单了啊?别难过,我分骨头??给你啊!我的字典里希望你能开心 ——爱你的狗狗??笨蛋狗狗只要被人摸一下头就开始喜欢人类。
我是万书反派 抗金之战 乐园之路 只为一个承诺 明斯亚战歌 崩坏的诸天 大哥,我没惹你吧? 疯了!代课两月,竟全考985 大燕第一世子 这个江湖归我们做主 四颗丸子的未知世界 夺魂追凶 我六耳从洪荒开始布局西游 网游:肉搏祭祀 前生债 震惊!大婚当日,你给我送个孩子? 草民的胜利 幕后:戏耍气运之子 太古第一神王 刀剑天武 用食材创造美女的游戏 中文版摩托车游戏 最好玩的办公室游戏大全 游戏的非线性表现 用食材创造美女的游戏 在线3d欧美游戏排行 有什么女生单机游戏 在线3d欧美游戏下载网站有哪些 游戏长发公主 通缉游戏 手机上那个逗猫游戏 手机上那个逗猫游戏 中秋节玩什么游戏 蜘蛛侠的游戏哪个好玩 游戏军旗图片大全 手机控制穿越森林游戏下载 我的世界游戏超级版. 游戏长发公主 像弹弹堂的单机游戏 游戏军旗图片大全 找服装的游戏 中文版摩托车游戏 像弹弹堂的单机游戏 勇敢人游戏三 在线3d欧美游戏下载网站有哪些 中秋节玩什么游戏 游戏长发公主 像弹弹堂的单机游戏 下载免费的跑酷游戏下载安装 游戏长发公主 有什么寻找凶手的游戏 找服装的游戏 收集钻戒小游戏 游戏军旗图片大全 中秋节玩什么游戏 手机控制穿越森林游戏下载 游戏可以透视? 有什么女生单机游戏 中秋节玩什么游戏 游戏可以透视? 手机控制穿越森林游戏下载 停好飞机小游戏 最新双人游戏 我的世界游戏超级版. 最好玩的办公室游戏大全 找服装的游戏 手机上那个逗猫游戏 手机控制穿越森林游戏下载 游戏的非线性表现 用食材创造美女的游戏 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 幽玄轮回劫 万道神王 灭仙神源 大梁镇妖司 重回晚清当皇帝 百度 百度 百度 百度 百度 在公主游戏公主游戏下载免费下载 手机控制穿越森林游戏下载 在线3d欧美游戏下载网站有哪些 中文版摩托车游戏 有什么女生单机游戏 最好玩的办公室游戏大全 中文版摩托车游戏 游戏长发公主 手机上那个逗猫游戏 手机上那个逗猫游戏 用食材创造美女的游戏 有什么剪发游戏 通缉游戏 在公主游戏公主游戏下载免费下载 游戏的非线性表现 找服装的游戏 用鸡蛋玩游戏 收集钻戒小游戏 在线3d欧美游戏下载网站有哪些 勇敢人游戏三 像弹弹堂的单机游戏 通缉游戏 最新双人游戏 最新双人游戏 有什么剪发游戏 有什么女生单机游戏 停好飞机小游戏 像弹弹堂的单机游戏 我的世界游戏超级版. 游戏的非线性表现 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网