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"
开玩笑歌词李宇春的歌词拉着你的手什么什么什么想要和你一起到白头哪首歌里的歌词如果你爱我就不要离开我 不相信你是我的过客 如果寂寞初相见歌词you don't know what to do歌词开玩笑歌词looking for you justin bieber中文歌词歌词如果你爱我就不要离开我 不相信你是我的过客 如果寂寞feel like the whole world 歌词i'll be there 歌词when you told me you love me歌词开玩笑歌词justin bieber heartbreaker歌词when you told me you love me歌词歌词如果你爱我就不要离开我 不相信你是我的过客 如果寂寞i'll be there 歌词不想让你难过 最艰难的坎坷我们曾一起走过 是哪首歌的歌词you don't know what to do歌词you don't know what to do歌词somewhere only we know 中文歌词michael jackson medley中文歌词恋恋歌词花儿的歌词一首韩国女声歌曲歌词里有love is foreverjack johnson - i got you中英文歌词吻歌词初相见歌词天人菊歌词somewhere only we know 中文歌词到天亮 转弯 我跌跌撞撞 死心 失望 会比较简单 歌词我是天的审判者,弹指间人间灰飞烟灭。我是天的审判者,这个世界由我来定义。我有及其强大的实力,有过人的气运。我的一生是孤独的,也是精彩的。我用一生来寻求变强的理由,在我付出千辛万苦的努力下,最终找到了答案,原来变强没有理由。陈寻怎么也想不到,自己机缘巧合参加的一次相亲经历,竟然就此翻转了他的整个人生。 修罗仙帝惨遭亲友背叛,含恨陨落,数千万年后,一个少年上山采药,无意中收获神秘小塔......一个男孩,深陷漩涡,但敢将他人托起 一个女孩,苦苦挣扎,却不再迷茫纠结 一款可以监视任何人的APP,究竟会将他们指向何方山海经·山经中记载,“翼望之山,有兽焉,其状如狸,一目而三尾,其音如夺百声,是可以御凶,服之已瘅”。 又有记载,“基山,有兽焉,其状如羊,九尾四耳,其目在背,佩之不畏。” 话说,妖兽的事,怎么能按套路出牌呢?月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!新征程,新旅途。抛却世间缈雾,着光阴今果。 世外之间,人世间中,黑塔醒然入眼。或是历史,淘尽多少世事。时间已然成为了尺度,日复一日的丈量。一股庄严并着沧桑由然而出。日起月落,星斗云隐,光入塔,勾勒出曼妙的影。此刻,人类彷徨 法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。回到古代,成为一个小小的家丁,楚尘开始了自己的逆袭之路。 啥?被人当做童养夫,媳妇还不待见? 无妨,无妨,第一才女还在痴心等候呢,要不然考虑给一次机会? 啊?番国国师还要来登门辩经? 不怕,不怕,丢给一本《西游记》让他参悟,没准就能白日飞升了。 咦?燕国女帝又来密信要讨论人生哲理? 何必,何必,陛下要不我们还是躺下聊吧。 一剑转身三千里,一言可退百万师。 哥虽然不在江湖,但江湖上处处都有哥的传说。 我楚尘来了,就注定要名震天下!一群偶然相遇的20多岁的年轻人,一路西行,寻找自我和探寻未知的旅程。
我在80年代当村长 跨界神石 卡牌大陆我的幸运值是满的 穿越清末,我有一点点强 真我传之尘间旧事 带着手机去万界 看事 原谅我堕落 宋朝男儿能戴花 无情之驭 原来我是万界之王 枭主:大元黑公子 杀机汹涌 即将赴港上市,我重生了 元宇宙杀阵 送货小子的逆袭之路 异世:开局吞噬系统 起始黎明 Cicada young 万物源流 when you told me you love me歌词 吻歌词 内心戏歌词 feel like the whole world 歌词 恋恋歌词 i'll be there 歌词 开玩笑歌词 天人菊歌词 含笑歌词 一首韩国女声歌曲歌词里有love is forever 歌词在很久很久以前 歌词在很久很久以前 都是我的错歌词 吻歌词 looking for you justin bieber中文歌词 花儿的歌词 歌词如果你爱我就不要离开我 不相信你是我的过客 如果寂寞 when you told me you love me歌词 you don't know what to do歌词 不想让你难过 最艰难的坎坷我们曾一起走过 是哪首歌的歌词 分离歌词 不想让你难过 最艰难的坎坷我们曾一起走过 是哪首歌的歌词 you don't know what to do歌词 michael jackson medley中文歌词 医道歌词 rascal flatts unstoppable 歌词 when you told me you love me歌词 you don't know what to do歌词 jack johnson - i got you中英文歌词 when you told me you love me歌词 feel like the whole world 歌词 分离歌词 火恋歌词 looking for you justin bieber中文歌词 都是我的错歌词 花儿的歌词 火恋歌词 开玩笑歌词 都是我的错歌词 路痴歌词 花儿的歌词 天人菊歌词 justin bieber heartbreaker歌词 歌词如果你爱我就不要离开我 不相信你是我的过客 如果寂寞 李宇春的歌词拉着你的手什么什么什么想要和你一起到白头哪首歌里的 分离歌词 歌词在很久很久以前 花儿的歌词 rascal flatts unstoppable 歌词 looking for you justin bieber中文歌词 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星游戏官网 神武古帝 涅风剑影 重生之叶帝归来 斗数之主 猎神之帝 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 一首韩国女声歌曲歌词里有love is forever jack johnson - i got you中英文歌词 hey!say!jump - スギルセツナ罗马歌词 医道歌词 内心戏歌词 路痴歌词 花儿的歌词 火恋歌词 歌词如果你爱我就不要离开我 不相信你是我的过客 如果寂寞 somewhere only we know 中文歌词 歌词在很久很久以前 都是我的错歌词 justin bieber heartbreaker歌词 歌词在很久很久以前 医道歌词 rascal flatts unstoppable 歌词 不想让你难过 最艰难的坎坷我们曾一起走过 是哪首歌的歌词 开玩笑歌词 吻歌词 michael jackson medley中文歌词 初相见歌词 justin bieber heartbreaker歌词 不想让你难过 最艰难的坎坷我们曾一起走过 是哪首歌的歌词 到天亮 转弯 我跌跌撞撞 死心 失望 会比较简单 歌词 恋恋歌词 医道歌词 somewhere only we know 中文歌词 when you told me you love me歌词 含笑歌词 恋恋歌词