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"
聊城的火车到嘉祥停吗从扬州到火车站怎么走聊城的火车到嘉祥停吗火车k1078的价格上饶到万年有没有火车北京火车票到青岛多少钱辽宁盘锦到扬州的火车时刻表如皋到兴化有火车吗火车2062途径车站上海至徐州火车列表g142次火车经过站点聊城的火车到嘉祥停吗南阳 恩施 火车时刻表查询系统k39是什么火车如皋到兴化有火车吗上海至徐州火车列表商丘市到北京火车票价格查广洲至珠海火车班次查广洲至珠海火车班次昌图丹东火车时刻表成都火车站-康定市查广洲至珠海火车班次火车2062途径车站12306火车票支付不了上饶到万年有没有火车新都汽车火车站火车k1078的价格12306火车票支付不了昌图丹东火车时刻表南阳 恩施 火车时刻表查询系统什么是奇迹? 生命本身,就是奇迹。非常飒的女特战军官退伍后当了一名教师,拯救无可救药的话学生们,还不快来看? 人是否真的有命运?命运谁造成?一名少年天赋异禀,因被手足残害险些命丧他手,不曾想因祸得福在机缘巧合之下寻得仙界神兵。当绝世神兵再现,引仙魔觊觎之时,他又将迎来一场怎样的命运呢?秦琪穿越了,别人带着王霸之气穿越,秦琪则带着一个仓库穿越到三国。 刚入三国,遇上名将高顺、绝世美人貂蝉。 收下! 往返于三国与现代,不断赚取小钱钱。风生水起之际,漂亮国盯上,一怒之下,跑到彼岸肆意掠夺……。 秦琪被一个个诸侯盯上,全不怀好意、肆意敲诈勒索,甚至要将其逮住……。 无奈下,只好走上争霸之路 从此,三国多了个狠人,专抢美人、收名将、名士的诸侯。 【江湖+鉴宝+盗墓】我从小没上过学,跟着一位漂亮女人学了十年手艺。十年时间,她锻造了我一对“鬼眼”,辨识天下奇珍异宝。练就了我一双“佛手”,破局下套横行无忌。教会我一身“神技”,从容玩转江湖乾坤。 我用多年来在古玩江湖摸爬滚打的亲身经历,告诉大家一个颠扑不破的真理:古玩不是玩古,而是玩人! 重生丧尸即将来袭: “杨老板,您购买的十吨大米到了!还有五吨的小米,三吨黄豆……” ?“杨老板,您订购的一吨牛肉,和一顿猪肉,还有……鸡肉,鸭肉,都到了!” “杨老板,您加急订购的防弹玻璃,还有钢化门,还有加大款的太阳能发电板……已经全部运送到了。”? ?那一年,万里河山狼烟四起。 枪声惊醒山林,硝烟弥漫古观。 终南山玄隐观小道士宋修,秉承师命下山入世保家卫国。 激战中,他竟意外穿越现代。 会医术,懂武术,能占卜... 琴棋书画,吹拉弹唱,都会“亿”点! 靠着一身本事,他成为实至名归的国民神医,国粹传承人,武道宗师。 本书又名:《我真只是个道士啊》,《都市:靠道士身份开始出圈》,《穿越现代之好好活着》。我从小受尽委屈,原以为等成年便可自由,结果还没成年,就给我赶出去了,听话,no no这个词永远不会在我的字典里出现,哈~。报复你们,是最正确的选择,结果我穿越了,还修仙?拜托~我是学渣,某狼:呸!你可真能装! 王屋山景区建设中,一座破落道观,不肯拆迁,遭到全网谴责,鄙视现在的道士也黑心市侩,为了更高的拆迁款,宁愿当钉子户! 但无人知道,道观下,镇压着无数妖魔,恶鬼厉魂,数千年来镇妖观一脉付出无数人的性命,才守护人间平安! 面对官方逼迫,开发商强拆,全网口诛笔伐,楚河冷笑:“拆了我的镇妖观还想我救你们,做梦!”
十方:是你们逼我称帝的! 只有我能杀死诡! 绝世剑神 用双手挖矿 成就无上仙位 这平凡的一生 青春期间的一些故事 红衣旧事 任天高,纵我行 我立于不败之巅 蛟龙问道 追逐思绪 我与鬼神打交道 过上我的世界的生活 战你!七成把握 碎墟纪 山河弃 天武山河印 南昌交通学院 最后的人类时代 修真界旅游日常之度日如年 成都火车站-康定市 k39是什么火车 沈阳至建昌县火车 火车k1078的价格 成都火车站-康定市 六枝 鹰潭火车站时刻表 辽宁盘锦到扬州的火车时刻表 南昌长沙的火车 从扬州到火车站怎么走 大石桥—盘锦火车 聊城绥中的火车时刻表 商丘市到北京火车票价格 柳州到东莞火车票价 g142次火车经过站点 昌图丹东火车时刻表 怎么查询一个人火车票行程 辽宁盘锦到扬州的火车时刻表 从扬州到火车站怎么走 火车2062途径车站 驻马店西的火车票照片 k39是什么火车 北京火车票到青岛多少钱 怀柔到哈尔滨的火车 上饶到万年有没有火车 g142次火车经过站点 柳州到东莞火车票价 从扬州到火车站怎么走 怀柔到哈尔滨的火车 火车2062途径车站 从扬州到火车站怎么走 怎么查询一个人火车票行程 k39是什么火车 如皋到兴化有火车吗 驻马店西的火车票照片 新都汽车火车站 怎么查询一个人火车票行程 聊城的火车到嘉祥停吗 辽宁盘锦到扬州的火车时刻表 偃师市到杭州市火车票 如皋到兴化有火车吗 火车k1078的价格 沈阳到德惠直达火车几点 驻马店西的火车票照片 邯郸到鹰潭的火车票 k39是什么火车 南昌长沙的火车 邯郸到鹰潭的火车票 火车k1078的价格 昌图丹东火车时刻表 辽宁盘锦到扬州的火车时刻表 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 破晓枪声 剑仙神玄 网游:一把锄头行天下 网游之星觉逆世 赛尔号之英雄传说 万利官网 欧博官网 皇冠登3出租 万利官网 快连下载 上海至徐州火车列表 大石桥—盘锦火车 商丘市到北京火车票价格 邯郸到鹰潭的火车票 六枝 鹰潭火车站时刻表 火车k1078的价格 南昌长沙的火车 驻马店西的火车票照片 查广洲至珠海火车班次 12306火车票支付不了 大石桥—盘锦火车 如皋到兴化有火车吗 邯郸到鹰潭的火车票 邯郸到鹰潭的火车票 南阳 恩施 火车时刻表查询系统 沈阳至建昌县火车 南昌长沙的火车 大石桥—盘锦火车 k39是什么火车 聊城绥中的火车时刻表 从扬州到火车站怎么走 怎么查询一个人火车票行程 南昌长沙的火车 怀柔到哈尔滨的火车 上饶到万年有没有火车 柳州到东莞火车票价 上海至徐州火车列表 如皋到兴化有火车吗 邯郸到鹰潭的火车票 聊城绥中的火车时刻表