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"
堕胎针对宝宝危害发烧后宝宝拉稀怎么办吃什么药对一岁的宝宝发脾气怎么回事发烧了宝宝能吃母乳吗二岁半宝宝缺铁怎么办堕胎针对宝宝危害飞跃期的宝宝不睡觉吗对一岁的宝宝发脾气怎么回事地锦草宝宝可以吃吗二个月宝宝高烧反复二岁宝宝烫伤疤增生期对一岁的宝宝发脾气怎么回事二个月宝宝出汗吗二岁宝宝烫伤疤增生期多大的宝宝要戒夜奶二个月宝宝高烧反复风扇对着宝宝脸吹二岁宝宝睡多高的枕头二岁宝宝睡多高的枕头二岁半宝宝腿疼二个宝宝能做雾化吗二岁宝宝睡多高的枕头地锦草宝宝可以吃吗多大宝宝可以吃奶豆对着宝宝扇风她会呼气发烧冰宝宝贴多久一次对着宝宝扇风她会呼气多大宝宝可以吃奶豆二岁半宝宝腿疼二个月宝宝出汗吗我叫任弈帆,是个智力爆表的...... 好吧,我并不确定自己是不是人类。 有一天,我发现了这个世界的BUG,世界在我的眼中变得不再真实。 后来,我发现,有一群高维生命,在暗处死死控制着人类的一切。 他们将当下的人类,称之为第五代情感文明...... 第五个太阳纪即将结束,修罗病毒,战争,火山,洪水,饥荒,气候灾害席卷全球。 我,任弈帆,最终能否阻止末法时代降临? 为什么想要变强,因为所在乎的人需要我去守护。无限流系统搞笑来袭,看我修神良秀翻四方,这位小友,你准备好小钱钱了吗 如果每一位父母在有小孩之前学习怎么成为合格的家长,是否能在一定程度上避免这种悲剧。 五个貌美如花的师姐,一个个都不是省油的灯。嗜好、品味、性格,各异。可是,她们却拥有一个共同的爱好——宠弟狂魔。一道门,让本该死去的人重活于世,让一个本不属于这个世界的灵魂来到异界,两个抱有类似秘密的少年,机缘巧合走到一起,走江湖,闯朝堂,一路拨开层层迷雾,寻得前世今生的真相。这个人很懒什么也没有留下  弑荒年间,这是人族最为黑暗的年代,万族并立,人族最为弱小,不是为奴,便是成为其他种族的食物。   千源星   林叶所建立的灵槐门派刚登顶世界,剿灭恶人,却发现自己居然穿越了!   面对陌生的世界,原以为自己孤苦伶仃,却发现同样穿越过来的居然不止自己一个?云之始,始为开始,终以极,万物有始。【三国、轻松、系统】许多穿越到东汉末年,变身成为萌兽大熊猫。觉醒了飞升系统,只要收集百姓的信仰值就可以羽化登仙! 开局便被曹操捡到,封为护国瑞兽。 【嗨呀!我是护国瑞兽,万民敬仰不是梦,白日飞升指日可待啊!】 曹操:呵呵。 【曹老板这lsp,色字头上一把刀,明年一战,继承人死了,宿卫死了,宝马也死了,惨兮兮,啧。】 听到许多心声的曹操脸上笑嘻嘻,心里MMP:你这仙人,倒是教我解决之道啊! 啪! 醒木一拍,道的是江湖风风雨雨人情世故,道的是少年鲜衣怒马快意恩仇。 道的是将军醉卧沙场处之泰然,道的是侠客借酒消愁一情难断。 道的更是那听书人听到深处意犹未尽,却只能听见一句: “欲知后事如何,且听我下回分说!”
灵台神矢:我的兔女郎 黑客撞上黑道 我不是歌手 付振庭三进怀柔城 摩觉,下 禁足疫记 重生全能系统天之骄子 大颜讨顺传 昨日我是神 万界老婆召唤书 巨亿时代 特利迦Ultraman Trigger 杀机汹涌 玄色录之古色事记 闪耀瞬间 三国:大军师之龙腾虎跃 火影系统到异界 天庭的世家代言人 庆南吏 魔法师的世界没那么美好 二个月宝宝高烧 二个月宝宝奶量少了 风扇对着宝宝脸吹 二岁半宝宝缺铁怎么办 二个月宝宝高烧 二岁宝宝补什么钙 风扇对着宝宝脸吹 二个月宝宝的头型歪 发烧冰宝宝贴多久一次 二周岁1个月宝宝身高体重 二岁宝宝吃了就吐 二岁宝宝吃了就吐 豆腐煮饭给宝宝吃不 二个月宝宝奶量少了 堕胎针对宝宝危害 二岁半宝宝缺铁怎么办 二十二个月女宝宝尿血 发烧冰宝宝贴多久一次 二个月宝宝睡觉吃手 对一岁的宝宝发脾气怎么回事 二个月宝宝奶量少了 多大的宝宝要戒夜奶 二个月宝宝睡觉吃手 二岁宝宝烫伤疤增生期 二个月宝宝高烧反复 豆腐煮饭给宝宝吃不 二个月宝宝高烧 发烧后宝宝拉稀怎么办吃什么药 二个月宝宝睡觉吃手 发烧冰宝宝贴多久一次 二岁半宝宝缺铁怎么办 二岁半宝宝长几颗牙 发烧了宝宝能吃母乳吗 堕胎针对宝宝危害 多大宝宝可以吃奶豆 对着宝宝扇风她会呼气 发烧了宝宝能吃母乳吗 风扇对着宝宝脸吹 豆腐煮饭给宝宝吃不 多大的宝宝要戒夜奶 对着宝宝扇风她会呼气 二周岁1个月宝宝身高体重 二岁宝宝总是要抱着走 二十二个月女宝宝尿血 二岁宝宝烫伤疤增生期 二岁半宝宝长几颗牙 二岁宝宝吃了就吐 对着宝宝扇风她会呼气 豆腐煮饭给宝宝吃不 飞跃期的宝宝不睡觉吗 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 九龙狂婿 命中之纹 玄幻:我的女帝徒弟要黑化 乱世争雄之荆楚 我在末世里无限重启 欧博官网 亚星游戏官网 万利游戏官网 欧博官网 澳门葡京游戏官网 二个月宝宝睡觉吃手 多大的宝宝要戒夜奶 二个月宝宝奶量少了 二岁宝宝总是要抱着走 发烧后宝宝拉稀怎么办啊 二岁宝宝睡多高的枕头 堕胎针对宝宝危害 发烧后宝宝拉稀怎么办吃什么药 风扇对着宝宝脸吹 二十二个月女宝宝尿血 二周岁1个月宝宝身高体重 发烧后宝宝拉稀怎么办啊 二个月宝宝高烧反复 二个宝宝能做雾化吗 二岁宝宝补什么钙 二岁宝宝睡多高的枕头 二周岁1个月宝宝身高体重 多大的宝宝要戒夜奶 二岁半宝宝长几颗牙 二岁半宝宝腿疼 发烧后宝宝拉稀怎么办啊 二岁半宝宝缺铁怎么办 二个月宝宝睡觉吃手 二个月宝宝睡觉吃手 二岁半宝宝长几颗牙 二岁半宝宝长几颗牙 对着宝宝扇风她会呼气 二个月宝宝出汗吗 二个月宝宝奶量少了 地锦草宝宝可以吃吗