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"
信息与计算科学毕业论文设计幼儿教师专业素养论文绿色税收论文论文里公式编号知行合一议论文信息与计算科学毕业论文设计组织变革论文参考文献绿色税收论文游戏机市场 论文探索奇迹 论文信用卡论文参考文献信息与计算科学毕业论文设计折纸 论文信用卡论文参考文献绿色税收论文探索奇迹 论文教育公平之我见论文历史与环保 论文历史与环保 论文谈家风是议论文吗jsp开发论文英语语用学论文选题民国规则与宪政小论文如何优化资源配置促进教育公平提高教学质量论文知行合一议论文中国学位论文通报论文里公式编号总分总结构的议论文关于贪污腐败的论文折纸 论文“我们还会再见吗”,她径直走向窗外,“等待,不怕路途遥远,只要最后是你就好”。拥有一扇两界门,可以自由出入影视的时空! 随后他发现,他已经成了诸天最大的敌人!李贤穿越了,来到一个叫大秦皇朝的世界。 别人穿越要么成为皇帝,要么成为富家子,可我却成了个太监! 还好拥有金手指,能够让我变回真正的男人。 本想就这样苟在皇宫内逍遥快活,可世事难料,皇位更迭灾祸蔓延到了整个大秦。 奸臣当道、外敌入侵。 眼看着自己的快乐生活被打破,李贤只好站出来。 诛邪、斩妖、扫黑、除恶... 誓死守护大秦,保护后宫三千佳丽。 结婚三年,陈青牛被泼辣老婆驱使,受尽丈母娘一家子窝囊气。   一朝得蚌仙传承,从此鲤鱼化龙,媳妇变成了小乖乖,岳母一家逢迎。   带领全村人搞特色养殖,种植,发展旅游村,过上幸福日子。我们就是一群游戏玩家。操纵一个角色在生活里打打杀杀。谁说那只是游戏呢?每一个角色后面,都有一个认真的灵魂。喜怒哀乐尝遍,却不改初衷。当主角醒来,发现穿越成少年时的慕容复,而且身处十四部金书融合的大武侠世界里,他该何去何从,兴复大燕?争霸天下?又或是勾搭几个美女逍遥一生呢?本书书友群(扣扣群):463587739这是一个源灵的世界,也是人族凋零的世界,万族镇压,人族前路何在? 王战穿越源灵大陆,成为王家老祖,觉醒源灵召唤系统,老骥伏枥,志在千里,以暮年之身,再为人族血战八方! 万族天骄欺压,人族天骄嬴政、刘彻、李世民等艰难前行,只为护人族百世不衰! 那一日,满头华发的王战自大后方而出,向万族宣告:吾乃人族天骄护道者,谁敢欺我人族天骄?欺我人族? ………… 大儿子王腾:“我人族出了护道者叫王战?跟咱爹同名啊!” 孙子王浩:“爸,不用怀疑,那就是爷爷!我跟他老熟了!” 孙女王若书:“我爷爷超无敌!” 世纪之末, 仙路湮灭,前路断绝,动乱时代,宇宙重开,少年叶天重生于异域,从此踏上仙武大道,悟五行,领阴阳,掌握极致力量。堤岸横空,生灵争渡,不详与诡异肆虐。 少年的背后是血与乱,是生灵的悲歌,少年的探寻的是万灵之希望。彳亍前行,万古寂然,永远在路上。灵气入体,滋养四肢百骸;魔晶融合,震动百里山河。 心念一动,可风起云涌;振臂一呼,可天翻地覆。敢叫沧海变桑田,敢叫日月换新天。 茫茫的“东华大陆”是修真者的世界,但是,修真者的数量却少之又少,大陆上生活着的主要还是普通人。除了人类,大陆上一直没有还能修行的生物,直到那件事情的发生……王侯将相,宁有种乎? 泱泱大晋,达官显赫,人才无数。 但我罗明秋亦能以蝼蚁出身,搅动风云。 文官之首:“燕雀安知鸿鹄之志哉?吾亦不知罗明秋!” 镇国将军:“这一扎子读书人中,某最服的就是罗侯爷。” 真龙:“这龙椅,明秋君比我更合适!” 皇后:“与君相见恨晚,若不然,这后宫之主不当也罢……” 且看一介书生,如何拨弄这天下棋盘……
天灵星际 我的狐妖小娇妻 草根的金手指 生灵世界甄选游戏 飓风星神 越狱第六季 重生之我的高中生涯 我比灵气先复苏 拳破魔域 无极剑道,天元轮回 逆者为皇 重生之黑蛋逆袭之路 弑帝成神 蓝夜传 赛尔号之英雄传说 MC之创世神祝 秦汉豪侠传 觉醒拼夕夕十万大军奈我何 奇志录, 圣域九歌 火灾预防论文 论文出版或交流情况 教育公平之我见论文 历史与环保 论文 火灾预防论文 刑法论文题目受贿罪 上海交通大学毕业论文答辩ppt模板 谈宽容议论文800字 中国学位论文通报 折纸 论文 民国规则与宪政小论文 民国规则与宪政小论文 如何优化资源配置促进教育公平提高教学质量论文 探索奇迹 论文 小学数字编码论文 知行合一议论文 上海交通大学毕业论文答辩ppt模板 中国学位论文通报 jsp开发论文 信息与计算科学毕业论文设计 论文出版或交流情况 绿色税收论文 幼儿教师专业素养论文 英语语用学论文选题 谈宽容议论文800字 如何优化资源配置促进教育公平提高教学质量论文 中国学位论文通报 幼儿教师专业素养论文 jsp开发论文 中国学位论文通报 历史与环保 论文 论文出版或交流情况 论文里公式编号 信息与计算科学毕业论文设计 如何优化资源配置促进教育公平提高教学质量论文 知行合一议论文 关于贪官的论文 上海交通大学毕业论文答辩ppt模板 如何优化资源配置促进教育公平提高教学质量论文 关于贪官的论文 知行合一议论文 艾滋病与性的关系 论文 谈家风是议论文吗 关于西方哲学的论文 英语语用学论文选题 论文出版或交流情况 民国规则与宪政小论文 论文里公式编号 关于贪污腐败的论文 组织变革论文参考文献 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 斗篷大帝重生之崛起世纪 真武三国 谷情封夕 幻灵:我是全球最强 天妖神谈 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 论文里公式编号 探索奇迹 论文 信息与计算科学毕业论文设计 教育公平之我见论文 英语语用学论文选题 火灾预防论文 火灾预防论文 探索奇迹 论文 谈宽容议论文800字 历史与环保 论文 组织变革论文参考文献 艾滋病与性的关系 论文 幼儿教师专业素养论文 如何优化资源配置促进教育公平提高教学质量论文 信用卡论文参考文献 高中关于谈理想议论文 刑法论文题目受贿罪 探索奇迹 论文 小学数字编码论文 英语语用学论文选题 历史与环保 论文 火灾预防论文 幼儿教师专业素养论文 论文出版或交流情况 探索奇迹 论文 知行合一议论文 英语语用学论文选题 谈宽容议论文800字 折纸 论文 关于西方哲学的论文