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"
运用作比较写300字作文小学六年级第一单元三百字作文运用作比较写300字作文作文话题 改过初中精彩作文结尾我出生的故事作文三年级触动心灵的作文关于友谊的满分作文作文值得纪念的日子有关开学第一天的作文600字老师作文700字运用作比较写300字作文小兔子童话故事作文写妈妈100分作文三年级上册关于友谊的满分作文有关开学第一天的作文600字幸福并不遥远作文400距离 作文距离 作文关于真实自我的作文题目my new year英语作文距离 作文作文值得纪念的日子妈妈为我做了三件事作文700字开玩笑的作文老??你好二年级作文写关于童年的作文450字幸福并不遥远作文400谈呼吸作文800字脱险的经历作文张启,一名高二的学生。母亲在一年意外去世了,父亲伤心过度之后被查出有精神疾病每天卧床不起。在很多地方都试过治疗父亲的病,却没有多大的效果。同时也欠下了许多债务。但张启并没有放弃父亲,周一到周五上课,周末有空就做做兼职,用来补贴家用,却远远不够。某一天,债主找上门来。知道张启没能力归还,便将他绑到小黑屋,准备咔腰子。但过了三天,却什么也没发生。于是张启变逃了出来,却发现大街上没有一个人。只见漆黑的夜空上。六道红光划过,从此张启的人生发生了巨大的改变。很久很久以前,有一座山,名为葬灵山;葬灵山的西边有条渊,名为无相之渊;无相之渊的西边,有一座学府,名为真武院;而故事,则要从葬灵山东边的那座凌天帝国讲起……隐藏在人类社会之下的非人生物,他们不受人类道德和法律的约束,凭借自己超凡的力量肆意妄为,制造混乱和恐慌,面对这种情况,一些大能们成立了灵异局来节制这股力量…伤害人的不止有夫妻之间的暴力,还有亲子之间的暴力。无论何时,请不要忘记,受害者的痛不应该被掩埋。应该有人替他们诉说这一切!伍念之,最惨穿越第一人。 在异能世界的他,要说稳健,他当属第一流。 奇怪的同门和睦系统。 送死流任务一个接着一个。 他能不稳健吗? 【师傅:前往巨人岭,干掉金甲巨人王族10个。奖励小师弟:漫天火鸦术,火系,橙武五星级】 【大师姐:抱起小公主,并对她说,“女人,你该洗脚了”,连说9次。奖励小师弟:虚空光明轮,光明系,青芒十星级】 【二师兄:杀死魔族三公子100次。奖励小师弟:大日九崩指,金系,金巨一星级】 【三师姐:收集绝色同门师姐衣服上的扣子30个,从上往下数第三个扣子。奖励小师弟:雷系资质+12】 伍念之红着眼睛,垂涎欲滴的选了最后一个。 拼夕夕我认了,最多挨顿揍,稳健一波。皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书陆云是一个偏远地区大家族的子弟,由于出生五灵根被称为废物,好不容易筑基却迎来了人生中第一次转折,家族的叛乱,使自己流亡在外,回来报仇之时,却引发战乱,整个凡界乱作一团……【机战王+能源之城+组建势力+系统+无敌】 苏阳穿越到《洛洛历险记》的世界,成为风雪之城战士。 开启系统,创建势力,走上称霸机兽世界的道路。 超速风:“啥?让我进攻亡灵之都?” 狂野猩:“这是谁?力量竟然可以与我硬碰硬!” 洛洛:“咱俩谁是机战王!”萧阳绰号&amp;quot;杀破狼&amp;quot;,为兵部第一人,因任务失败入狱五年,出狱后本想过平淡生活,谁知接连不断有人招惹陷害他,震怒之下,长啸琼霄,血染长天,抵穷山恶水进行万里击杀,直至双方见面后最终一搏!强悍与正义一直是我的代名词
青龙司之大明风云 异界神说之圣职传奇 一个弱者的英雄梦 血门关 穿越时间的思念 我的玄幻模拟器 剑镇万界 墨云之争 风烈苍穹 人间奇缘 亦道亦一亦心魔 女装大佬的我混的风生水起 魔亭川 死亡祭禁 史上第一财主 持剑傲天 天下风华录 吾辈忆棋 神秘的小葫芦 抬头一片阳光 2016高考全国卷优秀满分作文 假期补课作文 幸福并不遥远作文400 距离 作文 2016高考全国卷优秀满分作文 开玩笑的作文 乐于助人的好妈妈作文 时代得创客800字作文 写关于童年的作文450字 小兔子童话故事作文 作文值得纪念的日子 谈呼吸作文800字 关于惊喜的作文开头 有关开学第一天的作文600字 我出生的故事作文 初中精彩作文结尾 乐于助人的好妈妈作文 写关于童年的作文450字 my new year英语作文 运用作比较写300字作文 假期补课作文 关于友谊的满分作文 小学六年级第一单元三百字作文 写妈妈100分作文三年级上册 有关开学第一天的作文600字 关于惊喜的作文开头 写关于童年的作文450字 小学六年级第一单元三百字作文 my new year英语作文 写关于童年的作文450字 初中精彩作文结尾 假期补课作文 脱险的经历作文 运用作比较写300字作文 妈妈为我做了三件事作文700字 初中精彩作文结尾 脱险的经历作文 幸福并不遥远作文400 关于惊喜的作文开头 关于友谊的满分作文 作文话题 改过 防踩踏应急演练作文500字 寒假的一件事作文怎么写 谈呼吸作文800字 写妈妈100分作文三年级上册 假期补课作文 谈呼吸作文800字 作文话题 改过 关于真实自我的作文题目 三年级触动心灵的作文 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 异界之扮演游戏 绝世伟天帝 修仙:家族崛起 绿茵江湖 主播在线吃鸡 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 写妈妈100分作文三年级上册 宽松作文800字议论文 老师作文700字 时代得创客800字作文 作文值得纪念的日子 防踩踏应急演练作文500字 运用作比较写300字作文 老??你好二年级作文 运用作比较写300字作文 开玩笑的作文 关于友谊的满分作文 幸福并不遥远作文400 初中精彩作文结尾 乐于助人的好妈妈作文 开玩笑的作文 作文值得纪念的日子 乐于助人的好妈妈作文 运用作比较写300字作文 谈呼吸作文800字 小学六年级第一单元三百字作文 寒假的一件事作文怎么写 小学六年级第一单元三百字作文 作文值得纪念的日子 写关于童年的作文450字 时代得创客800字作文 距离 作文 小兔子童话故事作文 关于惊喜的作文开头 2016高考全国卷优秀满分作文 关于惊喜的作文开头