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"
合肥至丽水火车时刻表查询系统蓝村到宁波火车站深圳至北京西的火车票查询隆化县到赤峰的火车成都至息烽火车时刻表合肥至丽水火车时刻表查询系统抚州站到上海站火车票查询深圳至北京西的火车票查询北京西到汤阴火车时刻表查询明天昆明至红果的火车明日火车票查询深圳至北京西的火车票查询九江到茂名的火车时刻表查询明日火车票查询济南到长沙普通火车时刻表明天昆明至红果的火车赣州东站火车站时刻表成都至扬州火车票价格是多少钱啊成都至息烽火车时刻表巴中到厦门的火车时刻表c6309火车时刻表成都至扬州火车票价格是多少钱啊北京西到汤阴火车时刻表查询路过许昌到华山的火车福州到南阳火车票查询系统吉首站火车站时刻表福州到南阳火车票查询系统临沂到曲埠火车时刻表巴中到厦门的火车时刻表北京西至六盘水火车时刻表我,不想当全宇宙第一人,我不想独霸天下,唯我独尊! 因为我没有天赋,我没有外挂,我只有我自己,我只想安安静静的,当一个地球实力第一人! 陆轩一觉醒来,就穿越到了异世界,他看着异世界的人,异世界的物,脑海中顿时有了一个想法……在饮龙垟这一片桃源世界,八个龟形海怪从海涂爬上陆地,向着村庄进发,打乱了原本平和而安宁的秩序。火凤凰从天而降,毁灭了宋官镇,饮龙垟从此改变,朝着反抗的道路前进。徐天海也就走上了反抗的一生,反抗日本人,反抗红卫兵,也反抗他一生养大的儿子。男主陈轩穿越成女身开始了与自带老爷爷的少年开始了相爱相杀的旅程。您喜欢系统还是老爷爷?来看浸淫在小说世界多年的老狗来带您系统品味一下二者之间的优劣!远古人类探索,揭秘古老遥远的史前世界!实习生林天意外获得祖先的传承,看林天如何在都市逍遥...一个佩镜引人入梦沉沦,为救好友筱筱施法同进梦中却发现梦境非梦,筱筱因此徘徊在生死之路,因缘际会终是修仙成功。 “我已经没办法去留住自己了…”一个女人回头,她眼神看起来十分的哀婉悲凉。泪眼婆娑,欲说不欲言,“阿骁…” 一个女人的声音 ‘轩辕舸洛,赤金战神,是轩辕族坠神之前最高之神。’这个女人是谁?是谁?’以凡人之躯承受神祇之力,她会受不住。’受不住? 他忽觉一顿,如鲠在喉,堰塞难语。他努力再努力,最是说出来了那二字,“妻子。” 大学生平静的生活遭到破坏,噩梦的生活开始,不值得相信的同学天地玄黄,宇宙鸿荒……一个老大的人干嘛还读这个?啥?我小叔叔是个盗墓的?我很庆幸自己生在21世纪,互联网的普及让我的见识与思想发生了恐怖的化学反应,我那不知从何而来的表达欲也可以表达在互联网上,第一次尝试写作后,我不得不承认我对动辄百万字的网络文学的节奏把控十分欠缺,我只得尝试碎片化的短篇小说,内容不限,想到哪就写到哪吧,希望给你带来欢乐
玄幻:我在修仙世界玩异能 窥忆行道 惊悚游戏:我把厉鬼玩坏了 神隐之城 高武:我和我的天命系统 六子传奇 我的超凡力 洛神赋英雄千金女 逆仙成魔传 五域文明 东帝国 牢笼世界之不死天功传承者 剑魂之乱世 仙玄御界 卦灵路 五大守护神 一 赵泰镇南 启灵之师 精灵世纪:王者归来 洪荒:家兄冥河,我稳健成圣! k1010火车是空调车吗 北京西到鹤壁火车查询 赣州东站火车站时刻表 成都至息烽火车时刻表 蓝村到宁波火车站 临沂到曲埠火车时刻表 赣州东站火车站时刻表 雷州到北京火车站 吉首站火车站时刻表 九江到茂名的火车时刻表查询 哪里直达佛山的火车多 哪里直达佛山的火车多 荆门到泰州的火车卧铺 北京西到鹤壁火车查询 合肥至丽水火车时刻表查询系统 成都至息烽火车时刻表 从东海到徐州火车票价格表 k1010火车是空调车吗 庐山到九江火车站汽车时刻表 深圳至北京西的火车票查询 北京西到鹤壁火车查询 深圳至北京西的火车票查询 庐山到九江火车站汽车时刻表 成都至扬州火车票价格是多少钱啊 明天昆明至红果的火车 荆门到泰州的火车卧铺 k1010火车是空调车吗 蓝村到宁波火车站 庐山到九江火车站汽车时刻表 吉首站火车站时刻表 成都至息烽火车时刻表 呼和浩特东至渠县火车时刻表 隆化县到赤峰的火车 合肥至丽水火车时刻表查询系统 路过许昌到华山的火车 福州到南阳火车票查询系统 隆化县到赤峰的火车 赣州东站火车站时刻表 路过许昌到华山的火车 济南到长沙普通火车时刻表 福州到南阳火车票查询系统 雷州到北京火车站 巴中到厦门的火车时刻表 从东海到徐州火车票价格表 明日火车票查询 呼和浩特东至渠县火车时刻表 哪里直达佛山的火车多 福州到南阳火车票查询系统 荆门到泰州的火车卧铺 胶州怎么去青岛火车站 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 逆仙:我靠签到修成佛 高武:我能查看人生剧本 灭仙神源 东西神魔录 大明:我的皇孙太强了 亚星管理平台 亚星官网 万利游戏官网 亚星管理平台 澳门葡京游戏官网 c6309火车时刻表 北京西到汤阴火车时刻表查询 雷州到北京火车站 合肥至丽水火车时刻表查询系统 福州到南阳火车票查询系统 c6309火车时刻表 抚州站到上海站火车票查询 九江到茂名的火车时刻表查询 临沂到曲埠火车时刻表 北京西至六盘水火车时刻表 赣州东站火车站时刻表 吉首站火车站时刻表 从东海到徐州火车票价格表 成都至扬州火车票价格是多少钱啊 北京西到汤阴火车时刻表查询 巴中到厦门的火车时刻表 深圳至北京西的火车票查询 合肥南至淮南火车 蓝村到宁波火车站 明天昆明至红果的火车 蓝村到宁波火车站 合肥至丽水火车时刻表查询系统 吉首站火车站时刻表 蓝村到宁波火车站 成都至扬州火车票价格是多少钱啊 吉首站火车站时刻表 合肥南至淮南火车 成都至扬州火车票价格是多少钱啊 合肥南至淮南火车 哪里直达佛山的火车多