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"
宁波10月份天气查询宁波市10月30日天气河北涿鹿历史天气预报汕尾市最新天气预报陇川10月天气情况宁波10月份天气查询浙江兰溪未来十天天气预报15天河北涿鹿历史天气预报宁波海曙区5月份天气南京十月天气状况2017年孟连天气记录河北涿鹿历史天气预报肇庆未来一个月天气预报2017年孟连天气记录莱州天气预报图片南京十月天气状况广东海洋天气最新天气预报陇川县历史天气陇川10月天气情况2017年9月15日宁波天气宁波好海曙天气陇川县历史天气宁波海曙区5月份天气北京天气预报宁波汕尾星期六天气预报24小时天气预报兰溪汕尾星期六天气预报北京天气预报宁波2017年9月15日宁波天气肇庆未来一个月天气预报月高悬于空,星不见其影。 沉眠的暴君从历史中苏醒,漆黑的双翼划过破晓的黎明;巍峨古堡跨越了尘封的的记忆,矗立在洛尔维亚的群山之巅。 当头戴王冠的公主睁开双眼,从死亡归来的旅人重新握住剑柄—— 国王湖的水面不再平静,却依旧深不见底。神棍少年来到异世界招摇撞骗,当个山大王,掀翻三界,让玄幻世界从此体验华夏文明的魅力在这个世上活着的人,都有两面,笑脸下藏着恶魔,只是在刹那瞬间的爱也会转换成怨恨,而所有的怨恨会让这个世界血流成河,一寸前是黑暗,回头看也是黑暗,但是这样的黑暗,是谁也没有看到。而我所讲得故事,只是茶余饭后的闲话,您可千万别当真名牌大学生叶峰,被豪门富二代打压,找不到工作只好回家捕鱼为生,谁知竟因此得到惊天传承,开启逆天人生!从一个我的世界小白到服务器中的大佬。T3机器人穿越到二维世界的使命是寻找拯救地球人类的方法,他发现自己只能算魔修,只有修炼到化形之后才能算是个人,为了完成使命,他先了解人类,熟悉人类,成为人类,世道艰难,神魔时代,炮灰一样的小人物,能力必须强大。陈御芝醒来,发现自己穿越到了自己曾经玩过的游戏《域外仙魔》中,而随之而来的除了系统面板,还有绑定的太祖长拳。 你有法术,&amp;quot;看我太祖火球拳。”一拳击出,举火烧天 你是剑仙,&amp;quot;看我拳剑相杀。”一拳击出,万剑横空 任你万法齐出,我自一拳破之。 我,一个普普通通的初中学历的年轻人,很多人说我无所事事,年纪轻轻非要干出租车,但我不在乎,只是今天貌似有点点背?怪事频发?为什么呢?我是地地道道蓝星人 穿越大军里,悲烈的死了一回。 咱丢不起这人 逆天伐神、轮回救挚爱,纵死又何妨!淳朴的三口之家惨遭灭门? 严肃的军训基地半夜打炮? 高中校园夜间有裸男游荡? 少女野外方便被老人偷窥? 关爱迷途妇女的少年一蹶不振? ...... 这一桩桩事件的背后,到底是人性的扭曲还是道德的沦丧,请让我们跟随少年王候的脚步,慢慢去揭开这一幕幕惨案背后的真相吧。
诸神博物馆 正值青春萌动时 万古第一神 大明塞北王 我的队友非人哉 剑侠情缘4之我爱宁芹芹 开局被判诛九族,贵妃娘娘 李毅破天 特战姐妹之我在都市当女警 寒武纪元突变 笔下之物 丧尸海豹突击队队长 魔法师的异界 九曲归一刀 大漂客 花花世界你侬我侬 全民震惊,你管这叫贫困户? 火影里的上泉新叶 我用太祖长拳在魔宗修仙 绿和他以外的颜色们 2016年十一月苏州天气 2017年孟连天气记录 浙江兰溪未来十天天气预报15天 汕尾市最新天气预报 2016年十一月苏州天气 宁波市9月天气 浙江兰溪未来十天天气预报15天 孟连天气查询 宁波市10月30日天气 南京十月天气状况 广东海洋天气最新天气预报 广东海洋天气最新天气预报 云南德宏陇川历史天气 2017年孟连天气记录 2017年9月15日宁波天气 汕尾市最新天气预报 11月份新德里天气 宁波市10月30日天气 宁波海曙区5月份天气 兰溪7天气预报 2017年孟连天气记录 宁波10月份天气查询 宁波好海曙天气 陇川10月天气情况 梁河县历史天气 云南德宏陇川历史天气 宁波市10月30日天气 宁波好海曙天气 宁波海曙区5月份天气 宁波市10月30日天气 汕尾市最新天气预报 陇川县历史天气 河北涿鹿历史天气预报 2017年9月15日宁波天气 24小时天气预报兰溪 汕尾市最新天气预报 河北涿鹿历史天气预报 浙江兰溪未来十天天气预报15天 云南德宏陇川历史天气 宁波10月份天气查询 莱州天气预报图片 南京十月天气状况 兰溪天气后报 11月份新德里天气 2017年孟连天气记录 梁河县历史天气 御道口二月份天气 汕尾星期六天气预报 兰溪天气后报 11月份新德里天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 私家侦探之小人物 薪火不绝 虚灵录 神祇:独步仙魔 魔道巅峰之天似红霞岸 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 梁河县历史天气 陇川10月天气情况 南京十月天气状况 兰溪天气后报 兰溪7天气预报 2017年9月15日宁波天气 天气变化记录 孟连天气查询 肇庆未来一个月天气预报 2016年十一月苏州天气 宁波市9月天气 肇庆未来一个月天气预报 汕尾星期六天气预报 宁波市10月30日天气 云南德宏陇川历史天气 云南德宏陇川历史天气 御道口二月份天气 11月份新德里天气 2017年9月15日宁波天气 2017年孟连天气记录 孟连天气查询 梁河县历史天气 宁波10月份天气查询 宁波海曙区5月份天气 宁波市9月天气 河北涿鹿历史天气预报 汕尾市最新天气预报 河北涿鹿历史天气预报 11月份新德里天气 莱州天气预报图片