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字作文画展作文初中400字纪念日作文五一劳动节脊梁的作文800吉林导游词作文500字记一次春游200字作文脊梁为话题作文800纪念日作文五一劳动节广西中考英语作文记事作文春天的故事记一件五子棋比赛作文纪念日作文五一劳动节和平重要 作文记一件五子棋比赛作文几年后想像家乡作文300记事作文春天的故事记事作文大全500字初中几年后家乡泰安作文几年后家乡泰安作文济南七步作文怎么样观什么电影有感作文400字几年后家乡泰安作文广西中考英语作文关于母亲节的小作文400字记叙作文:走向成熟关于妈妈最爱我的作文记叙作文:走向成熟关于母亲节的小作文400字济南七步作文怎么样和平重要 作文正当徐风在全球进化爆发后的10年后,通过自己的努力,好不容易当上物资搜寻小队队长的时候,因为一场意外。穿越回全球进化的半年前…… 天元历1214年,天元王朝在经历了数百年的繁荣后,终于是盛极必衰走向了衰亡,其时天下大乱群雄崛起,所谓秦失其鹿,天下共逐之!且看谢长安是如何从一个山野小子一步步的走向武学巅峰并一统天下,建立百花王朝,成为后世敬仰的百花大帝! 建立了粉丝群1012144039,小伙伴儿们可以进群一起畅聊。唯一微信公众号是老三的books。善人在求原谅,恶人在等宽恕。救人也救己,暖人也暖己。世界末日,是真的结束?还是新的开始?人类进化,天赋崛起,活下去,比什么都重要。玄幻小说一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心一个伟大的帝国就要陨落,新的时代就要到来。 朱慈炯也想过要去争一下那大位,可是你看看环伺周围的猛人,李自成、张献忠、多尔衮、吴三桂……罢了,还是做一只咸鱼吧…… 什么,你剥夺了我的王位,还想要我的命? 那可不行,老子也要当强盗! 朱慈炯发出这样的怒吼……罗月松率特战分队,远赴滇缅战场,成为戴安澜将军200师侦察尖兵,探路先锋,深入丛林,战端重开。这个世界四方各有一处释放真气之地,分别被四族占领,万年前四族大战,人族最终获胜,将三族真气封印,后又建龙脉于中原,吸收四族真气,使其他三族永无翻身之日。万年后,人族中各个帮派、教门林立,世界各处更是异象频现。这一天,朝廷宣布要组织一场帮派战,最终奖励是10颗重生丹,据说是上古大战所留,可以使死人起死回生,使活人脱胎换骨。江湖上各个帮派、教门摩拳擦掌,跃跃欲试。与此同时,江湖上一个新的帮派“天下第一帮”已经悄然崛起。这到底是一场机遇还是一个阴谋? 从什么时候开始有了江湖? 江湖上除了快意恩仇还有哪些不为人知的壮怀激烈、生离死别? 世人皆知赵匡胤杯酒释兵权后,中华武备趋弱,甚至影响了此后华夏千年。却不知宋太祖另有武牧江湖的策略。只可惜一代雄豪,绝世武略在一夜烛影斧声里,涣散泯灭。 一个由开国皇帝组立的神秘机构,在与朝廷、外邦、绿林纠缠中,爱恨情仇繁乱纷杂。 居庙堂之高则忧其民,处江湖之远则忧其君。范希文一声长叹,几多世人的无奈在其间。 绝世的权力,绝世的武功,却也一样有绝世的缺憾。 人间值得?人间不值得?
禁羽录 刹尘传 横纵流 他和他的剑 威服四海 云星揽约 异世魔王国 走进修仙之相信科学 无上霸体金身诀 青阳斩神录 我欲立天 真实网游之启源 每夜一个民间故事 三傻大闹秦皇陵 时空尽頭 惊悚爷可是正经的鬼界居民 众神的人间日记 雨城疑云 玄幻:做反派就要强无敌 异能穿越到我身 画龙点睛法结尾作文 记一件五子棋比赛作文 记述一天的作文 脊梁的作文800 画龙点睛法结尾作文 黄河美景的描写作文 记述一天的作文 集体生活作文500 画展作文初中400字 记事作文春天的故事 记一次上网三年级作文 记事作文大全500字初中 关于买文具的英语作文 记一件五子棋比赛作文 济南七步作文怎么样 脊梁的作文800 脊梁为话题作文800 画展作文初中400字 广西中考英语作文 记者求职英语作文 记一件五子棋比赛作文 记一次春游200字作文 观什么电影有感作文400字 吉林导游词作文500字 记忆作文500 关于买文具的英语作文 画展作文初中400字 观什么电影有感作文400字 广西中考英语作文 画展作文初中400字 脊梁的作文800 几年后家乡泰安作文 纪念日作文五一劳动节 济南七步作文怎么样 关于母亲节的小作文400字 记叙作文:走向成熟 脊梁的作文800 记事作文大全500字初中 关于清明的作文300 几年后想像家乡作文300 记叙作文:走向成熟 好奇心小时候作文800字 记者求职英语作文 记一次上网三年级作文 记一件五子棋比赛作文 记忆作文500 记忆中的泪珠作文600 记叙作文:走向成熟 关于清明的作文300 脊梁为话题作文800 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 怪异:我真不是神经病啊 战天灭神 时空赏金猎人 花豹突击队 再读一次初中 亚星管理平台 澳门葡京官网 葡京官网 亚星管理平台 万利游戏官网 记一件五子棋比赛作文 画龙点睛法结尾作文 集体生活作文500 好奇心小时候作文800字 观什么电影有感作文400字 好奇心小时候作文800字 记事作文春天的故事 脊梁为话题作文800 几年后想像家乡作文300 关于母亲节的小作文400字 脊梁的作文800 记一次上网三年级作文 记述一天的作文 记忆中的泪珠作文600 关于母亲节的小作文400字 观什么电影有感作文400字 记忆中的泪珠作文600 集体生活作文500 广西中考英语作文 画展作文初中400字 记一次春游200字作文 黄河美景的描写作文 观什么电影有感作文400字 关于买文具的英语作文 好奇心小时候作文800字 记述一天的作文 和平重要 作文 关于清明的作文300 关于妈妈最爱我的作文 济南七步作文怎么样