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"
street food 英语作文用英语介绍自己的朋友六年级作文电视危害作文我的业余爱好八年级英语作文高考英语作文网购street food 英语作文走进社区作文600字电视危害作文江畔独步寻花改写作文400字2014内蒙古高考民汉考作文感人作文结尾电视危害作文作文:美丽的进贤感人作文结尾电视危害作文mynewschool作文英语作文介绍城市不朽满分作文高考英语作文网购走进社区作文600字不朽满分作文6年级上册期末考试作文school rules 作文2016小升初作文写给妈妈的一封信On halloween作文mynewschool作文江畔独步寻花改写作文400字2016小升初作文写给妈妈的一封信回首2014年什么真什么作文眼见不一定为实作文600这个世界四方各有一处释放真气之地,分别被四族占领,万年前四族大战,人族最终获胜,将三族真气封印,后又建龙脉于中原,吸收四族真气,使其他三族永无翻身之日。万年后,人族中各个帮派、教门林立,世界各处更是异象频现。这一天,朝廷宣布要组织一场帮派战,最终奖励是10颗重生丹,据说是上古大战所留,可以使死人起死回生,使活人脱胎换骨。江湖上各个帮派、教门摩拳擦掌,跃跃欲试。与此同时,江湖上一个新的帮派“天下第一帮”已经悄然崛起。这到底是一场机遇还是一个阴谋?许天扬。男。 未婚。职业:厨师,,。多愁善感,帅,只因女友丁羚一句话,所以他爱穿西装,甚至厨师的白大挂都想做成西装款。 在都市刻苦学艺,并因为从小练就了一身好功夫,在社会上结识了几位生死挚友并一起打拼出属于他们自己的一片天地。 此身合该诗人未?细雨骑驴入剑门! 张霆玉意外穿越修仙世界,怎堪碌碌一生,做个凡人? 入剑门,得传承,竟成剑门老祖,忽悠他人就变强。 谁言仙路崎岖,长生漫漫? 修仙原来这么简单!异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。什么是生活?生下来,活下去。很简单,也很难。这个世界,到底有没有仙?一场意外,让林宇发现了这个世界的冰山一角,是踏上探求真相的路还是忘掉一切,当一个路人?林宇沉思着......(初中生创作,写的不好请见谅,不过要先看看哟) 我们是生活在一个多维的空间,现在所处的三维空间只是其中很小的一部分,其他空间到底隐藏着什么奥秘需要我们不断地探索。现代人的大脑开发只有10%,就连爱因斯坦的大脑使用率也只有15%。而古时人类大脑使用率是100%。有些事情不是你解释不了就认为不存在,那是因为你的大脑使用率太低了。特异功能的修炼过程也是在逐渐提高人类的大脑使用率的过程,当你的能力达到一定水平之后很多问题将迎刃而解。简介:末世降临,一个出生于偏僻山村的普通草根小人物开启开挂人生,逆风成长,最终蜕变为人类守护者的故事。男主为罪犯,躲避警察抓捕,及挑衅警察底线,后面改邪归正帮助警察逐步抓捕罪犯,可是最后他们才发现,黑暗社会早已遍布全球,无处不在了,但他们并没有放弃,开始了新一轮打击罪犯古语有云:小隐隐于野,大隐隐于市。身负家族绝学的少年郑朝安,在自己不断进步的过程中,与天下各路高手交流,以自己的眼睛,发现隐藏于世间的高手。武者、修士、匠师、剑修、魔法师、猎魔人·······全天下一直在隐藏着的高手,究竟有多少?
全班吊车尾,你告诉我毕业上清北? 重生:开局就无敌了 诸天万界:我的挂开大了 传奇天门决 鸿蒙鉴者 魔法修行与魔法学院 老子就是反派! 逆生死破九天 神下斩龙坡 九灵圣神 从学园开始当主神 逍遥小家丁 大唐之混世小魔王 阳间借命人 上仙武乘风 千凡的都市重生 天眼下 有妖越界 温岭灵异事件 星球穿越:我掌控万物进度 百度小学四年级作文我见义勇为 mynewschool作文 初中城乡清洁工程小卫士作文600字 高考英语作文网购 用英语介绍自己的朋友六年级作文 有关本领的作文 初中城乡清洁工程小卫士作文600字 2016小升初作文写给妈妈的一封信 影视片中的场面描写作文 作文:美丽的进贤 2014年1月25雅思作文 2014年1月25雅思作文 世界杯 日语作文 mynewschool作文 street food 英语作文 school rules 作文 小作文寒假趣事 百度小学四年级作文我见义勇为 6年级上册期末考试作文 电视危害作文 mynewschool作文 电视危害作文 6年级上册期末考试作文 不朽满分作文 2014内蒙古高考民汉考作文 六年级看漫画编故事作文350字 百度小学四年级作文我见义勇为 6年级上册期末考试作文 6年级上册期末考试作文 影视片中的场面描写作文 高考英语作文网购 职高高考作文范文 我的业余爱好八年级英语作文 street food 英语作文 世界杯 日语作文 school rules 作文 我的业余爱好八年级英语作文 初中城乡清洁工程小卫士作文600字 世界杯 日语作文 投入学习作文 school rules 作文 2016小升初作文写给妈妈的一封信 眼见不一定为实作文600 小作文寒假趣事 感人作文结尾 职高高考作文范文 2014年1月25雅思作文 school rules 作文 六年级看漫画编故事作文350字 英语作文介绍城市 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 风生水起之童多宝 秋与秋月 噩梦教室 太阳系的秘密档案 重生我再也不会啃老了 百度 百度 百度 百度 百度 street food 英语作文 2016小升初作文写给妈妈的一封信 2014年1月25雅思作文 职高高考作文范文 影视片中的场面描写作文 英语作文介绍城市 mynewschool作文 电视危害作文 有关本领的作文 世界杯 日语作文 用英语介绍自己的朋友六年级作文 百度小学四年级作文我见义勇为 江畔独步寻花改写作文400字 家的一角作文300字 school rules 作文 英语作文介绍城市 6年级上册期末考试作文 2016小升初作文写给妈妈的一封信 小作文寒假趣事 职高高考作文范文 百度小学四年级作文我见义勇为 走进社区作文600字 street food 英语作文 street food 英语作文 小作文寒假趣事 小作文寒假趣事 回首2014年什么真什么作文 用英语介绍自己的朋友六年级作文 2014年1月25雅思作文 家的一角作文300字 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网