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"
时尚头像女会考对头像帅炸的头像头像老虎敲键盘头像时尚头像女定义头像帅炸的头像姓氏头像易碧瑶的头像温总头像帅炸的头像最酷头像女温总头像头像妖艳男碧瑶的头像魔性大头像悲伤得头像敲键盘头像素衣头像清老头头像悲伤得头像姓氏头像易狂人头像透明色头像跑车女头像透明色头像科幻群头像素衣头像头像拿牌有一天,我们摘下口罩,走向向往的生活 却发现老天给我们开了个大大的玩笑 …… “丫头,你要小心” “我会小心丧尸的” “不,你要小心人,有些人死了,却还活着,有些人活着,却已经死了”魔妖恶怪、能人异士、超凡科技……随着黑日黑月的出现,这些隐藏在暗中的事物纷纷出现。这里,充满了危机与风险;这里,充满了宝藏和奇遇…… 但我祝天佑注定不是这个画风! 奇珍异宝?我的!灵丹妙药?我的!美人江山?也是我的! 横行天下,靠的是风骚的操作,靠的,也是天神的血脉!“爸爸,我要吃饭饭!” 一觉醒来,来到平行世界的刘子夏,多了个亲的不能再亲的闺女。 为了让女儿吃饱饭,为了让女儿住大房子,也为了让女儿她娘回来…… 刘子夏能怎么办?他也很无奈啊! 好在刘子夏带着一个世界的文娱信息,这些压力,似乎不存在啊? 面对那些文娱大佬,刘子夏表示: “不要误会,我不是针对你,我是说,在座的各位都是垃圾!” 公布企鹅群:1054365860(一零五四三六五八六零) 灾难之后,称为”醒”的新大陆浮出海面。在飓风肆虐,疾病蔓延的残酷环境中,这块大陆做为人类和原生命体的避难所收留着各地的流民与旅人。 为了开拓边境,”醒城“委派“狩界队”奔走境外游猎濒危,稀有以及新生物种用于研究复制和抵抗边境生物。 然而,由于城市动荡,猎物终将做为武器参与各方势力的绞杀……这本书会更新的很慢很慢,就好像蜗牛爬山一样。借三尺明月,衔两袖青龙,轻剑快马恣意,携侣江湖同游!红月当空,全球骤变。拥有力量,你就高高在上,应有尽有,没有力量,你就只能任人宰割。危机爆发,众种族林立,丧尸,异兽,鬼种,人类。九转山河,浩瀚天下,试问天下,谁与争锋!起步比别人晚的颜逸能否追赶众人的脚步,在末日之中杀出一条属于自己的路。一直开挂是很爽,但爽过头就腻歪了,这种就像是男女之间的那点破事,偶尔爽爽就可以了,一直爽下去,那是不可能的! 所以呀!身为一本书里的主角,你没有一个跌宕起伏的人生经历,又怎么能让翻书人的心情一直爽下去呢? 那要怎么弄才能平衡呢?嗯。。。想到了,那就让主角半数时间都‘残血’吧。 某社畜穿越武侠世界,重生成为少年时代的林平之,觉醒签到系统。 只要在特殊场景中进行签到,就能得到逆天奖励! 青城派围攻福威镖局的场景中——“是否进行超级签到?” “是!” “签到成功!恭喜获得昆仑三圣何足道之绝学《迅雷剑法》!” 凭借着系统金手指,他打破命运,成功改变原来的悲惨人生。 从此,美人入怀,仗剑而行,探寻武道之巅,只为逍遥九天! 世间,是否只是黑与白 任何不被认可的,难道就都是“暗” 若世间不去探求真理,那便让真理,来诠释这乱世
遥远的天空之镜 离婚后,我捧红了文娱天后 觅路行 玄气传 塞罕坝:开局就是王炸 破片纪元 初始之子 平子寻道 一只鬼眼里的世界 风生水起之童多宝 放牛之世 重构代码世界 东荒纪元 专生避免成为主角的我 诡异入侵:我在人间镇压邪神 坏了,我真的穿越了! 繁华的守护者 万族之帝 异界开启的修仙路 都市:万界贩卖机 旧版头像 缺爱头像 魔性大头像 敲键盘头像 会考对头像 科幻群头像 魔性大头像 比心的头像 跑车女头像 最酷头像女 头像带斌 头像带斌 绊爱头像 缺爱头像 时尚头像女 敲键盘头像 书头像图片 旧版头像 红衣头像女 帅炸的头像 缺爱头像 帅炸的头像 红衣头像女 悲伤得头像 碧瑶的头像 绊爱头像 旧版头像 红衣头像女 红衣头像女 跑车女头像 敲键盘头像 默的男头像 头像老虎 时尚头像女 狂人头像 透明色头像 头像老虎 魔性大头像 狂人头像 头像妖艳男 透明色头像 比心的头像 素衣头像 书头像图片 温总头像 默的男头像 头像带斌 透明色头像 绊爱头像 鹰酱头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 夸赞系统就能变强 远古尸毒 救命我活在两条时间上 后室 网游之剑灭诸神 AG真人 欧博官网 亚星游戏官网 AG真人 百家乐官网 头像拿牌 魔性大头像 鹰酱头像 温总头像 科幻群头像 手游头像女 魔性大头像 缺爱头像 温总头像 红衣头像女 缺爱头像 最酷头像女 姓氏头像易 最酷头像女 头像妖艳男 定义头像 跑车女头像 狂人头像 科幻群头像 书头像图片 悲伤得头像 头像带斌 狂人头像 清老头头像 头像带斌 帅炸的头像 姓氏头像易 会考对头像 时尚头像女 旧版头像