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"
高考作文论述性文章妇女节作文要怎么学高考作文万能名句感动心灵的一件事作文400字感谢生活作文英文版高考作文论述性文章高考语文作文得分2017高考作文万能名句感悟生命作文500字小草感受春天800字作文感谢老师作文开头引用高考作文论述性文章高考英语满分作文原文感谢老师作文开头引用高考作文万能名句感受春天800字作文感恩五年级作文500字以上感谢生活作文英文版感谢生活作文英文版高考作文辅导书哪本好父亲的爱650字作文感恩的心250字作文高二研学旅行的作文感恩母亲节的作文400高考作文蝴蝶范文感动的事情五年级作文感动心灵的一件事作文400字高考英语作文题目 图表高考作文辅导书哪本好父母对我的爱作文350本书描写了葛二两跟师父须菩提学了三十六般变化和高超的武功,携孙悟空、猪八戒、关羽关云长穿越到亘古洪荒的年代,帮助蚩尤和黄帝争夺天下的故事。南玄学院外院弟子刘天被人欺辱,意外激活须弥介质,12头掌管诸天万界的神兽化作他的玄灵.....从此逆天改命.....一个一个的离奇案件接踵而至。。 所有的真理只是还原案件的一个出发点, 如果你是一个审理着,你会怎么做? 带着你的好奇,你的想象力来跟我一起走进这场博弈的游戏 陈战寒行走江湖,灭恶贼,除败类。行侠一生。辅助岳飞对抗完颜氏一族,眼看在完颜氏一族赶出国土。无奈,奸臣当政,十块金牌召岳飞班师回招朝。陈战寒心灰意冷,唯有移居海外。身为网文爱好者的沐尘一直幻想着可以去到唐朝,实现自己的人身理想,一只有好家世混吃等死的咸鱼,终于在带上一只古董手镯后,沐尘实现了一半理想…与地球极为相像的平行世界—地星,各个国公司均爆发了生化危机。 无药可解的致命病毒席卷全球,末日降临,“感染者”横行无忌, 杨小海,父母双亡,一无所长,唯一可夸赞之处,便是资深宅男一枚。 赖床的一个早上,梦中巨响彻底改变了命运的轨迹。 别人对致命感染避之唯恐不及,他却混的如鱼得水; 出门打水捡个怪人后,他的世界彻底乱了……主人公赵阳在一个交通意外中,奋力去救人结果导致4条人命归西,被迫来到地府多元宇宙,原来多元宇宙分为现实宇宙,地府宇宙和意念理想宇宙,他需要经历风火雷电的考验,经历五行地狱、七情地狱,六欲地狱等诸多考验,最终追寻的竟然是真正的解脱……历史系单身狗秦墨穿越大乾,成了秦国公家的憨子世子。 本想斗鸡遛狗潇洒过一生,可大家都逼他! 秦国公:儿子,我求你,把公主娶了吧! 大乾皇帝:贤婿,你乃朕的福星,这大乾的驸马,你当也要当,不当也要当。 太子:我的好妹婿,没有你的扶持,大舅哥帝位不稳呐! 百官:秦憨子,我们跟你拼了! 异族:秦憨子乃我族最大之敌! 公主:秦憨子,你敢不要我,我就跟你拼命! 系外文明意外闯入太阳系,并开始建立新的家园,然而他们却发现地球上还有一个人类文明,两者能和平共处吗?它们又将碰撞出怎样的火花?战争还是谈判?共生还是共死?中央电视台中文国际频道长江行文字版。
南海归龙续集之天涯孤旅 我若成魔诛神灭佛 太古龙尊 野火一卷 神医胆子大,校花放产假 啥?末日来了? 执剑道天 行之千里 地囚:天降末日 这就是火之意志 大焱皇子 具象师 我在异界当倒爷 人在修仙:批量制造绝世天骄 灵神一世 长生十万年 乱时下的尽头 神纹天 正仁 大司机 父母对我的爱作文260字 感受春天800字作文 感恩五年级作文500字以上 感谢生活作文英文版 父母对我的爱作文260字 感谢这三年的陪伴作文 感谢你我的妈妈作文 感悟生命作文的评语 感动的事情五年级作文 高考英语满分作文原文 高二研学旅行的作文 高二研学旅行的作文 感恩母亲节的作文400 感受春天800字作文 高考作文论述性文章 高考作文蝴蝶范文 感恩的心父母作文200字 感动的事情五年级作文 妇女节作文要怎么学 高考作文论述性文章 感悟生命300字作文 高考作文万能名句 妇女节作文要怎么学 感恩的心250字作文 感悟生命作文的评语 高考满分作文青涩爱情 感动的事情五年级作文 妇女节作文要怎么学 父亲的爱650字作文 感动的事情五年级作文 感谢生活作文英文版 感悟生命300字作文 感动心灵的一件事作文400字 高考作文论述性文章 感恩母亲节的作文400 高考作文蝴蝶范文 高考作文行囊立意 感谢你我的妈妈作文 感恩母亲节的作文400 高考作文行囊立意 高考作文蝴蝶范文 高考放松压力英语作文 高考作文辅导书哪本好 感恩的心父母作文200字 感谢老师作文开头引用 感悟生命300字作文 高二研学旅行的作文 高考作文蝴蝶范文 高考满分作文青涩爱情 高考语文作文得分2017 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 权倾天下之山海经 世末存生 那年花开落满山 唯心之传 拯救灵魂之都 百家乐官网 澳门葡京官网 葡京官网 百家乐官网 万利游戏官网 感悟生命作文500字小草 父母对我的爱作文260字 高考满分作文《母亲》 父母对我的爱作文260字 父亲的爱650字作文 感谢这三年的陪伴作文 高考放松压力英语作文 高考语文作文得分2017 父母对我的爱作文350 高考满分作文青涩爱情 感动的事情五年级作文 高考满分作文青涩爱情 感恩的心250字作文 感谢老师作文开头引用 高考作文辅导书哪本好 感悟生命作文500字小草 感谢老师作文开头引用 感悟生命作文的评语 感悟生命作文的评语 感动心灵的一件事作文400字 高考作文论述性文章 父母对我的爱作文350 父母对我的爱作文260字 感谢这三年的陪伴作文 感动的事情五年级作文 感恩五年级作文500字以上 高考作文蝴蝶范文 感悟生命300字作文 感谢你我的妈妈作文 高二研学旅行的作文