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"
小学生作文大课间雅思g类小作文落款小学里有趣的事作文400字写事的作文的精彩开头写学校生活作文400字作文小学生作文大课间写景的抒情作文400字小学里有趣的事作文400字写猪的作文600小学生现场作文报道写学校生活作文400字作文写你的同学的作文300字小学作文评语评语写学校生活作文400字作文小学生作文大课间小学生现场作文报道写观察日记作文教案写我家里人的作文600字写我家里人的作文600字小学生书信格式作文400字写作文年份要写大写吗写我家里人的作文600字写猪的作文600写月亮的神话作文写事的作文的精彩开头雅思g类小作文落款写亲情类的作文开头结尾写月亮的神话作文小学生书信格式作文400字小学作文评语评语“快来救我,我被困在相亲对象家的棺材里了!” 接到这个电话的吴邪和谢小花一脸懵逼。 现在小年轻都玩的这么花? 棺材? 还把自己困进去了? 而当他们根据地址赶来之后,却险些丧命于这看似普通的店铺当中! 最后找到了霍秀秀,却也没办法将其解救。 即便是暗中保护的小哥和吴三省也手足无措。 反而是差点被守护的扎纸人给一刀两断! 在这危急万分的时刻,阴风四起,一顶纸人抬轿停在了门口...... 多年以后。 霍秀秀注视着陌上少年:“扎纸匠、赶尸人、阴阳先生.....顾言,你到底还有多少身份啊?” 顾言腼腆的笑了笑,“方方面面都懂亿点吧!” 一位满目苍桑的老人,眯着眼倚坐在藤椅上,知吖吖的响着。藤椅旁,大黄趴在地上睡的正香。老爷子看起来就像是已经入土为安,躺倒在这片土地上一般。 一道光线照在老人身上,老人缓缓张开双眼。一个穿着黑衣的少女,站立于光束之下,看着这个年过花甲的老人,她的脸色有些悲戚,但却带着坚毅,眼中有着无尽的痛苦,看向这个老人的眼神也充满了复杂的感情。少女的右手紧握,似乎是用了极大的力气握住手中的长剑。 少女看向老人,嘴角露出一丝微笑。 “你来了”老人看着面前的少女,没有丝毫的惊讶,似乎早有预料,淡淡的说道。“何为命运?人可转运,但不能改命。你的命,早就已经被神明用模子刻好,自出生以来无法被改变。”布尔津混合学院大门口一老者目光呆滞,颤颤巍巍的抬手指在面前的少年身上:“而在你身上,我看到了命运的转折点。”少年目光迷离,问道, “这里,是什么地方?” “我从哪来?” “到哪去?” “我为什么…… 还活着?” 平凡少年,双素世界,明争暗斗,谁与争锋?覆巢之下,焉有完卵?敢问少年,路在何方? …… …… 踏碎命运!路在脚下! 喂!最近怎么开始听emo歌单了啊?别难过,我分骨头??给你啊!我的字典里希望你能开心 ——爱你的狗狗??笨蛋狗狗只要被人摸一下头就开始喜欢人类。再次归来,谭熙、阿盛、傅延泽三人命运又将出现怎样的改变。。。天道之下的人,在追求着天道。只是,天道又是什么?人在追求什么? 浩瀚无垠的宇宙之中,蓝星只是小小的一粒沙。 生长着几十亿人口的蓝星之中,万伊只是一名小小的警察。 在这片土地上生活了二十多年的他,在某一个平凡普通的日子里,救下了一名古怪的白衣女子,不曾想,却开启了一段离奇的人生。 抚养自己二十多年的爷爷,是所谓人族救世主剑帝。 齐天大圣孙悟空是自己的第一世,得知自己身负拯救人族于水火的使命。 亲眼目睹了何为世间最强一剑。 …… 前路漫漫,不知归处。 他心中只有一愿:砍死那群王八蛋,带老头儿回家。 本书又名《开挂的人生》《板栗终结者》《带着保镖去旅行》《谁TM说老子充钱了?》《武夫万剑仙》等等等等。林殊重生了, 在一个新的异世界。 他悲催的发现, 竟然没有金手指, 没有神秘老头, 更没有失踪的父母。 只有他孤家寡人。 当然,这些都不是重点, 重点是,为什么他的好哥们也一起重生了!!! 还成为了宗门大佬。 ... ... 只有我一个人在悲伤的世界达成了, 林殊看着镜子里陌生的自己, 这男主,不当也罢!!! 重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”一个拥有着人、鬼、妖、仙的世界,在城市中少数能看到妖和鬼的人一部分可以和他们签订契约,成为和他们一起战斗的御灵师。由于分歧,他们形成了两大阵营,为了自己的理念而战斗。主角林墨和他的伙伴也会在战斗中相互成长,也在这个城市中过平常而温馨的生活……
我是一把剑 命运黑书 无道之地 青醒天下 神王太古 穿越回三国:一统天下 木牌传说 凡人飞升诀 重生之后变修狗 穿越明朝假太监 修士无双 江山弈 全球复苏:第二代人皇 破天机系列之海妖抚仙山 秦明法神 断之界 超时空都市31号:征服世界 虚无剑宗 术门大劫:不灭雷霆 全球映射:开局斩杀地狱战神 学校旅行英文作文 小学生现场作文的意义 写人物故事的作文400字 写学校生活作文400字作文 学校旅行英文作文 小学作文第一课ppt课件ppt课件ppt课件ppt 写人物故事的作文400字 小学作文评语评语 写月亮的神话作文 小学作文清明节四百字 写作文年份要写大写吗 写作文年份要写大写吗 小学写事的作文 小学生现场作文的意义 小学生作文大课间 写学校生活作文400字作文 写猪的作文600 写月亮的神话作文 小刺猬外形描写作文 小学里有趣的事作文400字 小学生现场作文的意义 写亲情类的作文开头结尾 小刺猬外形描写作文 校园的一角小学作文 小学作文 六一随想 小学写事的作文 写月亮的神话作文 雅思g类小作文落款 小刺猬外形描写作文 写月亮的神话作文 写学校生活作文400字作文 小学生现场作文报道 写事的作文的精彩开头 小学生作文大课间 小学生书信格式作文400字 写我家里人的作文600字 写事的作文的精彩开头 写人物故事的作文400字 小学写事的作文 写亲情类的作文开头结尾 写我家里人的作文600字 小学作文清明节四百字 写你的同学的作文300字 写猪的作文600 校园的一角小学作文 小学生现场作文报道 写作文年份要写大写吗 写我家里人的作文600字 小学写事的作文 写景的抒情作文400字 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 都市地下大反派 九万里大地 莲生涟 哥的开挂人生 洗妖录 欧博官网 亚星管理平台 澳门葡京游戏官网 欧博官网 亚星游戏官网 小学里有趣的事作文400字 小学作文清明节四百字 写作文年份要写大写吗 写你的同学的作文300字 写观察日记作文教案 写我家里人的作文600字 校园里味道的作文600字作文 小学作文评语评语 小学写事的作文 小学写事的作文 小学作文书信体格式 写观察日记作文教案 小学生现场作文的意义 校园里味道的作文600字作文 写景的抒情作文400字 小学作文第一课ppt课件ppt课件ppt课件ppt 雅思g类小作文落款 写事的作文的精彩开头 写猪的作文600 写你的同学的作文300字 写学校生活作文400字作文 小学作文第一课ppt课件ppt课件ppt课件ppt 小学作文评语评语 写亲情类的作文开头结尾 小学生书信格式作文400字 写作文年份要写大写吗 小学作文书信体格式 小学作文书信体格式 小学生现场作文的意义 小学作文 六一随想