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"
查询汽车站服务台电话川老汇电话新都区大丰客运站电话号码长沙万达百货总台电话沈阳快捷宾馆电话查询汽车站服务台电话高新区机场大巴电话新都区大丰客运站电话号码携程航空官网电话客服电话是多少萧山恒隆百货电话郓城到青岛汽车站电话新都区大丰客运站电话号码长春七个饭电话号码郓城到青岛汽车站电话埃及打中国电话萧山恒隆百货电话携程订火车票客服电话中影国际 电话中影国际 电话崇福美团客服电话广州驻上海办事处电话中影国际 电话携程航空官网电话客服电话是多少藁城火车站咨询电话埭溪回湖州回程的电话携程订票电话国际埭溪回湖州回程的电话藁城火车站咨询电话崇福美团客服电话长春七个饭电话号码人活着无论干什么都挺困难。即使坚守不招惹人的原则都躲不过被人刁难。即使是对的,在金钱和权力的逼迫下变成了错的。人活着是最痛苦的事了,压抑的怒火早已烧毁了心脏。人需要发泄的地方,请来疯狂直播间。帮助美女上司摆脱陷害的黄非凡,成为公司派系斗争的棋子,被上司排挤到养殖场。 本就事业不顺,女友这时又跟着出轨,让黄非凡彻底跌入低谷,从事业到爱情遭受双重打击。 不过因为一次善举,让黄非凡彻底改变命运,开始时来运转,一路攀升。 最终从一个人人瞧不上的草根,成为众人逢迎巴结的大鳄! 且看职场小白黄非凡不寻常的崛起之路! 修炼一道,乃逆天而行,是孤独,更是寂寞,想要在这条路上有所成就,不仅需要忍常人所不能忍,更要做常人所不能做,唯有如此,方存一线生机。 本书讲述的是一人族落魄少年,偶得逆天机缘,从此踏上与他人不一样的修炼之路。 统南域,闯神州,入妖原,破邪魔,少年一路披荆斩棘,神挡杀神 ,魔挡诛魔,终成一方巨擘。 杨立因为农村出身被女友家嫌弃,被五十万彩礼逼退。看破感情,又不慎坠崖,被豪门美女救下,意外得到先祖传承。自此杨立玩转都市,纵横天下......如果有一天你发现: 你可以在梦中成为游戏和影视剧中任意一个人物,获取他们的能力,你会怎么办?女警叶未明刚被纳入重案组,就沾光收到了一面锦旗——来自被拐至原芜村的女孩小光的父母。 然而,原芜村青年陆光的报警却让她陷入一个围绕名为“日绝”的女子的巨大黑色漩涡。一朝穿越成为不学无术、荒淫无度的纨绔太子。 为了重塑自己的形象,得经得住诱惑、耐得住寂寞。 面对手下宦官的谄媚,朝中大臣的冷眼,一众弟弟的虎视眈眈,朱永笑了。 有母后临终前给的九十九道免死金牌,根本不慌好吧。 我就当着你的面捅了你,你能咋地?当陈氏家族击败王氏家族后,宇宙的大权被陈子轩掌握。内阁首辅陈滨海和他的儿子“严世藩再世”之称独掌朝廷大权并在宇宙上大肆贪污和排除异己。黑暗帝国之中陈子轩击败王操成为首席将军并勾结李肃大肆排除异己。 面对陈氏家族的嚣张气焰,王操为了捍卫黑暗君主,于是和陈子轩展开了激烈的明争暗斗。最终陈子轩被迫退让,王操和汪美含联手打消了陈子轩的嚣张气焰。一个患上白化病的普通高中生在“指定的时刻”激发异能,并与朋友们一起开启不一样的人生 同时主角也发现,他的朋友的身份似乎不一般,而因“书”而起的能力逐渐给他和朋友们带来重重阻碍,甚至带来致命的危险,面对现实的考验主角和他的朋友们能否找到被埋没的真相?陌生朝代一品大将府的庶子,突然融合了一个现代人的记忆。 这段记忆会给他带来怎样的变化?又会给这个世界带来怎样的变化?
飞狼野游队 医武巨商 弑天炼神 对不起,我是反派 九苍异能传 回忆那几年 太苍龙神 从获取神通开始修炼 暗夜赞歌 时空行者之死亡烈风 大顺王朝 魔祖出世,诸神避让 在元宇宙当包租公 五界战乱:人间乱 火影世界的海贼兑换系统 从特种兵开始融合万物 玄幻:万界双尊 散曲 三国:大军师之龙腾虎跃 全球御兽:开局觉醒SSS级天赋 东阿县酒店电话 潮州红树林电话 携程订火车票客服电话 沈阳快捷宾馆电话 东阿县酒店电话 厦门到霞美的士电话是多少钱 携程订火车票客服电话 沙河金莎ktv电话 携程订票电话国际 容桂君豪酒店电话 重庆到泸州快递电话是多少时间 重庆到泸州快递电话是多少时间 大理市沃尔玛客服电话 潮州红树林电话 查询汽车站服务台电话 沈阳快捷宾馆电话 广州增城城监电话是多少 携程订票电话国际 重庆龙法寺电话号码 新都区大丰客运站电话号码 潮州红树林电话 埃及打中国电话 重庆龙法寺电话号码 郓城到青岛汽车站电话 萧山恒隆百货电话 大理市沃尔玛客服电话 携程订票电话国际 川老汇电话 重庆龙法寺电话号码 携程订票电话国际 沈阳快捷宾馆电话 朝阳金港商务宾馆电话号码 长沙万达百货总台电话 查询汽车站服务台电话 藁城火车站咨询电话 埭溪回湖州回程的电话 长沙万达百货总台电话 携程订火车票客服电话 大理市沃尔玛客服电话 埃及打中国电话 埭溪回湖州回程的电话 容桂君豪酒店电话 运德电话是多少钱 广州增城城监电话是多少 郓城到青岛汽车站电话 朝阳金港商务宾馆电话号码 重庆到泸州快递电话是多少时间 埭溪回湖州回程的电话 大理市沃尔玛客服电话 高新区机场大巴电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 飘雪神剑之忧郁飞花 剑道传承 转生龙与精灵乱舞! 火凤凰签到三年,成为特战兵王 都市赌徒 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 埭溪回湖州回程的电话 沙河金莎ktv电话 埭溪回湖州回程的电话 埃及打中国电话 中影国际 电话 东阿县酒店电话 藁城火车站咨询电话 厦门到霞美的士电话是多少钱 潮州红树林电话 沈阳快捷宾馆电话 潮州红树林电话 重庆到泸州快递电话是多少时间 携程航空官网电话客服电话是多少 潮州红树林电话 新都区大丰客运站电话号码 携程航空官网电话客服电话是多少 川老汇电话 川老汇电话 兴隆遵化班车电话号码 容桂君豪酒店电话 携程订票电话国际 埭溪回湖州回程的电话 中影国际 电话 沈阳快捷宾馆电话 大理市沃尔玛客服电话 携程订火车票客服电话 广州驻上海办事处电话 崇福美团客服电话 查询汽车站服务台电话 崇福美团客服电话