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"
延安宝塔区招生办电话黄山市中通公司投诉电话遵义县南白图书馆电话哈尔滨道里顺丰张国栋电话EMS天桥揽投部电话延安宝塔区招生办电话铜梁送外面电话遵义县南白图书馆电话海珠区石溪思亲楼电话申通快递大连甘井子电话申通开发区一部电话延安宝塔区招生办电话顺丰快递南桥电话申通开发区一部电话遵义县南白图书馆电话甘肃省酒泉市安西县城建局电话潼南江北送餐电话EMS天桥揽投部电话EMS天桥揽投部电话成都市企业家联系电话汇通快递官网投诉电话揭阳公交车打什么电话号码查询海珠区石溪思亲楼电话郑州货运电话道理韵达快递的电话号清远市洲心计生办电话哈尔滨道里顺丰张国栋电话满城监狱电话成都市企业家联系电话横岗救助站电话号码我叫杨昊 因为一个意外和阎王成为了好兄弟 带着一身异能回到都市 泡校花 追美女 当首富 穿越次元与漫威宇宙中的超级英雄们对抗灭霸...魏和平在迷茫中穿越到了平行世界,无意中发现了系统的存在,他该勇往直前,还是猥琐发育,我决定要安全的浪。偷取九彩鼎,穿越异世界,前世的异瞳,现世的九瞳。叶瞳带你穿越异世,体验修仙,这究竟是涅槃重生,还是阴谋。(这是我的弟一个作品,希望大家喜欢)无敌天骄, 神魔血脉, 吾持一剑,碾天骄,镇神魔, 一剑碎山河,破九天,通万古……(都市+系统+搞笑+腹黑) 摩天轮上无数情侣正在恩爱。 张北哼着小曲,按下了红色的按钮。 身处于百米高空的摩天轮突然停住。 随后竟然横了过来。 无数坐在椅子上的情侣被弹射到了半空,仅有一个绳子连接。 几秒种后,整个摩天轮就像一个飞速旋转的盘子。 无数情侣在半空中玩起了温馨和谐的游戏。 跳楼机上,九十米高空的人体悠悠球。 碰碰车上,充满僵尸鬼怪的地下逃亡。 医生看着刚刚从过山车上下来的游客,将一颗速效救心丸塞进了壮汉的嘴中。 眼神中充满了幽怨。 “老板,这么下去会死人的!” “不会,你看他们多开心!”善人在求原谅,恶人在等宽恕。救人也救己,暖人也暖己。一位于300年前陷入沉睡的少年苏醒,竟遇到同当年那位佳人一般的人,后又因意外失忆,被那少女所救,从此踏上了一条不归路……20世纪三好青年穿越到洪荒大陆,与三清结拜,与十二祖巫结拜,复活盘古,征服其他神话。为《全民星》系列第四部曲:前三章分别为《全民星:星杰塔》《全民星:世界泡》《全民星:粉丝风波》为多人合作创作作品 内容有较多玩梗,同时并没有绝对龙傲天的人 ,且前三章并未上传到任何网站,仅私下群聊写过,但是这篇的内容已经是第四部了,很多角色在前三章已经无了。此身合该诗人未?细雨骑驴入剑门! 张霆玉意外穿越修仙世界,怎堪碌碌一生,做个凡人? 入剑门,得传承,竟成剑门老祖,忽悠他人就变强。 谁言仙路崎岖,长生漫漫? 修仙原来这么简单!
六界兴歌2 末世穿越之旅 满级悟性系统 会长不菜 陨石与冰 战王女婿 晴姐,等我的江山如画 从一只猫开始 吃阴间饭的那几年 全师门就我一个男人 黑白无常叫我小先生 你所不知的事 我靠出其不意横推里世界 魔法少女的成长日记 新十日谈 花都邪医俏总裁 诡道志异 星际大帝洛一凡 MC之创世神祝 穿越成反派,开局镇压女帝 清远市洲心计生办电话 甘肃省酒泉市安西县城建局电话 潼南江北送餐电话 EMS天桥揽投部电话 黄山市中通公司投诉电话 满城监狱电话 星沙附近物流电话 随县速尔快递单号查询电话 清远洲心街道办电话 顺丰快递南桥电话 宜宾市邮政局电话 宜宾市邮政局电话 郑州货运电话 甘肃省酒泉市安西县城建局电话 延安宝塔区招生办电话 道理韵达快递的电话号 宜宾邮政电话 清远市洲心计生办电话 屯溪屯光镇中通快递电话多少 遵义县南白图书馆电话 监督电话甘肃高台 遵义县南白图书馆电话 屯溪屯光镇中通快递电话多少 揭阳公交车打什么电话号码查询 申通快递大连甘井子电话 七台河铁东快递电话 清远市洲心计生办电话 屯溪屯光镇中通快递电话多少 汇通快递官网投诉电话 清远市洲心计生办电话 EMS天桥揽投部电话 监督电话甘肃高台 哈尔滨道里顺丰张国栋电话 延安宝塔区招生办电话 郑州货运电话 道理韵达快递的电话号 哈尔滨道里顺丰张国栋电话 星沙附近物流电话 郑州货运电话 邻水县高滩镇邮局客服电话 道理韵达快递的电话号 随县速尔快递单号查询电话 成都市企业家联系电话 宜宾邮政电话 申通开发区一部电话 监督电话甘肃高台 宜宾市邮政局电话 道理韵达快递的电话号 七台河铁东快递电话 潼南江北送餐电话 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 采访:这记者能处,有事他真报 封妖万界 飞升从家族修仙开始 鉴诡手记 此刻,我为华夏守护神 欧博官网 亚星游戏官网 亚星官网 欧博官网 亚星管理平台 邻水县高滩镇邮局客服电话 揭阳公交车打什么电话号码查询 横岗救助站电话号码 揭阳公交车打什么电话号码查询 满城监狱电话 监督电话甘肃高台 满城监狱电话 汇通快递官网投诉电话 郑州货运电话 随县速尔快递单号查询电话 新阳邮递支局电话号 随县速尔快递单号查询电话 汇通快递官网投诉电话 横岗救助站电话号码 随县速尔快递单号查询电话 满城监狱电话 横岗救助站电话号码 星沙附近物流电话 清远市洲心计生办电话 星沙附近物流电话 铜梁送外面电话 宜宾市邮政局电话 EMS天桥揽投部电话 延安宝塔区招生办电话 申通开发区一部电话 屯溪屯光镇中通快递电话多少 宜宾邮政电话 屯溪屯光镇中通快递电话多少 延安宝塔区招生办电话 清远洲心街道办电话