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"
李思雯电影黑猫3电影国语陶虹的电影申军谊的电影黑色25在线观看贺龙之死电影李思雯电影美国电影格斗之王陶虹的电影至尊特警电影电影异种2不我没有女朋友微电影陶虹的电影2013墨尔本国际电影节不我没有女朋友微电影追剿魔头电影在线观看电影异种2中央电影频道6去哪下高清电影贺龙之死电影日本刀 电影罗志祥演电影去哪下高清电影至尊特警电影韩国坏电影大熊猫 电影坏电影完整版大熊猫 电影坏电影剧情日本刀 电影2013墨尔本电影节维黑暗的墓穴中总有什么盯着你,古画图上隐藏着财富,地位,还是名誉,大佬汇聚一堂,风云再起,何人能探寻终极的秘密?现代都市和平生活并未持续多久。当平行的世界被人们挖掘到信息,位面重叠,世界重启。这里变成了修行者的世界。无尽的尸海,广阔的荒漠,万族林立,百家争霸,无情的杀戮将一切虚幻斩断,而何处才是人类栖息之地?朝阳之下,尽数向阳; 岐山,坐落在藏山中,鲜为人知的地界; 人迹罕至、毒瘴环生,望眼去尽数被山林遮挡,便是全貌; 蜿蜒的山脊许是蛰伏经年猛兽。 一纸“红”卷,牵引着少年入世,将会是此间动荡的征兆!妖吞三千界,帝陨傲世间。为她凡尘一坐三千载,起身回首凡尘,往长生。苍天啊,明明是穿越,你为啥还要买一送一。 刚得知自己兄长也是穿越者的孙国瑞不由得闭上了眼睛,算了,还是装傻当个闲散王爷吧。本是个混吃纨绔,装的 爷爷是盖世剑神,真的 父亲乃镇国将军,真的 哪我纨绔一点没问题吧?别逗还未被理解的,叫玄学,被理解了,就叫科学。欢迎来到理科生的玄幻世界。一个少年得到仙笔的故事 父母神秘失踪,只留下四样东西: 1封信、1万块钱、1枚扳指,1瓶老酒。 “小烨:18岁前,不许喝酒,不许找我们。” 今晚过后,苏烨就满18岁了。 喝不喝那瓶酒呢? 喝了之后将会发生什么? 这是苏烨面临的两个问题!
十方世界,我为地仙之祖 抗战之开局让少帅下跪 文明始神 全职体验系统 通灵转校生 绝!颜 青春之我 医武风流 深夜的摊主 一念山河烬 星辰破千里 天梦神阁图书馆 我真的很低调 天下平安 恐怖复苏:我以肉身横推诸天! 封神之我在商纣当昏君 私家侦探之遗产 魔法作道 孽 场 机甲征途 安悦溪电影全集 电影鸭王介绍 中央电影频道6 贺龙之死电影 黑猫3电影国语 坏电影剧情 中央电影频道6 唐振刚的同性电影 坏电影完整版 2013墨尔本国际电影节 空中小姐微电影演员表 空中小姐微电影演员表 坏东西 电影 电影鸭王介绍 李思雯电影 贺龙之死电影 黑猫电影剧情 安悦溪电影全集 罗志祥电影大全 陶虹的电影 电影鸭王介绍 陶虹的电影 罗志祥电影大全 去哪下高清电影 电影异种2 坏东西 电影 安悦溪电影全集 罗志祥电影大全 罗志祥电影大全 坏电影完整版 贺龙之死电影 唐振刚拍的电影 申军谊的电影黑色25在线观看 李思雯电影 韩国坏电影 大熊猫 电影 申军谊的电影黑色25在线观看 中央电影频道6 韩国坏电影 追剿魔头电影在线观看 大熊猫 电影 唐振刚的同性电影 日本刀 电影 黑猫电影剧情 不我没有女朋友微电影 唐振刚拍的电影 空中小姐微电影演员表 大熊猫 电影 坏东西 电影 电影你在天堂里遇见的五个人 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 全民御兽:我无限修改血脉 神镜:从出生开始签到 掌运执尘 血行歌 都成圣主了,让我回地球? 欧博游戏官网 皇冠登3出租 亚星管理平台 欧博游戏官网 亚星管理平台 坏电影剧情 中央电影频道6 追剿魔头电影在线观看 安悦溪电影全集 电影鸭王介绍 电影异种2 贺龙之死电影 电影你在天堂里遇见的五个人 唐振刚的同性电影 罗志祥电影大全 韩国坏电影 不我没有女朋友微电影 2013墨尔本电影节 坏电影剧情 电影鸭王介绍 风暴电影 快播 不我没有女朋友微电影 去哪下高清电影 黑猫3电影国语 黑猫3电影国语 电影鸭王介绍 电影鸭王介绍 贺龙之死电影 去哪下高清电影 电影异种2 2013墨尔本电影节 空中小姐微电影演员表 日本刀 电影 大熊猫 电影 坏电影完整版