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"
瑞安到江西火车站沈北火车站小姐瑞安到江西火车站海口 直达 火车商丘到德州普通火车时刻表重庆到威信火车票查询杭州到哈尔滨火车票价宜春到镇远的火车票杭州普通火车k在哪里坐库尔勒一伊宁火车利川到韶关火车瑞安到江西火车站靖边到西宁火车票查询哪列火车经过抚州北站宜春到镇远的火车票库尔勒一伊宁火车峨眉山火车站到峨眉平昌火车平昌火车西安火车在哪青海到张掖火车票多少钱平昌火车杭州普通火车k在哪里坐重庆至邯郸火车票查询系统商丘到德州普通火车时刻表沈阳到金宝屯火车海口 直达 火车重庆至邯郸火车票查询系统西安火车在哪靖边到西宁火车票查询到达天然城本以为是一个新的开始,但似乎并不是这样。 “叶金瞳,这都什么年代你还写日记呢?让本仙女给你科普一下知识吧,大笨蛋。” “好,好啊。”一个玩世不恭的小子,因奇缘而获得特异奇能,在校园里由傻冒而一跃成名。走入社会,左右逢源,由此而暴富,走出一条自在的人生之路。“我不后悔,因为无论怎么选,最后都会后悔。”不知为何,我重生到初三的那个暑假,既然回来了,我就不会辜负这个机会一个普通的年轻人,一路坚持寻找自己的妹妹,经历社会的残酷和险恶,一步一步走向人生巅峰。人生百态,社会百态。遇到各种诱惑挑战的时候,我们又当如何?暗恋多年的感情始终无果,挡在我面前的是生活和现实。 现实和生活是沉重的枷锁,牢牢困住我的心中的理想。 纵使我奋不顾身,也只能头破血流。 古怪女孩出现在我的生活中,为我平淡而又灰暗的生活增添了一抹光彩,从此她成为了我生命的光。 掩藏在表面之下的,是人性中的恶。“乱世枭雄争锋来,此乃大海贼时代!”神话仙武版海贼王的故事,魔改剧情,慢热,多铺垫伏笔,有大量自己的情节,也有原著的时间线,完整多体系,逻辑严谨,带你领略仙武海贼江湖的冒险故事,在重重迷雾中找寻历史的真相,争夺气运,问鼎独道之神!某一天,林安发现了一扇散发诡异红光的木门。 诸多诡异恐怖的事情紧接发生,禁忌之门已经开启。 死亡接踵而至。 我在半夜坐在门前听着门后的窃窃私语,享受着它们带来的恐惧,能打败鬼的只有鬼。三年前,玄医门少主叶辰身受重伤,记忆全失,被苏家所救,成为苏家上门女婿,三年后,叶辰恢复记忆,暗暗发誓,谁敢欺负苏家,那就是与他叶辰为敌!上至神界,下落黄泉,我有一剑,屠神戮仙! 万界之中,种族无数,强者为尊,在帝劫中身殒的剑神苏平,转生成大夏青风城苏家弟子。阴谋诡计、魑魅魍魉,我以手中剑,斩尽眼中不平事!待我重临巅峰之日,但问一句:此剑锋利否?余跃从2022年穿越会了玛雅文明时代,发现这居然是个可以修炼成神的时代……
鹏破九天 一不小心拯救世界了 域界:双尊 封澜传 武道寰宇 大头科员修仙记 进化游戏Zero 法师升级大冒险 这个召唤师不一样 我是女鬼差 直播抓鬼:从鬼差升职到酆都大帝 我当神棍那些年 命定与传承 镜塔 王座 幻 我本浪子,无需回头 我放弃高考去了异界 玄傲传 诸昏 这,是我们的世界 温州站到瑞安市火车票 清河到汉口的火车票价 峨眉山火车站到峨眉 商丘到德州普通火车时刻表 温州站到瑞安市火车票 天津至文登东火车 鲁山到周口火车 桂林到丽江的火车票多少钱 沈阳到金宝屯火车 靖边到西宁火车票查询 杭州普通火车k在哪里坐 加格达奇至沈阳火车时刻表 火车乘客表 清河到汉口的火车票价 重庆到威信火车票查询 商丘到德州普通火车时刻表 鲁山到周口火车 沈阳到金宝屯火车 青海到张掖火车票多少钱 瑞安到江西火车站 清河到汉口的火车票价 宜春到镇远的火车票 沈北火车站小姐 哪列火车经过抚州北站 库尔勒一伊宁火车 火车乘客表 沈阳到金宝屯火车 沈北火车站小姐 青海到张掖火车票多少钱 沈阳到金宝屯火车 商丘到德州普通火车时刻表 清河到汉口的火车票价 海口到哈尔滨东火车时刻表查询 重庆到威信火车票查询 重庆至邯郸火车票查询系统 商丘到德州普通火车时刻表 海口到哈尔滨东火车时刻表查询 峨眉山火车站到峨眉 火车乘客表 宜春到镇远的火车票 海口 直达 火车 当阳一鹰潭火车 唐山到嘉峪关火车 加格达奇至沈阳火车时刻表 哪列火车经过抚州北站 清河到汉口的火车票价 加格达奇至沈阳火车时刻表 海口 直达 火车 火车乘客表 杭州到哈尔滨火车票价 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 我的世界有点忙 老天爷赐给我的女朋友 库洛伯之书 我能掌控诸天秘境 神话入侵:从模拟器开始斩神 AG真人 亚星管理平台 亚星游戏官网 AG真人 百家乐官网 靖边到西宁火车票查询 加格达奇至沈阳火车时刻表 唐山到嘉峪关火车 商丘到德州普通火车时刻表 沈阳到金宝屯火车 瑞安到江西火车站 青海到张掖火车票多少钱 平昌火车 火车乘客表 靖边到西宁火车票查询 靖边到西宁火车票查询 利川到韶关火车 清河到汉口的火车票价 海口 直达 火车 西安到宁川火车票 峨眉山火车站到峨眉 重庆至邯郸火车票查询系统 瑞安到江西火车站 当阳一鹰潭火车 加格达奇至沈阳火车时刻表 唐山到嘉峪关火车 茂名到深圳东火车 海口 直达 火车 西安到宁川火车票 桂林到丽江的火车票多少钱 火车乘客表 火车乘客表 靖边到西宁火车票查询 茂名到深圳东火车 库尔勒一伊宁火车