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"
佛山市顺德龙江镇圆通站点电话号码福州市中通快递收件电话佛山市杏坛镇中通快递电话号码涪城的快递网点电话福建泉州安溪圆通客服电话佛山市高明区韵达快递电话福建省浦城县顺丰快递电话佛山市杏坛镇中通快递电话号码福建莆田邮政电话佛山南海区优速快递电话佛山南海九江韵达快递电话佛山市顺德龙江镇圆通站点电话号码福泉市马场坪韵达快递电话佛山南海和顺中通快递电话佛山市杏坛镇中通快递电话号码佛山南海区优速快递电话阜蒙县申通电话福建泉州永春达埔顺丰快递电话福建泉州永春达埔顺丰快递电话佛山市禅城区顺风网店电话抚顺河东中通快递电话福建泉州永春达埔顺丰快递电话福建莆田邮政电话佛山南庄顺风快递电话福建泉州安溪圆通客服电话凤台县刘集乡ems电话涪城的快递网点电话佛山南庄顺风快递电话佛山申通下单电话福泉市马场坪韵达快递电话乾坤八卦,阴阳五行,魑魅魍魉,死尸僵尸,一切尽在三界当中。努力了十年,终于经济独立了,本以为可以彻底甩手享受生活,迟来的系统却逼着他去当个门主。 既然都当门主了,那更加不用那么拘束了,谁让这个宗门这么强呢,你说对吧? 杨耀穿越南宋,因不是天选之人,在系统反复纠缠之下,开启一条与大众穿越不一样的道路。他凭着多了千年的见识,阻止耶律大石西征,两人联手,混战金、宋,本是一帆风顺,系统把成吉思汗的智慧提前交给了他的父亲孛儿只斤·也速该,让世界闻之色变的蒙古铁骑提前出世,一时间,天下第一忠臣名将岳飞,灭国无数的铁木真。与杨幺风云际会,演绎着一场可歌可泣的大混战。本是个混吃纨绔,装的 爷爷是盖世剑神,真的 父亲乃镇国将军,真的 哪我纨绔一点没问题吧?别逗为什么想要变强,因为所在乎的人需要我去守护。无限流系统搞笑来袭,看我修神良秀翻四方,这位小友,你准备好小钱钱了吗 一夜之间,世界遭逢巨变,本是平民百姓的你,却意外拥有了罕见的异能...... 叶云天得到十殿阎罗之主的两大神通,左手一念寻因果定生死,右手袖里乾坤内含无数古宝。 登顶巅峰第一人,看我遨游这红尘世间......刘骁穿越到三国,获得无数能让人成仙的精魂。 原以为可以在三国活的逍遥自在,却发现居然很多人都有。 刘骁很淡定,因为他能吞噬精魂。 可是很快他就发现,自己竟然有统一三国的趋势。 诸葛亮的八卦阵变成战舰,司马懿能撒豆成兵。 庞统能呼风唤雨,鲁肃能点石成金,华佗长了一双透视眼。 最恐怖的是司马昭,竟然能听见别人的心声。 刘骁赶紧逢人便解释:“我真的没想统一三国啊!”万万没想到,走路也可以修练,躺着也能成为大佬。 人说:要做个有梦想的咸鱼,本想翻身,一不小心咸鱼粘锅。 哎呀!完犊子了…… 是命运的不公,还是英雄的凯歌! 两世轮回,繁华落尽! 待回首,灯火阑珊处却不见她。 传说中的手掌乾坤,脚踏星辰,御剑飞行的世界真的出现。 各种大佬,集聚一堂。 而苏洵,却身处漩涡之中。 谁是执棋之人,而谁又是棋子?穿越大唐,意外成为李靖的第三个儿子。 因刚穿越的他按照系统指示逃婚,两年后,对突厥用兵的李靖与李世民发现了他的踪迹......然后他们就懵了,这是什么?没见过吧土鳖,这叫华子,可好抽了,老李,你今有口福了,来吹瓶啤酒。
失踪的黄金墓穴 围城逃生:千年战争 领主:我的子民过于中二 灵仙江湖 我以气血入道 战婿狂医 佐传 破败之地 残缺的彼端 c 神话:开局被女帝上门求婚 再上昆仑 我在晚明替天行道 玄奇科三幻神 魂幕 酒神!神酒! 人间奇缘 这一球,是绝杀! 最美神话 神创节目:我用木棍搭出凌霄宝殿 WHO ARE YOU 抚顺河东中通快递电话号码 佛山南海区优速电话 阜蒙县申通电话 福建泉州永春达埔顺丰快递电话 抚顺河东中通快递电话号码 佛山南庄顺丰电话 福州远东丽景圆通快递电话 福建永春顺丰快递电话 凤台县刘集乡ems电话 福泉市马场坪韵达快递电话 福建莆田邮政电话 抚州市东乡区邮政快递电话 佛山申通快递电话下单 佛山南海区优速快递电话 佛山市高明区韵达快递电话 福建泉州安溪圆通客服电话 福州远东丽景圆通快递电话 凤台县刘集乡ems电话 抚顺河东中通快递电话 佛山市顺德龙江镇圆通站点电话号码 佛山南海区优速电话 佛山市杏坛镇中通快递电话号码 福州市中通快递收件电话 佛山南海和顺中通快递电话 佛山南海区优速快递电话 佛山申通快递电话下单 凤台县刘集乡ems电话 福州市中通快递收件电话 抚顺河东中通快递电话 凤台县刘集乡ems电话 福建泉州安溪圆通客服电话 佛山南海区优速电话 佛山顺德韵达客服电话 佛山市顺德龙江镇圆通站点电话号码 佛山南庄顺风快递电话 福建泉州安溪圆通客服电话 佛山顺德韵达客服电话 阜蒙县申通电话 佛山申通快递电话下单 佛山市杏坛镇中通快递电话号码 涪城的快递网点电话 抚顺新华附近中通电话 佛山市禅城区顺风网店电话 抚州市东乡区邮政快递电话 佛山南海和顺中通快递电话 佛山南海区优速电话 抚州市东乡区邮政快递电话 涪城的快递网点电话 佛山申通下单电话 福建省浦城县顺丰快递电话 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 重生之修炼奇才 万载第一神 焚天之前 我的世界灵力首部灵力大陆 不剑不散 百度 百度 百度 百度 百度 佛山市杏坛镇中通快递电话号码 福建省浦城县顺丰快递电话 凤台县刘集乡ems电话 佛山南庄顺风快递电话 佛山南庄顺丰电话 福州远东丽景圆通快递电话 福建泉州永春达埔顺丰快递电话 佛山南海区优速快递电话 抚州市东乡区邮政快递电话 福建莆田邮政电话号码 抚州市东乡区邮政快递电话 佛山市顺德龙江镇圆通站点电话号码 福建莆田邮政电话 福州市中通快递收件电话 福州市中通快递收件电话 福建省浦城县顺丰快递电话 抚顺新华附近中通电话 佛山南庄顺丰电话 涪城的快递网点电话 福建泉州永春达埔顺丰快递电话 福建泉州安溪圆通客服电话 佛山申通快递电话下单 阜蒙县申通电话 福建莆田邮政电话号码 佛山申通下单电话 佛山市高明区韵达快递电话 佛山申通下单电话 抚顺新华附近中通电话 佛山市禅城区顺风网店电话 佛山顺德韵达客服电话 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网