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"
郎义牛逼塔吊司机的歌词我希望王晓天歌词伤心的城市冷漠歌词把自己埋葬歌词天堂唐朝歌词完整版郎义牛逼塔吊司机的歌词追逐的感动歌词伤心的城市冷漠歌词方大厨歌词 有原谅我 原谅我的歌词等不到你的未来歌词郎义牛逼塔吊司机的歌词粉丝的歌词等不到你的未来歌词伤心的城市冷漠歌词 有原谅我 原谅我的歌词十年后的自己 歌词离开地球表面五月天lcr歌词离开地球表面五月天lcr歌词遇上你是我的缘歌词简谱回声 儿歌 歌词铠甲勇士 拿瓦歌词许飞的励志歌词混呼伦贝尔大草原歌词天堂唐朝歌词完整版歌词往事难回首把自己埋葬歌词你是那一种辉子歌词don t blame me 歌词粉丝的歌词谁说人无出头日? 隐忍数年的林知命霸道崛起,纵横都市,将所有曾经看不起他的人踩在脚下! 势利丈母娘?给我闭嘴! 豪门公子哥?给我跪下! 强大武术家?给我爬开! 女神级老婆?来,亲一个! 霸道是他的处事风格,不服就干是他的行为准则。 且看一代霸婿,如何上演逆袭后的彪悍人生! (请关注老施抖音号:1299243741,或者抖音搜17K老施) 天道之下的人,在追求着天道。只是,天道又是什么?人在追求什么?重生,生命体进化,文明等级进化,科幻探索冒险玄天大陆,武道为尊!强者可以脚踏虚空遨游太虚,举手之间可破碎山河。 废物少年叶宁意外觉醒前世大帝记忆,获得天地至宝蕴神莲!从此握手青锋,败天下无数天骄! 前世的仇,今世的恨,他叶宁一一会报。传说宇宙诞生之时,便出现了宇宙第一个种族,龙族。而龙族首领在修炼数万年之后,终于成为宇宙第一神明,龙神。宇宙中第一个神界龙之界出现了。就在这时,异变发生,神界遭受灭顶之灾,龙神消失,又过了数千万年,人族出现,万年之后龙族再现,神秘灾难出现,龙神回归···他武艺高强,使彪悍的警花为之倾倒。他医术绝代,让妩媚多情的女院长投怀送抱。他书画无双,令娇俏柔弱的校花朝思暮想。他是一个获得大儒传承的普通学生—— 民国时期,我是拉洋车的,牛A的黑狗子探长刘麻子想强睡我的媳妇,被我制止。他带着大批的黑狗子对我用刑把我整死。阴间,我遇见大诗仙,向他诉说冤情,然后到冤魂村走一趟,才知道比我冤的人太多了。之后他把我变成了文化人,然后又把我穿越到了人间南粤市,让我抑恶扬善努力去做正能量的牛A人。此时的南粤市已是八十年代末期,我从打工做起,经历了开放大潮,凭着自己的能力为公司做出了很大的贡献,同时也收获了爱情。几年后,到处都在办报纸,我凭着自己的文笔混进报社当上了记者,通过采访工作,结识很多企业老板,在一次采访中,意外发现我生前认识的那个黑狗子探长刘麻子也被穿越到了这座城市,而且是下海经商混成了道貌岸然的董事长,被认为是红极一时的牛A人物。我悄悄跟踪,在我女友的配合帮助下,发现了他的一系列违法犯罪活动和伤天害理的事情,在掌握了大量的证据后,我凭着一腔正气,成功举报最终将其绳之以法。我终于成了正能量的牛A人!为了赚钱,开始玩三国游戏,没想到玩着玩着,全服第一就抢到手了!天生绝品丹脉却一夜散尽,从家族明珠一朝变成弃子,成为一名小小的种药工,依旧无法置身事外。 遂跃于凡尘,种药炼神丹,炼体为炉鼎,活脱脱将自己炼成了绝世的神丹。 杨家傅一个十七岁的高中生,在暑假里,母亲驾着车带着他,要去很远的海边去看日升。可就在这个时候,对方喝了酒后开的车,与他们的汽车相撞了......
即将赴港上市,我重生了 成为魔皇之后 重生奶爸:我打造娱乐帝国 情愫尸缘 霸血龙神 灵灯师 剑仙养成录 这所高中有古怪 校园?社会! 欺世魔术 沉默的甲子 一位HR的穿越之旅 重生全能系统天之骄子 佛之手 仙即是魔 仙劫:青冥春秋 深渊山海 我的修行空间 中都魔案 缘梦尽 三个和尚 甘萍 歌词 马谡歌词 十年后的自己 歌词 离开地球表面五月天lcr歌词 三个和尚 甘萍 歌词 歌词里面有小太阳 歌词你还在我的心上含 歌词 做兄弟 一生一世 歌词往事难回首 粉丝的歌词 许飞的励志歌词 许飞的励志歌词 混呼伦贝尔大草原歌词  有原谅我 原谅我的歌词 歌词爱也淡了也淡了 天堂唐朝歌词完整版 歌词你还在我的心上含 歌词往事难回首 回声 儿歌 歌词 郎义牛逼塔吊司机的歌词 马谡歌词 伤心的城市冷漠歌词 我希望王晓天歌词 铠甲勇士 拿瓦歌词 歌词 做兄弟 一生一世 混呼伦贝尔大草原歌词 歌词往事难回首 我希望王晓天歌词 回声 儿歌 歌词 歌词往事难回首 离开地球表面五月天lcr歌词 马谡歌词 把自己埋葬歌词 郎义牛逼塔吊司机的歌词 混呼伦贝尔大草原歌词 天堂唐朝歌词完整版 佛说歌词乐谱 歌词你还在我的心上含 混呼伦贝尔大草原歌词 佛说歌词乐谱 天堂唐朝歌词完整版 我最爱的歌词什么歌 遇上你是我的缘歌词简谱 j金志文妹子歌词 铠甲勇士 拿瓦歌词 马谡歌词 许飞的励志歌词 把自己埋葬歌词 don t blame me 歌词 追逐的感动歌词 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 80后的年轻人 侦察班 人 帝 南海归龙续集之天涯孤旅 霓裳剑劫 亚星管理平台 葡京官网 AG真人 亚星管理平台 万利官网 混呼伦贝尔大草原歌词 don t blame me 歌词 歌词里面有小太阳 天堂唐朝歌词完整版  有原谅我 原谅我的歌词 回声 儿歌 歌词 你是那一种辉子歌词 十年后的自己 歌词 三个和尚 甘萍 歌词 粉丝的歌词 don t blame me 歌词 许飞的励志歌词 天堂唐朝歌词完整版 天堂唐朝歌词完整版 我希望王晓天歌词 三个和尚 甘萍 歌词 j金志文妹子歌词 don t blame me 歌词 歌词往事难回首 把自己埋葬歌词 郎义牛逼塔吊司机的歌词 方大厨歌词 你是那一种辉子歌词 铠甲勇士 拿瓦歌词 我希望王晓天歌词 把自己埋葬歌词 方大厨歌词 许飞的励志歌词 天堂唐朝歌词完整版 混呼伦贝尔大草原歌词