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"
毕业论文的截止日期毕业论文单位评议书毕业论文的截止日期毕业论文的设计意义怎么写毕业论文的数据查重吗毕业论文的个人收获毕业论文放人事档案吗毕业论文的开场白毕业论文封面可以折吗毕业论文调研目的和意义毕业论文电风扇毕业论文的截止日期毕业论文二次查重不过毕业论文的指导内容毕业论文的开场白毕业论文调研目的和意义毕业论文分低影响什么用毕业论文的体会收获毕业论文的体会收获毕业论文的分数谁给毕业论文概述200字毕业论文的体会收获毕业论文封面可以折吗毕业论文导师指导内容毕业论文的数据查重吗毕业论文导师评分毕业论文的设计意义怎么写毕业论文导师指导内容毕业论文的分数谁给毕业论文二次查重不过人到三五,一事无成的福川。总是把各种问题归咎于自然。生活各种不顺以及中年危机的即将到来,让他越发暴躁。 这天他与妻子离婚后,夜晚便与一群狐朋狗友,伶仃大醉。借着火酒劲以及不顾朋友的劝阻,他执意醉酒开着他的破捷达。 酒后开着的车总是摇晃不定,有惊无险。不知开了多久,借着月光与昏暗的车灯来到了一处田埂与山间的小路。 懒得开导航的他也就这么一直顺着这条路一直走,不管对与不对,他都就这么一直开着。 直至有道幻音传入他耳中,这声音告诉他,如果想改变现在的状况,就朝着这条路一直走。 不知是酒精的原因胆子大,或者是他此时脑袋一时想不开。便真的按着这声音的一直往这条路深处开去… 尘世浑浊,妖鬼横行,生灵涂炭,唯有杀戮,才能横推此界。帮助美女上司摆脱陷害的黄非凡,成为公司派系斗争的棋子,被上司排挤到养殖场。 本就事业不顺,女友这时又跟着出轨,让黄非凡彻底跌入低谷,从事业到爱情遭受双重打击。 不过因为一次善举,让黄非凡彻底改变命运,开始时来运转,一路攀升。 最终从一个人人瞧不上的草根,成为众人逢迎巴结的大鳄! 且看职场小白黄非凡不寻常的崛起之路!不废柴,不舔狗,不圣母,杀伐果断,智商在线,暴爽无敌流。 神明重生,势要杀尽天下负我者。 宁教我负天下人,休教天下人负我。 之前重生99次,叶凡都被系统因为各种原因坑死了。 这一世他想只想做一条躺平的咸鱼,让修炼见鬼去吧! 于是,系统含泪帮叶凡签到,极品灵宠却差点被叶凡端上饭桌; 极品功法被叶凡拿去垫了桌子腿; 绝世神兵成了新的烧火棍! 【警告!宿主即将遭受毁灭性打击!】 【警告!唉算了,启动自动反击程序……】 系统:宿主,你就不能假装修炼一下吗?意外穿越来到平行世界。 陈宇绑定了“究极治愈游戏系统。”开启了新的人生。 只不过.... 这治愈游戏好像有些不同。 303公交往事的护士女鬼姐姐来治愈你。 青峰精神病院的慈祥老奶奶来治愈你。 寂静中学的柴刀学妹告诉你沉默是金。 牛角村的小嫂子告诉你要相信唯物主义。 一个个游戏被陈宇发布出来,而他家里的刀片已经堆积如山。 所有玩家都在拼命地寻找着他的住处,纷纷表示想要“友好拜访。” 不管多么猛的鬼,多么猛的小姐姐,多么猛的猛鬼小姐姐,见了我只有两个字:欧巴,撒浪嗨哟 打造鬼域新秩序,哥们义不容辞!一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心穿越大明,成了木匠皇帝的弟弟,大明信王朱由检。 上一世太累,这一世就想混吃等死,逍遥自在。 可是大明朝日薄西山,要想享乐就要先拯救大明朝,要想拯救大明朝就不能好好享乐,朱由检表示麻了。 于是木匠皇帝成了科学狂人,魏忠贤成了忠实的狗腿子,吴三桂成了专业打手……剑去池空一水寒,游人来此凭栏干。世间万事消息尽,只有青山好静观。 叶乘风只是想安安稳稳的在穿越后活下去。但命运却不停逼迫着他前进。逼着他成为人们口中的侠
灵气复苏:苍天神灵 爱面子的克里斯托先生 剑道传承 穹顶之上谁主沉浮 南昌交通学院 普泽林大陆 探索小队 主神狂想曲 九代界 三国开局系统就造反 剑域:万界提取系统 神雕之我是大魔王 我用偏方吊打了医届大佬! 重生光辉人生 属于我的无尽冒险 星河尊者 江和水的事儿 一切皆是命 追逐思绪 诡异?神明! 毕业论文的答辩怎么写 毕业论文调研目的 毕业论文分低影响什么用 毕业论文的数据查重吗 毕业论文导师分数低 毕业论文导师评分太高 毕业论文分数是谁评 毕业论文二辩什么意思 毕业论文导师评分 毕业论文二次查重不过 毕业论文封面可以折吗 毕业论文分数谁打 毕业论文的答辩怎么写 毕业论文调研目的 毕业论文的个人收获 毕业论文的数据查重吗 毕业论文分数是谁评 毕业论文导师评分 毕业论文概述200字 毕业论文的截止日期 毕业论文调研目的 毕业论文的开场白 毕业论文单位评议书 毕业论文的指导内容 毕业论文调研目的和意义 毕业论文的答辩怎么写 毕业论文导师评分 毕业论文单位评议书 毕业论文概述200字 毕业论文导师评分 毕业论文的数据查重吗 毕业论文调研目的 毕业论文的设计意义 毕业论文的个人收获 毕业论文导师指导内容 毕业论文的数据查重吗 毕业论文的设计意义 毕业论文分低影响什么用 毕业论文的答辩怎么写 毕业论文的开场白 毕业论文的设计意义怎么写 毕业论文二辩通过率 毕业论文的概念 毕业论文分数谁打 毕业论文的指导内容 毕业论文调研目的 毕业论文分数谁打 毕业论文的设计意义怎么写 毕业论文的答辩怎么写 毕业论文放人事档案吗 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 樱花谍 自由天空城 他和他的剑 两个欢喜冤家 大明塞北王 亚星官网 欧博游戏官网 欧博官网 亚星官网 AG真人 毕业论文的设计意义 毕业论文的截止日期 毕业论文放人事档案吗 毕业论文的设计意义 毕业论文的体会收获 毕业论文二次查重不过 毕业论文的体会收获 毕业论文导师指导内容 毕业论文电风扇 毕业论文导师评分太高 毕业论文概念可以抄吗 毕业论文的答辩怎么写 毕业论文二辩什么意思 毕业论文的概念 毕业论文二辩什么意思 毕业论文概念可以抄吗 毕业论文二次查重不过 毕业论文二辩什么意思 毕业论文导师评分太高 毕业论文二次查重不过 毕业论文分低影响什么用 毕业论文导师评分 毕业论文分低影响什么用 毕业论文二稿交晚了 毕业论文封面可以折吗 毕业论文的体会收获 毕业论文的个人收获 毕业论文的指导内容 毕业论文概述200字 毕业论文分数谁打