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"
国家打国家的游戏下载关于校园服装店的游戏大全光头强钓鱼百分游戏光头强弓箭游戏单机版光之老爹下载游戏手机版游戏下载国家打国家的游戏下载跟明星恋爱的游戏有哪些光头强钓鱼百分游戏官居几品游戏免费公主下午茶会游戏鬼的捉迷藏游戏结局什么意思光头强钓鱼百分游戏跟考驾照有关游戏下载鬼的捉迷藏游戏结局什么意思光头强弓箭游戏公主下午茶会游戏关于醉汉的游戏鬼的游戏怎么玩鬼的游戏怎么玩光头强炸熊小游戏视频光盘300小游戏鬼的游戏怎么玩官居几品游戏免费光头强游戏钓鱼二光之老爹下载游戏手机版游戏大全光头强砍树游戏有没有光之老爹下载游戏手机版游戏大全光头强游戏钓鱼二光头强炸熊小游戏视频跟考驾照有关游戏下载万古乾坤,岁月滔滔,历史长河,独战群枭。 他是冰荒之子,被冰封万年之后,遗落在一个下星位的大陆上。 本想过着无忧无虑的生活,可天不遂人愿,终究是觉醒了记忆。 为报灭族之仇,终究走上了修炼的强者路 一身傲骨誓天地,心跳不停怎能屈! 新手上路,还请多多照顾^_^o~ 努力!^_^o~ 努力!^_^o~ 努力!^_^o~ 努力! 作为上清派第243代单传茅山道士,师傅临终前将门派大典传授给我 送葬途中风云突变,恍惚间居然被传送到一个陌生的元素复苏的西幻魔法世界 什么?门派大典也随我穿越异界?小怪遍地有?专业对口修炼事半功倍?魔法世界还有女巫? 临兵斗者皆阵列在前,喂喂,这可是正二品英魂,不是什么黑魔法亡灵术 救命,我不想探索这世界的奇奇怪怪,我只想好好修道喂!最近怎么开始听emo歌单了啊?别难过,我分骨头??给你啊!我的字典里希望你能开心 ——爱你的狗狗??笨蛋狗狗只要被人摸一下头就开始喜欢人类。重回90,多了老婆家庭,谭明阳烧冷灶,做布局。本想静待风起,乘着连母猪都能够起飞的时代巨浪打造属于自己的商业版图。   但现实却让谭明阳遭遇当头棒喝。   他不得不挺起了脊梁骨,以超越时代四十年的眼光跟阅历,用行动搅翻这个时代。   不装了,这时代,老子就是风口。岚枫死后穿越修仙世界,发现金手指系统竟会吃修为。星野辉本身是一个平常的中国籍日本高中生,却莫名转学到了中国,与谜一样的可爱妹妹独自生活在Z市,自己身体里也藏有谜一样的事物,面对突如其来的灾难,他站出来为了人类的未来,为了这个宇宙的安宁,星野辉开启了他的无限深空之旅王晓与王明意外下触发了传承血脉洗淬一瞬突破,又在种种机缘之下得到了父母的信息,踏上仙踏,为亲人报仇。 来自数百年后的特种兵王,穿越成为和自己名字同音的晚明皇帝天启身上。 狙建奴,收日韩,木匠皇帝?不,工匠皇帝!大国工业自明而始! 铁血皇明,平推世界!此书讲的一个故事是以一位少年由凡人修道入屠的故事。。  红色玛瑙似的石头、会唱歌的古木、夜半时分龙的低沉的吼叫、以及阴森的密林中的鬼怪……以及他,瘦弱的读书之人,却为何要爱上了一位美艳多情的少女,非常不幸地使自己卷进了万劫不复的纷争之中……   风高月黑之夜,他来了,沉重似铁的脚步声一度使石头颤抖,天上的月轮见了也不得不向他点头哈腰。他是真正的强盗,雄伟的身躯,过人的胆魄,尚且还有狡猾的头脑。杀人无数的他略显苍老,却并没有忘记儿女情长,风花雪月的日子使人不变老。他是少女的梦,少女还有另外一个梦,便是那读书人的眼眸,那是何等清澈的泉水般的眸子啊。狭路相逢,一头是那读书人,一头是强盗低沉的怒吼,刀抽出来了,上面残留着映着月轮的寒冷的血…… 这便是玄域之地,离奇可怕之事所在多有,天空一度呈现不祥之色,红色的雨飘洒在苍老的大地如雪花飞舞…… 人们纷纷逃离,而那位读书人却不能,因为他得保护着那位少女……      最后,读书人发现少女竟然…
我的玄幻模拟器 第二十三号病床 质子之危 不朽大王 中山策 人族天道 寄心生梦 末世俏佳人 重生:回到老婆死亡那一天 开局随机选择仙门 轮回相杀 魔荡天涯 苍天龙猫 大唐:神级熊孩子 六子传奇 梦中的我不同凡响 黎明万相 鬼故事小说合集 危诡游戏 行于天灾间,我能做什么 关于小象的儿童游戏 鬼的捉迷藏游戏结局什么意思 跟秘密潜入很像的游戏 光头强弓箭游戏单机版 关于小象的儿童游戏 关于熊的飞行游戏 跟明星恋爱的游戏有哪些 公主童年小游戏免费下载 关于校园服装店的游戏大全 公主下午茶会游戏 关于做饭的有什么游戏视频教程 关于醉汉的游戏 光头强样子弹飞小游戏 鬼的捉迷藏游戏结局什么意思 光头强炸熊小游戏视频 光头强弓箭游戏单机版 跟明星恋爱的游戏有哪些 关于校园服装店的游戏大全 官居几品游戏免费 国际 游戏 鬼的捉迷藏游戏结局什么意思 国家打国家的游戏下载 光盘300小游戏 光之老爹下载游戏手机版游戏下载 公主童年小游戏 光头强样子弹飞小游戏 关于校园服装店的游戏大全 光盘300小游戏 官居几品游戏免费 关于校园服装店的游戏大全 光头强弓箭游戏单机版 鬼的捉迷藏游戏结局什么意思 光头强钓鱼百分游戏 光头强炸熊小游戏视频 光头强砍树游戏有没有 光头强弓箭游戏单机版 光头强钓鱼百分游戏 跟秘密潜入很像的游戏 光头强样子弹飞小游戏 国家打国家的游戏下载 光头强弓箭游戏 公主下午茶会游戏 国际 游戏 关于做饭的有什么游戏视频教程 鬼的捉迷藏游戏结局什么意思 公主童年小游戏免费下载 关于做头发的小游戏 光之老爹下载游戏手机版游戏大全 光头强游戏有多大 跟明星恋爱的游戏有哪些 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 几个天下 血之魅影之天下之盟 麟溪传 携宗门逃亡 全球出品人 亚星官网 欧博游戏官网 欧博官网 亚星官网 AG真人 光头强砍树游戏有没有 鬼的游戏怎么玩 关于醉汉的游戏 关于做头发的小游戏 关于做饭的有什么游戏视频教程 公主童年小游戏免费下载 光头强炸熊小游戏视频 光头强弓箭游戏 公主下午茶会游戏 跟军舰有关小游戏 公主下午茶会游戏 关于熊的飞行游戏 公主小说换装游戏 跟秘密潜入很像的游戏 关于校园服装店的游戏大全 鬼的捉迷藏游戏结局什么意思 光之老爹下载游戏手机版游戏大全 关于做饭的有什么游戏视频教程 光头强游戏钓鱼二 光头强炸熊小游戏视频 光头强游戏有多大 官居几品游戏免费 公主童年小游戏 跟军舰有关小游戏 光头强炸熊小游戏视频 关于校园服装店的游戏大全 光盘300小游戏 光头强弓箭游戏单机版 关于小象的儿童游戏 光头强砍树游戏有没有