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"
曼谷5月份天气预温度2016年郑州天气预统计今天华阴天气清迈5月份的天气预报山西省大同市12月份天气曼谷5月份天气预温度山西朔州天气4月9日今天华阴天气湖北武汉实时天气预报查询南县天气今天通山小时天气预报曼谷5月份天气预温度盐城10月天气湿度通山小时天气预报今天华阴天气哈市两周天气预报新会小鸟天堂天气山西省大同市12月份天气山西省大同市12月份天气2017年太原市9月份天气天气预报常德澧县一周天气预报太原市2017年天气湖北武汉实时天气预报查询山西太原五一天气珠海天气概括2017年5月4号南京的天气清迈5月份的天气预报重庆南川区山王坪天气预报2017年太原市9月份天气盐城8月19号天气破碎的竹简,修改历史。接续的断玉,破茧重生。华夏大地的历史一次又一次的变幻,究竟哪些是真哪些是假。穿越各大王朝,一个终极的秘密即将揭开。两个组织的碰撞,守护华夏历史的责任。待我将这一切缓缓道来。 天地初始,孕育造化之九塔,镇天地之混沌,衍天道之灵,构筑万界秩序,演化万界生灵。   时光飞逝,流转亿万年岁月,九塔蒙尘。   都市发展迅速,进入科技新时代,城市高楼林立,灯火通明,一位名为纪十安的少年正在密林中举起了他的弓箭。。。。。一场突如其来的变故席卷全球,远古的“神”苏醒,人类陷入了死战。最终人类战胜了“神”。200多年后,“神”卷土重来,秘武-血君子 重现,有个注定的人,将拿起它,走向诛神之路。顾江海有些困惑,不过是加班回来睡了一觉。怎么睁开眼睛之后世界就变了样子。 街上突然路人下手的红眼人、夜晚互相撕咬的怪物、路边的变异植物、会喷火的老虎..........还有复杂的人性。 无论世界怎么变化,活下去才是当下最重要的事情。 在“大众创新、万众创业”时代背景下,作者创作这篇以创新创业为题材和主旨的作品。作品采用短故事和随记的形式,叙述几位创业人士历时三年合作创办一间事务所的创新求索过程,力图表达出一种不断自新、不断进取、乐观开拓的时代精神。法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。天地异变,劫难难逃,为了解决劫难,秦昊与其他十大强者联手将劫难击退,每神圣历七七九年,劫难形成,人类为了不让自己的家园受到侵犯,全意抵御侵略者。 伟大的元素之神,请让我再次庇护人类,元素之花。一点剑意千川渺,两袖白云万仞摇。我是太白,看我狗履山河。东汉末年,汉室崩塌。 刘闲意外穿越到这乱世,开始一段传奇人生。 利用遥遥领先这个时代的知识,收名将,戏红颜,混的风生水起。 同时训练出一支傲视当世的铁血精锐。 刘姓为王,大浪淘沙。 待一切尘埃落定之后,一个完全不同的大汉帝国重新出现在了大地的东方。7年前突然降临的奇怪游戏,那不会死人的古怪游戏究竟隐藏着什么秘密,为何会不停的选召选手挑战那一轮轮不同的诡异游戏。 偶尔出现在李沐梦境中的奇怪景象,是否与那古怪的疯王游戏有关? 第一次进入疯王游戏却获得三枚堪称许愿币一般的令信,让李沐忍不住想要探究这一切背后的秘密。 而随着李沐进入疯王游戏,现实世界被隐藏的异变也渐渐展露在他面前...
戮黎明 风云宝剑录 古怪博士 诸天道种 星球穿越:我掌控万物进度 小人物阿云 末世回归者 大灾与大爱 混世不乱 玩牌的我谁也打不过 御灵逆天之旅 沭爱 DC吃瓜兄妹 戒中时 罗安娜女皇 大国无双 山海与剑 大秦:开局欠始皇百万黄金 太初有魔于道先 流星风暴 2017年5月4号南京的天气 哈市两周天气预报 新会小鸟天堂天气 山西省大同市12月份天气 2016年郑州天气预统计 重庆南川区山王坪天气预报 2017年度盐城市天气预报 四川各地天气适时 澧县未来一周天气报告 盐城10月天气湿度 太原二月天气预报 太原二月天气预报 山西太原五一天气 哈市两周天气预报 曼谷5月份天气预温度 珠海天气概括 紫帽天气预报 2017年5月4号南京的天气 嵊泗列岛三日游天气预报 今天华阴天气 清迈的5月都是什么天气 今天华阴天气 嵊泗列岛三日游天气预报 太原市2017年天气 南县天气今天 山西太原昨天天气 2017年5月4号南京的天气 嵊泗列岛三日游天气预报 天气预报常德澧县一周天气预报 2017年5月4号南京的天气 山西省大同市12月份天气 清迈的5月都是什么天气 清迈5月份的天气预报 曼谷5月份天气预温度 山西太原五一天气 珠海天气概括 清迈5月份的天气预报 2017年度盐城市天气预报 山西太原五一天气 河内12月份天气 珠海天气概括 四川各地天气适时 2017年太原市9月份天气 紫帽天气预报 通山小时天气预报 清迈的5月都是什么天气 太原二月天气预报 珠海天气概括 山西太原昨天天气 新会小鸟天堂天气 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 成为勇者 九州第一仙 校花的神级修仙保镖 奇妙的异世界传说 回到抗战年代 欧博官网 亚星管理平台 澳门葡京游戏官网 欧博官网 亚星游戏官网 新会小鸟天堂天气 山西太原五一天气 河内12月份天气 2016年郑州天气预统计 2017年太原市9月份天气 湖北武汉实时天气预报查询 珠海天气概括 重庆南川区山王坪天气预报 四川各地天气适时 四川各地天气适时 太原市2017年天气 太原市2017年天气 河内12月份天气 清迈5月份的天气预报 曼谷5月份天气预温度 南县天气今天 新会小鸟天堂天气 山西太原五一天气 今天华阴天气 盐城8月19号天气 山西太原昨天天气 太原二月天气预报 清迈5月份的天气预报 澧县未来一周天气报告 南县天气今天 南县天气今天 山西太原昨天天气 2017年太原市9月份天气 2017年5月4号南京的天气 河内12月份天气