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"
基督歌曲大喜讯歌词歌词星光大道好想要忘记一个人的歌词奇袭白虎团京剧趁夜晚歌词歌词里有所有一生守候基督歌曲大喜讯歌词爱情主演歌词完整想要忘记一个人的歌词歌词每天都想着你每天都梦这你你像那彩虹挂在天空里很有节奏的一首儿童亲子歌歌词里有你是谁到底是谁飞呀飞上天今日的爱情中文歌词五月天想要忘记一个人的歌词平凡先生 歌词今日的爱情中文歌词五月天就让朋友的心歌词很有节奏的一首儿童亲子歌歌词里有你是谁到底是谁飞呀飞上天挽留的歌词歌词我用尽了全力歌词里有所有一生守候最狂生歌词歌词 就像漂浮在外整个外太空 now now now男声歌词我用尽了全力歌词每天都想着你每天都梦这你你像那彩虹挂在天空里别意 歌词军恋歌词亚喀西歌词军恋歌词永远的战斗歌词最狂生歌词校长过的好吗歌词魂穿崇祯却发现自带华夏图书馆,整顿吏治,训练新军,平内安外,科技强国第一步先从留住魏忠贤开始。 东林意图众正盈朝?可曾问过厂卫刀还利否? 鞑子于辽东意图糜烂中原?可曾听闻枪与火炮轰鸣? 东瀛时常滋扰海防?与其日日提防不如给大明添座石见银山? 知识改变世界,放牧北美,开矿澳洲,殖民印度,脚踩东欧。 枪炮铸我铁血大明,科技铸我宏图盛世。 朱由检:海内诸国,皆为臣属,有明一朝,日月不落。出来旅游的刘锋,接到了一个跑龙套的机会。 意外触发了神级扮演系统。 在剧组扮演某个角色,根据相似程度,便能获得角色相应能力。 【叮!本次角色‘特种兵’的契合度为30%,您获得特种兵30%的综合能力!】 【叮!本次角色‘学霸’的契合度为50%,您获得学霸50%的学习能力!】 【叮!本次角色‘王羲之’的契合度为73%,您获得王羲之73%的书法能力!】在泰拉大陆这片大地上每时每刻都发生着故事,而这里的日常却不太寻常穿越玄幻世界的姜恒,觉醒潜能升级系统,可用潜能点无限升级修为和功法。 【铜像功】升级为【万劫不灭金身】 【疾风步】升级为【虚空大挪移】 【追光剑】升级为【灭天绝地斩神剑】 【碎岩拳】升级为【寰宇大绝灭】 修为:凡境升级为真神境 直到某天。 姜恒身躯一震,虚空破碎,法则紊乱! 一拳轰出,星辰陨落,漫天神魔尽皆湮灭! 本书又名:《开局揍哭小师妹,我升级了!》《越级刷怪升级真快》孔铮能够在英雄本色香江世界和蓝星之间穿越,嘴贱惹祸,被逼进了娱乐圈,他是小商人、是莽汉、是侠骨柔情、是钢铁直男......一个无知小人物逆袭的故事。这些年,我也不知道我是正是邪,终日小心徘徊在生死之间 。我的故事在金三角的山区里,社会是一个复杂的地方。带你走进神秘诡奇,充满尔虞我诈的江湖,看遍社会人心险恶。欺诈争斗圈套,输的不仅仅是金钱,还有人性。一个中年上班男意外进入异界星球,开始流浪融入闯荡的故事!“五……四……三……二……一 林萧的手缓缓下落,瞳孔骤缩。 他双腿一软,无力的跪在了地上,眼前的世界,是黑暗,迷惘。” 人们总说:“世间没有后悔药”,“若能给我一次重来的机会……”等诸多的话语。恰巧他却拥有无数人所憧憬的能力——回到过去 可那次年少的经历过后,使他深知 过去无法改变,将来亦是如此…… 此后三年,他便将不凡的自己与脑后的痛苦置之于身外 开启了平凡且充实的高中生活…… 每个人都有属于他的气运,而这股气运会在冥冥之中影响着他的道路与未来。 命中注定你是个主角,那么你就会走上属于主角的道路,哪怕你不愿意,也无法拒绝。 你唯一能选的,是决定这条路该怎么走。 喜剧型男主角,逗逼型男主角,热血王道男主角,在或者是悲剧型男主角? 他们有的选,但秦宇没有,因为他的气运不是什么主角,而是一个反派!纯粹的反派! 大哥!以前我没得选!现在我想当个好人啊! 独自前往国外留学的体育生凌云,在一次英雄救美后,意外激活了一个逆天的系统,开始了自己称霸篮坛之路!!!
生存之赏金猎人 探灵密录 虚无仙神 怎么会是我重生啊 茅山鬼门 半缘修剑半缘君 自由切换 圣界耀世 我在天界逍遥的日子 凡人修仙奇遇记 人道曙光 穿越:我在玄幻造大炮 鉴诡手记 普通修炼 九州无敌战神 天行烟雨 苗疆诡术之南王宝藏 复活之日 都市五行灵珠传 第三神途 永远的战斗歌词 混沌歌词 别爱我别爱我歌词 今日的爱情中文歌词五月天 歌曲小画家歌词 佛说李太白歌词 owl city的beautiful times歌词中文 校长过的好吗歌词 别意 歌词 爱情主演歌词完整 歌词 就像漂浮在外整个外太空 now now now男声 歌词 就像漂浮在外整个外太空 now now now男声 最狂生歌词 混沌歌词 就让朋友的心歌词 歌词我用尽了全力 歌词每天都想着你每天都梦这你你像那彩虹挂在天空里 永远的战斗歌词 亚喀西歌词 奇袭白虎团京剧趁夜晚歌词 东方红歌词 想要忘记一个人的歌词 t. m. revolution - count zero歌词 歌词我用尽了全力 很有节奏的一首儿童亲子歌歌词里有你是谁到底是谁飞呀飞上天 佛说李太白歌词 亚喀西歌词 t. m. revolution - count zero歌词 t. m. revolution - count zero歌词 歌曲小画家歌词 歌词里有所有一生守候 歌词回程的车票 奇袭白虎团京剧趁夜晚歌词 基督歌曲大喜讯歌词 别意 歌词 军恋歌词 奇袭白虎团京剧趁夜晚歌词 歌词改编情书&#039;&#039; 别意 歌词 就让朋友的心歌词 军恋歌词 混沌歌词 最狂生歌词 别爱我别爱我歌词 今日的爱情中文歌词五月天 歌词回程的车票 owl city的beautiful times歌词中文 军恋歌词 佛说李太白歌词 挽留的歌词 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 星际大航海:崛起 北境之地 不灭之名将再现 医者无双 走进修仙之相信科学 百家乐官网 澳门葡京官网 葡京官网 百家乐官网 万利游戏官网 永远的战斗歌词 基督歌曲大喜讯歌词 混沌歌词 歌词改编情书&#039;&#039; 歌词我用尽了全力 校长过的好吗歌词 奇袭白虎团京剧趁夜晚歌词 owl city的beautiful times歌词中文 东方红歌词 永远的战斗歌词 永远的战斗歌词 歌词 就像漂浮在外整个外太空 now now now男声 t. m. revolution - count zero歌词 歌词改编情书&#039;&#039; owl city的beautiful times歌词中文 爱情主演歌词完整 歌曲小画家歌词 nu abo中文谐音歌词 很有节奏的一首儿童亲子歌歌词里有你是谁到底是谁飞呀飞上天 歌词改编情书&#039;&#039; 佛说李太白歌词 平凡先生 歌词 就让朋友的心歌词 别爱我别爱我歌词 东方红歌词 永远的战斗歌词 歌曲小画家歌词 混沌歌词 平凡先生 歌词 今日的爱情中文歌词五月天