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"
电视剧居委会诡探电视剧播放电视剧居委会电视剧绣狼电视剧异也恋大结局那年花开月正圆电视剧11集刘桂香电视剧电视剧娘心所有插曲电视剧大丈夫33集佟大为最好看的电视剧电视剧投资比电影电视剧居委会f4的电视剧结婚吧电视剧电视剧娘心所有插曲佟大为最好看的电视剧类似雪莲花电视剧电视剧月圆电视剧月圆张保仔电视剧粤语快播韩国过了百集的电视剧电视剧月圆电视剧大丈夫33集打虎上山电视剧电视剧异也恋大结局疯丫头之糖糖的电视剧电视剧绣狼打虎上山电视剧张保仔电视剧粤语快播f4的电视剧“那就让我来宣布对你的审判结果吧。”军事法庭上,一名身着盛装的法官对着面前的蓝发少年说着,纵使是他们在审判这个男孩,纵使法庭外驻扎着一只军队随时防备着,但仍旧掩盖不住他们眼里的恐惧,只有旁边的一位白发红装少年和金色长发绿色荷叶裙的少女能带给他们安全感。 “南宫星辰,故意发动战争,致使伤亡上万人,鉴于其知错能改,并在后来的战争中发挥了巨大作用,宣判:南宫星辰流放荒地,不得王命,永世不得入法斯。”‘’南宫星辰,领罪矣‘’妖吞三千界,帝陨傲世间。为她凡尘一坐三千载,起身回首凡尘,往长生。天道陨落,生命祭献,少年轮回,叙写传奇。且看,无双天骄,翻手天初,覆手天末,天临世间! 浮浮尘世,君子道长,小人道消,反之则反是。 当代996青年江易见义勇为,勇斗街头混混救下女孩,却终因寡不敌众被混混捅成重伤,即将昏死之际,一道阴阳八卦轮盘突然浮现于他身下...... 浮浮尘世,前途未卜,预知后事,且行且看。 离家出个走,居然遇到了一名博士。 他们之间的缘分远不止一面之缘,一些奇奇怪怪的东西随着两人的接触,渐渐跑进了他的生活。 古怪离奇的东西变成了自己的日常。 世界的本来面目被一点点揭开,能窥觑到的每一个部分都让人惊异万分且难以承受! 而这些仅仅是大千世界的九牛一毛而已! 就算知道了太多太多,需要很长时间去消化。 那这,是否又真的是世界最真实的那一面呢? 这博士,究竟又是怎样的…人呢? 他又小心翼翼的维护着怎样的秘密…? 【对世界的新认知!】 【对科技的惊发现!】 【对未来的再思考!】 【认知崩塌重新排序的宇宙狂想曲!】穿越平行世界,参加选秀综艺,商献毫无意外成为偶像。 粉丝:明明可以靠脸吃饭,却偏偏靠才华,他重新定义了偶像! 商献:我不想做偶像啦,抄歌没有一点挑战性,想尝试去演戏! “人太帅,演什么都画风突兀,还是专心唱歌吧!” “这垃圾演技,安心当个偶像吧,演戏不适合你!” “演的什么鬼!差评!发首新歌我们才能原谅你!” ———— 多年后,当商献入选《时代周刊》年度风云人物,人们才恍然惊觉,这个偶像并不简单…… 年度风云人物评语:他创造了一个时代,在各种意义上!战争与屠杀换来短暂的和平,渐渐得人们失去了真实善良的情感,沉浸在酒色财乐之中,善恶只在一念之间,一个人暗恋的心情,看到了暗恋对象在一个大叔的身下,只是因为钱,是啊,有了钱,就可以了,一个女人,为了家里安稳,一次一次的付出,换来的是自己男人,在外所谓的应酬的花天酒地,一个学生用功的学习,有了好的成绩,换来的是,学分和层层的评比的潜规则,换来的毕业证后到了社会上,需要的依旧是钱和权势,安份工作的人,到了中年,会被要求更重的工作任务,最后无奈被开除了,再到社会上,找不到工作,生活的方方面面都要钱,因为没有钱,孩子要上学,父母要看病,看到的是一支支股票的高低数据变化后的起落的背后是管理者们的游戏,灯红酒绿后空虚的狂叫,一个个被车撞死的路人,只是让人看了不顺眼,开车的人,心情不好,来不急停下自己的车。一个老人在家等着孩子的还来,一个人的生命被道德绑架后,心脏的移植,一个个害怕问题大事化小,小事化……一洛之海,万丈之深,水是命源,洛海之根观天行,识阴阳,纳五行,万化生乎身,守本性。虽历经万难亦不忘福泽一方。且观天珩烟雨,守己之心,从容而行。虽然南宫基的成长有点慢,但这些都是他必须有的经历,要不如何能在各种经历和磨难中成长,又如何超脱,各位看官请耐心与南宫少爷一起经历,让经历成为财富,成功就在不远的地方等着你。 在遥远的百川大陆,随着一次血腥的政变,开启了长达数十年的强权时代。 而在这个血与火的时代,一支军团异军突起,谱写了自己的传说。 而我们的故事,也就从这个遥远的大陆开始......
九狱金身诀 纵情三国 燕武纪 重生之奋斗进行曲 孤夜辞 傲娇师尊爱上我 从御灵开始 再读一次初中 地表最强系统 黑雾白霜 旧城小店 盛世清平 十主传 神仙学院:被迫和校花组队 我怕君心易变,浮生若梦 剑念诀 元宇宙:破壁 新化道有情 青衫磊落长歌行 山河弃 锋刃电视剧13 催胜贤最近拍的电视剧 类似雪莲花电视剧 电视剧异也恋大结局 锋刃电视剧13 母亲电视剧在线观 李三林文皓是哪部电视剧 痴心绝对 电视剧 疯丫头之糖糖的电视剧 f4的电视剧 电视剧大丈夫33集 美国电视剧百度云盘 电视剧姜世离结局 催胜贤最近拍的电视剧 那年花开月正圆电视剧11集 电视剧异也恋大结局 李三林文皓是哪部电视剧 疯丫头之糖糖的电视剧 韩国过了百集的电视剧 电视剧居委会 催胜贤最近拍的电视剧 电视剧娘心所有插曲 诡探电视剧播放 结婚吧电视剧 佟大为最好看的电视剧 电视剧姜世离结局 疯丫头之糖糖的电视剧 诡探电视剧播放 韩国过了百集的电视剧 疯丫头之糖糖的电视剧 电视剧异也恋大结局 催胜贤最近拍的电视剧 电视剧庞剑 那年花开月正圆电视剧11集 打虎上山电视剧 电视剧异也恋大结局 电视剧庞剑 类似雪莲花电视剧 电视剧姜世离结局 电视剧娘心所有插曲 电视剧绣狼 抗日电视剧感人视频大全 宋承宪的电视剧爱情故事 美国电视剧百度云盘 结婚吧电视剧 催胜贤最近拍的电视剧 美国电视剧百度云盘 电视剧绣狼 电视剧姜世离结局 刘桂香电视剧 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 仙凡古道 重生异世 我要不断进化 钱小亮种田笔记 黑色乐园 降魔秘典 欧博游戏官网 皇冠登3出租 百家乐官网 欧博游戏官网 亚星管理平台 电视剧娘心所有插曲 电视剧姜世离结局 电视剧姜世离结局 锋刃电视剧13 疯丫头之糖糖的电视剧 韩国过了百集的电视剧 电视剧居委会 电视剧月圆 李三林文皓是哪部电视剧 诡探电视剧播放 抗日电视剧感人视频大全 电视剧大丈夫33集 催胜贤最近拍的电视剧 疯丫头之糖糖的电视剧 刘桂香电视剧 电视剧居委会 电视剧居委会 美国电视剧百度云盘 电视剧大丈夫33集 类型于心里罪的电视剧 疯丫头之糖糖的电视剧 罗麦电视剧全集 那年花开月正圆电视剧11集 电视剧姜世离结局 类似雪莲花电视剧 诡探电视剧播放 电视剧庞剑 美国电视剧百度云盘 那年花开月正圆电视剧11集 刘桂香电视剧