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"
同安未来天气湖南郴州11月份天气厦门实时天气查询漳州厦大校区 天气薛家湾13年4月的天气预报同安未来天气如何从雷达图观测天气厦门实时天气查询郴州市11月份天气预报昆山3月天气历史天气重庆天气 江津东胜天气预报同安未来天气襄阳天气吧重庆天气 江津东胜天气预报厦门实时天气查询昆山3月天气历史天气松江石湖荡天气重庆江津十五天天气重庆江津十五天天气湖州天气特点浙江温州天气预报8月15日重庆江津十五天天气湛江气象数据 中国天气网中国天气-成都天气详情薛家湾13年4月的天气预报长沙天气 6月份天气漳州厦大校区 天气长沙市2017年8月天气查询中国昆山3月天气襄阳天气吧看不惯人类的自我膨胀,作为他们的保护神,他必须让人类看看,这世上还有他们不可抗拒的力量。于是通过他们的战争发出一些他们超乎想象的事情来做警告,最后实在是受不了他们顽固,决定和他们来一场生死搏斗,让他们看看自己其实是多么渺小。21世纪,麻雀终于在中国成为现象级运动。2015年,世界冠军邴燮于事故中丧生,并被世界遗忘。为了找出母亲事故的真相并冲击麻雀的顶点,一度放弃麻雀的亓兑和加入了灼华中学麻雀部,向2020年的全国大赛进发。在艺校之中的人情世故人的一辈子,是一段有去无回的单程旅行,遗憾、悔恨与一路上或多或少的美好,都会深刻在抵达终点时的记忆上。 大多数人没有机会弥补。 林琛,他有。 来自秘密研究所的他,救下了感染者,成为了感染者,只是他并没有意识到,作为一个具有自我意识的感染者“Zarus”,对人类、对未来究竟意味着什么。 我们真正的威胁难道仅仅只是“丧尸”而已吗?不,在一个用被人遗忘的“神迹”,去创造通透至纯的“神性”的故事之后、在所谓的“病毒”的夹缝之中,隐藏着一道延续了五百年之久的波纹,它于潜意识的海洋,能指链的波涛之中,不死不灭,永存于贪婪感染者之间……而今,它或将改变世界。 所以,在即将覆灭的戒律,濒临崩坏的文明之下,人类到底会成为什么呢?就请对这份谵妄拭目以待吧…… ——“Fiat justicia et pereat mundus.”我有一座临仙楼 它是从我发小蒋霖手头抢来的 我总是把它挂在胸前 虽然是挺重的 但每当我遇到困难时 总有一些不可思议的事情便发生了 随后一切的困难也尽数迎刃而解 当神话出现,失落的种族重新出现在这片大陆 她是黑暗界的暗影君王,创造一个帝国,带领着七大军团向全世界进军,只为给她的子民带来一片乐土。 那一年全世界联盟反击,当君王殿防御火力全开的时候,也预示着君王殿的落幕。 三百年后,一名少年,重新创造君王殿,他要卷土重来…… “啥?别闹,上一世的我居然是个倾城女子,但我对自己没兴趣,我还是比较喜欢养蛇,小蛇多乖呀,除了会咬人之外……”陈禹穿越成为大乾幼帝,上有太后监国,下有奸臣当道,修行天赋一般的他,除了龙椅一无所有。   好在系统到位!每天只要跟臣子们抬抬杠,就能轻松变强,从此大乾的朝会成了大臣们的心魔…   “陛下,仙门强大,臣以为不应与之…”   “非也,朕觉得仙门都是反动派,是我大乾的绊脚石!   一切反动派,都是纸老虎!”   “陛下,士农工商,人有贵贱,此乃祖制…”   “非也,王侯将相宁有种乎,人人如龙,天下大同,这才是正道…”   …   当陈禹一言九鼎,无人反驳的时候,他回首望去,原来我已经无敌了啊… 沈千军一梦醒来,回到了妻女身边。 那些让他遗憾的事情,再不会发生。 男儿能重来一次,定不负时光所托…… 成和败努力尝试 ,人若有志应该不怕迟 ,全力干要干的事; 做个真的汉子 ,人终归总要死一次; 无谓要我说道理 ,豪杰也许本疯子 ; 同做个血性男儿 ,愿到世间闯一次; 成败也不再犹豫 ,用我的真心真意; 怀着斗志向竞争的圈里追……
诡异世界:我有武道修改器 智能起源 大明白的那些年 误入传奇世界 不朽大王 我没想捉鬼 仙穹宿 重生剑圣传 三国从杀敌爆装备开始崛起 剑狂无酒 医商巨擘 阁榭 异世旅人 盅哥的强无敌 旺角磨镜人 九重牢 开局从获得体质开始无敌 兽源史诗 三国戏说 苍生无极 湛江徐闻最冷天气 重庆天气 江津东胜天气预报一周 松江石湖荡天气 重庆江津十五天天气 湛江徐闻最冷天气 3月13日昆山天气 11月6-8日长沙天气 昆山3月天气温度 长沙天气 6月份天气 襄阳天气吧 湛江气象数据 中国天气网 湛江气象数据 中国天气网 中国天气-成都天气详情 昆山3月天气历史天气 钦州三娘湾旅游景区天气预报 薛家湾13年4月的天气预报 11月6-8日长沙天气 长沙天气 6月份天气 浙江温州天气预报8月15日 同安未来天气 重庆天气 江津东胜天气预报一周 厦门实时天气查询 湖南郴州11月份天气 重庆天气 江津东胜天气 昆山3月天气温度 中国天气-成都天气详情 长沙天气 6月份天气 湖南郴州11月份天气 浙江温州天气预报8月15日 长沙天气 6月份天气 重庆江津十五天天气 重庆天气 江津东胜天气预报一周 漳州厦大校区 天气 同安未来天气 中国天气-成都天气详情 薛家湾13年4月的天气预报 厦门同安区5月天气 11月6-8日长沙天气 中国天气-成都天气详情 厦门同安区5月天气 薛家湾13年4月的天气预报 昆山天气历史记录】 湖州天气特点 11月份郴州天气现象 重庆天气 江津东胜天气 重庆天气 江津东胜天气预报一周 湛江气象数据 中国天气网 漳州厦大校区 天气 中国昆山3月天气 如何从雷达图观测天气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 我在仙界有个爹 末世最强混子组织 最后一个端公 从奴隶开始的征服王系统 噬沙 快连下载 亚星管理平台 亚星游戏官网 快连下载 百家乐官网 昆山3月天气历史天气 同安未来天气 11月6-8日长沙天气 11月6-8日长沙天气 漳州厦大校区 天气 漳州厦大校区 天气 钦州三娘湾旅游景区天气预报 重庆天气 江津东胜天气预报一周 重庆江津十五天天气 松江石湖荡天气 浙江温州天气预报8月15日 厦门实时天气查询 重庆天气 江津东胜天气 湛江气象数据 中国天气网 漳州厦大校区 天气 长沙天气 6月份天气 同安未来天气 钦州三娘湾旅游景区天气预报 松江石湖荡天气 松江石湖荡天气 厦门同安区5月天气 漳州厦大校区 天气 湖州天气特点 同安未来天气 薛家湾13年4月的天气预报 重庆天气 江津东胜天气 昆山天气历史记录】 湛江徐闻最冷天气 湖州天气特点 11月份郴州天气现象