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"
职业健康论文范文职称论文发表类型职业健康论文怎么写职业素质理论论文职业与人生的论文职业健康论文范文中国梦是什么 论文职业健康论文怎么写中国梦我的梦论文800字植物与生态环境的论文植物对人类生活的影响论文职业健康论文怎么写纸雕毕业论文植物对人类生活的影响论文职业健康论文怎么写植物抗病机理论文摘要中国梦是什么 论文摘要职业与职业素质论文职业与人生的论文职业环境与健康的论文中国梦我的梦论文材料职业与职业素质论文中国梦我的梦论文800字职业病分析论文职业素质论文该怎么写职高女生心理论文职业素质论文该怎么写职业病防护论文职业环境与健康的论文纸雕毕业设计的论文宇宙似乎很宏大,但却小之又小,宇宙之外是虚空,虚空里是什么呢? 时间是最快的速度吗?时间之后会产生什么呢? 多元宇宙的探索,科技的进步。人们也开始进入时间之中。 剩下的时间里会出现几个自己呢? 他们是残余,还是自己是残余。 残余本来就是剩下的!世界之大无奇不有! 宁可信其有不可信其无! 而你所见所听不一定为真,那些藏匿在背后的真象,是你无法逾越的鸿沟! 或许你可以尝试一下,但未必能够成功? 你是否还愿意去尝试? 去揭开世界的真相?人是人,仙是仙,人若想为仙,难比登天。天下凡人千百万万,得道成仙者百千年不得闻。 凡人非大机缘者,莫寻修仙路。然,何为机缘,机缘何得。 争,是智慧;不争,亦是智慧。 修仙修仙,修的是什么,修的不就是心么。三国近百年的战乱还未平复,西晋十年之久的“八王之乱”又起,华夏精锐殆尽,汉族陷于危亡之际!匈奴首先乘机发难,羯,氐,鲜卑,羌等族更是将战火席卷了整个北方大地!“五胡乱华”血腥来临!主角生为皇子,天潢贵胄,却只能偷生于公主身份,流离于军阀之间……到处都是豺狼虎豹!裙:138930598到处都是无情杀戮!易子相食,千里无人!汉族亡种灭族?!华夏支离破碎?!谁来力挽狂澜?!!网游映射现实,大三学生江晓玩了十年的《神话》直到关服。 他把网游玩成了单机,制霸游戏各种榜单。 当别人还在打怪升级的时候,他已是满级存在,当别人拿着几十万战力炫耀的时候,他的战力早已超越一亿; 他是全服隐藏职业之首,精通所有职业技能,能随心所欲切换职业战斗形态。 且看江晓如何玩转灵气复苏的游戏世界。2003年一座北方小城突遭萨斯病毒袭击,在抗击非典的日子里,人们经历的情感与爱情的非常考验。“林诺,我不会放过你的。” “珍惜你的所拥有的时间吧,毕竟你拥有的时间可是不多了哦。” “不要走。” “你好,我叫星辰,星辰大海的星辰。”(一笑) “她是谁?我。。不记得了。” “这个世界,,不存在?” “我叫林诺,是一名高中生。。。” “前辈,让我们一起来玩游戏吧,哎嘿嘿……”天上仙人,染指人间久矣。 今我大秦既立,大秦国土之上,当无仙人立锥之地。 大秦诸位臣民,朕,先走一步了。 吾,大秦太子,以大秦之名,携人间之力,倒卷天上,从此,再无天上人间之分。我将用我自己的写作方式,用心之一分一毫,情之一缕一丝,为大家去描述一个多元化虚拟的世界,玄幻亦或物质,浪漫亦或现实,激烈亦或平静,以遐想还原本真的人文风貌。 我们潮汕文化来源于福建,行政隶属于广东,可是,潮汕不是哪一家的附属品,潮汕有她自己独立的城市风格,有追求自由于平等的强烈姿态,这片土地上的人有顽强拼搏与享受宁静安逸的一致认知,她是一个出色的整体,也是一个个优秀的个体。尊崇传统文化,又极力接受新事物 ; 平和的茶文化里,有雷厉风行的基因 ; 隐忍的内心深处,是那么地奔放狂野 ; 圆润的处事风格,又包涵着执着的信念。朴素与低调是她的面貌,男人的勤奋,女人的贤惠,饮食的多元化是她的名片,历史底蕴和潮商的风云是她的骄傲。潮汕,我的桑梓故乡,永远都是美!春秋五霸,战国七雄,合纵连横,逐鹿中原
肉身横推!你管这叫亡灵法师? 末日乱世求生 桃源小神农 铭道录 我体内有洪荒异兽 貔子窝傩侠 一天一个选择题 系魂传 都市之潜龙震天 种田,我靠塔防征服废土 在修仙界活下去 古灵帝君 大秦:苟成陆地神仙,被金榜曝光了! 英雄愁 神樱祝祷 :忆 系统加持:我是模范修仙人 穿越有外挂 从地球回来后我逐渐无敌 城市中央的水族馆 职高女生心理论文 植物抗病机理论文摘要 中国梦是什么论文题目 职业与人生的论文 职称论文发表类型 职业病防护论文 中国梦是什么论文题目 植物与生态环境论文 职高生心理论文 纸雕毕业论文 中国梦我的梦论文2500 中国梦我的梦论文2500 职业病分析论文 植物抗病机理论文摘要 职业健康论文范文 职业素质论文该怎么写 中国梦我的梦 论文 职高女生心理论文 职称论文发表代理话术 职业健康论文怎么写 植物抗病机理论文摘要 职业健康论文怎么写 职称论文发表代理话术 职业与职业素质论文 植物与生态环境的论文 职业病与健康论文 职高女生心理论文 职称论文发表代理话术 职称论文发表代理话术 职高生心理论文 职业与人生的论文 植物分子育种论文 职业素质理论论文 职业健康论文范文 职业病分析论文 职业素质论文该怎么写 职业素质理论论文 中国梦是什么论文题目 职业病分析论文 职业伦理案例分析论文 职业素质论文该怎么写 植物与生态环境论文 职业环境与健康的论文 中国梦我的梦 论文 植物对人类生活的影响论文 植物分子育种论文 中国梦我的梦论文2500 职业素质论文该怎么写 职业病与健康论文 中国梦是什么 论文摘要 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 兰陵王的神瞳 天道罚心 满级悟性的我只是个渣渣 江海山的故事 疯狂宠爱的妻子 万利游戏官网 欧博官网 万利官网 亚星管理平台 澳门葡京官网 职称论文发表类型 职业素质论文该怎么写 植物与生态环境的论文 职业健康论文怎么写 中国梦是什么论文题目 植物对人类生活的影响论文 职业健康论文怎么写 职高女生心理论文 中国梦我的梦论文2500 中国梦我的梦论文800字 中国梦是什么 论文 中国梦是什么 论文摘要 纸雕毕业论文 职称论文发表类型 职业病与健康论文 植物分子育种论文 中国梦是什么 论文 职业素质理论论文 植物与生态环境的论文 职业健康论文范文 中国梦是什么 论文摘要 植物对人类生活的影响论文 职高女生心理论文 职称论文发表类型 植物抗病机理论文摘要 植物与生态环境的论文 职业与人生的论文 中国梦是什么 论文摘要 植物与生态环境论文 职称论文发表代理话术