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"
长祥驾校在什么位置办驾校用的是什么牌照长祥驾校在什么位置沧州宏达驾校报名费曹县军强驾校地址长平驾校怎么走安徽霍山驾校多少钱长治的驾校有哪些安阳县驾校有哪些北京西站到龙泉驾校北宫门到龙泉驾校长祥驾校在什么位置报名驾校在哪里查体奔马驾校报考网址长治的驾校有哪些北京西站到龙泉驾校安徽星光驾校曹县科目一在军强驾校曹县科目一在军强驾校岳阳驾校哪个口碑最好百顺驾校地址在哪里曹县科目一在军强驾校安阳县驾校有哪些玉溪交通驾校峨山曹县军强驾校地址玉溪驾校退学费规定沧州宏达驾校报名费玉溪交通驾校峨山岳阳驾校哪个口碑最好报名驾校在哪里查体穿越到1925年,成为从西点军校、D国军事学院毕业的张大帅第二子张宗卿。 偶获超级军工设计系统,各式超时代武器纷纷涌现。 彼时,时局维艰,华国尚未一统。 世界格局风云涌变,华国在二公子的带领下自此复兴,傲立于世。每个人都有属于他的气运,而这股气运会在冥冥之中影响着他的道路与未来。 命中注定你是个主角,那么你就会走上属于主角的道路,哪怕你不愿意,也无法拒绝。 你唯一能选的,是决定这条路该怎么走。 喜剧型男主角,逗逼型男主角,热血王道男主角,在或者是悲剧型男主角? 他们有的选,但秦宇没有,因为他的气运不是什么主角,而是一个反派!纯粹的反派! 大哥!以前我没得选!现在我想当个好人啊! 六十年代未期,一批知识青年上山下乡,在偏僻的边境山乡所经历的匪夷所思的惊悚事件……刘墨发现了自己的爷爷是盗墓贼,他选择走爷爷的老路去探寻爷爷未知的墓,一路上结交了许多对于自己来说非常重要的朋友.湘西尸王和海底墓到底是什么关系?余亦辰的身世之谜?刘墨的爷爷为什么不要他从事盗墓?八星卧足墓的噬魂刀真的有这么厉害吗? 寒武纪再次来临,科学现今无法解释的谜题。人类,动物,天上飞的,地下跑的,水底游的。全都发生了变异进化。我们的主角从一个普通的高中生,在寒武纪再临全球生物都进化变异的混乱的时代,为了生存寻求一份属于自己的进化之路。穿越平行世界,参加选秀综艺,商献毫无意外成为偶像。 粉丝:明明可以靠脸吃饭,却偏偏靠才华,他重新定义了偶像! 商献:我不想做偶像啦,抄歌没有一点挑战性,想尝试去演戏! “人太帅,演什么都画风突兀,还是专心唱歌吧!” “这垃圾演技,安心当个偶像吧,演戏不适合你!” “演的什么鬼!差评!发首新歌我们才能原谅你!” ———— 多年后,当商献入选《时代周刊》年度风云人物,人们才恍然惊觉,这个偶像并不简单…… 年度风云人物评语:他创造了一个时代,在各种意义上! 当强大的外族入侵时,作为一名普通老百姓你会怎么选择?是农具当武器站着死,还是归顺他们苟且生?当外族入侵时,作为一名高高在上的九五至尊,你会怎么选择?是割地赔款最终成为一名国破家亡的亡国奴,还是振臂高呼带领大家抵御外族将他们赶出国门最终把他们消灭掉啦? 作为一名普通老百姓,当外族入侵时,农具必是武器,站着死。作为一名天子?你做过天子吗? “ 没有” 那就让我们随着20世纪的小白方小乐到大周王朝看看,作为天子的他会怎么抉择,是站着死还是跪着生。危楼将倾,大丈夫自当立于高楼之下;尘世既乱,有志者竞主宰沉浮。刘昊穿越到了大唐,大明,魏蜀吴三国并存的世界。 还成了实力吊车尾的蜀汉后主刘禅 吊车尾怎么了,蜀汉国运衰落又怎么了? 刘昊直接到大唐当起说书人,将赵云长坂坡救主的故事变成自己带着赵云杀穿长坂坡。 什么饮马瀚海,封狼居胥,直接扣在自己头上。 靠着历朝各代载入史册的事迹,直接在大唐封神。 什么独步天下李元芳,神探狄仁杰,应梦贤臣薛仁贵,纷纷收入麾下。这是一个很长的故事……
末世炽焰 时空尽头:圣灵大陆 重生初三的那个暑假 我在佣兵团守护全人类 诡秘之王,我在女寝当宿管 妖灵御天 黄睿骑大战黄晴 唯我超然 三国模拟器:这个刘封绝地求生 校园学霸风云之路 雪落金陵 我真的很低调 末代剑尊 白日暗流 启星录 只有我能用召唤术 极道横推:我以肉身镇压末日 每晚,一个诡故事 末世荡漾 拯救者传说 玉溪峨山驾校 北京驾校 自动挡 安徽星光驾校 曹县科目一在军强驾校 玉溪峨山驾校 玉溪交通驾校 安奇驾校报考网址 报驾校体检表医院有吗? 玉溪驾校退学费规定 报名驾校在哪里查体 安阳县驾校有哪些 安奇驾校的地址 赞美驾校教练的古诗 北京驾校 自动挡 长平驾校怎么走 曹县军强驾校地址 安奇驾校报考网址 玉溪驾校退学费规定 百顺驾校地址在哪里 长祥驾校在什么位置 北京驾校 自动挡 长治的驾校有哪些 办驾校用的是什么牌照 奔马驾校报考网址 北京西站到龙泉驾校 赞美驾校教练的古诗 玉溪驾校退学费规定 办驾校用的是什么牌照 百顺驾校地址在哪里 玉溪驾校退学费规定 曹县军强驾校地址 北京驾校 自动挡 畅达驾校柳市 长祥驾校在什么位置 玉溪交通驾校峨山 曹县军强驾校地址 畅达驾校柳市 安徽星光驾校 赞美驾校教练的古诗 长治的驾校有哪些 沧州宏达驾校报名费 报考以后能换驾校吗 长春小南的驾校 安奇驾校的地址 奔马驾校报考网址 北京驾校 自动挡 安奇驾校的地址 沧州宏达驾校报名费 岳阳驾校哪个口碑最好 安徽霍山驾校多少钱 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我被丧尸世界坑惨了 时光中 太史信列传 暗杀堂 拂晓清客 皇冠登3出租 亚星管理平台 澳门葡京官网 皇冠登3出租 亚星官网 曹县科目一在军强驾校 安阳县驾校有哪些 岳阳驾校哪个口碑最好 长平驾校怎么走 长春小南的驾校 百顺驾校地址在哪里 北京西站到龙泉驾校 报名驾校在哪里体检吗 办驾校用的是什么牌照 玉溪驾校退学费规定 办驾校用的是什么牌照 曹县科目一在军强驾校 玉溪峨山驾校 赞美驾校教练的古诗 玉溪交通驾校峨山 安阳县驾校有哪些 安徽星光驾校 长春小南的驾校 北宫门到龙泉驾校 报驾校体检表医院有吗? 北京西站到龙泉驾校 长治的驾校有哪些 白云驾校 昌西分校 玉溪驾校退学费规定 畅达驾校柳市 沧州宏达驾校报名费 长治的驾校有哪些 安徽星光驾校 沧州宏达驾校报名费 奔马驾校报考网址