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"
鄂州信用贷款公司抵押贷款不限套数鄂州信用贷款柯二次抵押房子贷款利息东莞银行贷款规模鄂州信用贷款公司第二套房怎么贷款利息鄂州信用贷款柯点刷可以贷款的嘛典当贷款可以贷一天吗东莞浦东银行贷款鄂州信用贷款柯第二套房怎么贷款多大的保单可以贷款二次贷款后还能贷吗典当贷款可以贷一天吗第三次公积金贷款利息都有哪些免息贷款买车都有哪些免息贷款买车东莞小额贷款电话号码是多少抵押贷款 电话审核都有哪些免息贷款买车点刷可以贷款的嘛抵押贷款可以带多少年东莞银行贷款规模抵押贷款断贷二次助学贷款办理手续抵押贷款可以带多少年东莞小额贷款电话号码是多少第二套房怎么贷款这个世界文道为尊,文人掌文箓,修文气,开文宫。 九品开窍文箓,一目十行,身轻体健。 八品修身文箓,文字加身,如有神助。 七品仁者文箓…… “诗词歌赋,笔墨丹青,棋艺话本这些你都懂?” “略懂略懂。” “都懂一点也行。” “是亿点点……” 官居一品,权倾朝野? 封王拜相,永享荣华? 不不不,身怀国家图书馆全部资料的李长安,无奈接受了,世人把他名字刻进圣庙的事实。 昔日战神,回归山村,偶得仙医传承,本想娶个漂亮媳妇,过清静平稳的乡村生活。 奈何,实力它不允许啊! “勇哥!你怎么能这么厉害呢?”绝世美女问道。 沈勇:“我更想做一个傻子!”此本书将记录所有的童年游戏,希望带大家重新回到童年,回忆童年的欢声笑语。在有限的时间,带给读者无限的欢乐是作者的初心。希望每一位读者都因这本书而回忆起属于自己的童心。 穿越了,我是大孝子。 穿越东汉第一天,我拳打郡守老爹,脚踩七旬老太。 新婚媳妇要杀我,张八百要对我赶尽杀绝。 城内百姓恨不得将我生吞活剥,于是干脆聚众造反。 这还没完,城外更是有十万饿急眼的黄巾军扬言要冲进城来,砍下我昭昊的脑袋。 怎么办?在线等,很急! ...... 本书无系统,有外挂。 腹黑热血+爆爽,带读者老爷们体验不一样的三国。 喜欢本书的读者老爷们,快到碗里来吧!林叶,一个大专辍学肄业生,靠着父母留下的小卖部浑浑噩噩的过着日子,突然的英雄救美让他变成了活死人,谁知还激活了阴德系统! 姐,淹死的?我这差两点升级,让我给你一拳吧? 哥,你跳楼没的?没出息,让我踹一脚,加点阴德值! 我是金牌打鬼人,男人钱财,替人消灾,金字招牌! 我是真的打鬼人,真的打哦!陈阳穿越到了高武世界,获得了一个能查看人生剧本的系统! 这人生剧本,能预知人未来,查看命格,甚至连对方的最近机缘都一目了然! “绝世机遇!?不好意思,我先收为敬!” 三流的主角等机缘。 二流的主角找机缘! 而陈阳:机缘在哪,我就在哪! 一剑封神,一剑开天!古墓伴生,他们说我是天降灾星,终南山续命,我用十年时间成玄门魁首,而我的一生,却从那纸婚书开始……有一位少年穿着纯白色的短袖衫,披着灰色的运动服,穿着一双白色的运动鞋,黑色的头发,碧蓝色的眼瞳,耳朵戴着耳机.向着公路走去.突然间,一辆白色的小车向前驶过来,那车主的脚一啰嗦,不小心踩到加速挡,加速向前驶去,把那位少年撞飞.那位少年飞了十几米,倒在地上,脑浆流出来,嘴唇边的血一点点染红了公路.前世顶级杀手转生异界骷髅?! 诡异书页 ,神秘纹路,脑中突然出现的那是什么... 隐秘如一团团迷雾笼罩。 前所未有的异界大陆,阿尔伯特睁开了眼睛。 ”我的士兵,帮助你们的王铲除掉来犯的蝼蚁!” “你管眼前这个叫蝼蚁?!” 阿尔伯特的异界冒险,开始了!
我的捡漏生涯 幻想秘术录 天道五千年 一条咸鱼的救世之路 横推菊花皇朝 亡愿 再上昆仑 仙穹圣主 诡秘怪异的世界 剑道之太上 猎灵师传 林华的圣皇之路 千云落 天涯剑圣 回梦神话 变成龙族是什么体验 武林! 我什么时候可以心想事成啊 在归途 我想借鉴一下主角 抵押贷款电话审核技巧 第一套房如何贷款利率 第三次公积金贷款利息 东莞银行贷款规模 抵押贷款电话审核技巧 抵押贷款方式 抵押车怎么在银行贷款 抵押住宅房贷款利率 抵押贷款断贷 地震贷款怎么处理 点刷可以贷款的嘛 抵押存款可以贷款吗 东莞小额贷款电话 第一套房如何贷款利率 鄂州信用贷款公司 东莞银行贷款规模 抵押车怎么在银行贷款 抵押贷款断贷 抵押贷款 京东金融 鄂州信用贷款柯 第一套房如何贷款利率 二次贷款后还能贷吗 抵押贷款不限套数 多大的保单可以贷款 典当贷款可以贷一天吗 东莞小额贷款电话 抵押贷款断贷 抵押贷款不限套数 抵押贷款 京东金融 抵押贷款断贷 东莞银行贷款规模 东莞浦东银行贷款 二次抵押房子贷款利息 鄂州信用贷款公司 抵押贷款可以带多少年 东莞银行贷款规模 二次抵押房子贷款利息 第三次公积金贷款利息 东莞小额贷款电话 二次贷款后还能贷吗 二次助学贷款办理手续 地震贷款怎么处理 东莞小额贷款电话号码是多少钱 抵押车怎么在银行贷款 多大的保单可以贷款 第一套房如何贷款利率 抵押存款可以贷款吗 二次助学贷款办理手续 东莞小额贷款电话 第二套房怎么贷款利息 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 都市猎仙人 鼠乱诸天 极境1:孤命 不太正经的明日方舟 阴差救父 皇冠登3出租 亚星管理平台 澳门葡京官网 皇冠登3出租 亚星官网 抵押贷款断贷 抵押贷款 电话审核 鄂州信用贷款公司 东莞小额贷款电话 第三次公积金贷款利息 抵押贷款不限套数 二次抵押房子贷款利息 抵押存款可以贷款吗 鄂州信用贷款公司 第三次公积金贷款利息 第二套房怎么贷款利息 鄂州信用贷款柯 抵押贷款电话审核技巧 抵押车怎么在银行贷款 抵押存款可以贷款吗 第二套房怎么贷款利率 第二套房怎么贷款利息 点刷可以贷款的嘛 抵押贷款 京东金融 抵押贷款可以带多少年 多大的保单可以贷款 第二套房怎么贷款 二次抵押房子贷款利息 第一套房如何贷款利率 鄂州信用贷款公司 第二套房怎么贷款利息 都有哪些免息贷款买车 抵押贷款不限套数 抵押贷款不限套数 抵押车怎么在银行贷款