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"
qq腐头像二格图头像qq腐头像贴吧头像边框兵长头像吧紫龙头像炎阳头像美风蓝头像扑克头像头像总结绘画男头像qq腐头像速写头像还钱头像美风蓝头像头像总结毕业的头像双人情侣头像双人情侣头像头像女卡通焚寂剑头像双人情侣头像扑克头像cp头像兵长头像吧正侧面头像贴吧头像边框cp头像头像女卡通速写头像是一个充满在神秘色彩中的反正义跨国杀手组织,故事由一起轰动全国的庞大组织杀人案的曝光引发,反正义和正义与之抗衡。吞天三千界,帝陨傲世间,做妖三千载,为她弃凡尘他是弃婴他是小保安他只有二百块。他用神鬼莫测的医术活人无数,他凭一身武功历经凶险,他最终得成伟业名利双收。永安不安!白焰不白!一团苟延残喘的青焰,一个没落门派的弟子,一段埋葬在时间长河的秘史,千年的和平似乎让人们忘记了曾经的威胁,在这诸天星海,万界之族中,苦而弥坚的人族、据高临下的妖族、作壁上观的神族以及……在这万类霜天竞自由中,谁为棋子?谁为棋手?农村出身,长于城市的00后少年,不幸被卷入一场跨越时空的阴谋,几次濒死,又几次死里逃生。终于邂逅了一位身具灵体天赋的小姐姐,时来运转,纵横星空,切除世界之癌解家国于倒悬,弹指间风暴清宁,名传处天地变色,挪星域如行棋,驱诸神如走狗,睥睨星海,引爆诸天…… 天地六方,异界大陆 悲惨少年释然奋斗 异域之强敌侵犯我安然生活 我 极乐世界神官团 第一人神官长 随我一起征战全世界朱祐极穿越小说世界,成为大明四皇子,母亲是万贵妃,掌控西厂,与权臣严嵩、东厂曹正淳相互勾结,一手遮天。 然而,自己却并非亲生,而是狸猫换太子的产物,是万贵妃稳地位的工具。 内忧外患之下,朱祐极获得了【人生重来模拟器】系统。 【人生重来模拟器】系统,每天都可以抽取自己的开局功法!他花费三年的时间,抽取了一万次,终于抽到了天胡开局!曾经的兄弟,痛下杀手,百年基业毁于一旦,一张纸召,死了一个镇国大将军,灭了一个将军,吓傻了一个孩子,文武世界在这,江湖朝廷也在这 一个少年终笑道,傻子?还是侯爷天灵大陆创造于三万五千年前,其中的生命可以靠着散布在世界中的灵力来修炼,以人类的标准作为基准的话,一共是十个瓶颈,共一百级,是灵者、灵师、大灵师、灵士、灵王、灵皇、灵尊、灵至尊、灵圣和神,共一百级。 除了灵力,还有自身精神力的修炼! 天灵大陆大约分为两大族,人族跟兽族,两族的整体实力是非常相近的,且兽族的实力较人族强上一些,可相较于人族常用智能侵略兽族的领域,兽族则是比较保守一点,在两万八千年前人族占据了天灵大陆的中心位置,分裂成了三个帝国,冰月、金星、木阳,灵兽森林则是在还未消失的森林继续生活。 “怎么说? 其实穿越没有那么好,异世界真的很危险。” …… 陈凡意外跟随系统来到异世界,也是直接住进单间小牢房。 不过还好,系统没下死手,还给系统新手大礼包的礼物 “天赋觉醒丸” …… 觉醒了天赋技能 “献祭·渴求” 只要献祭宝物就能获得和宝物同等的心中渴求的知识 …… 就这样重新燃起了对于活着的希望的陈凡,经历着复杂的人生 “你渴望可以让人死而复出的秘宝吗?你渴望解除这个世界的诅咒吗?…… 你知道在遥远的世界有一处伟大的世界吗?那里的人们不用受着饥饿,他们拥有着伟大的信仰。 你知道一个关于孙悟空故事吗?他孤身一人,他勇战天庭…… 你知道有个人为了守护世界化作石头雕像吗?” …… “我?我不过是个小小的普通人罢了。”
苍茫铭主 界纪 惊魂过山车 万界赎罪者 圣幻灵域 剑意寒心 后宫成璧传 太阳的反面也温暖 一天一篇观后感 你是我心中的明天 剑霞 人在异界我老婆是龙王! 在阴间潇洒的那些年 鹿行野 层叠世界 江湖有你才有传奇 无序者 救命我活在两条时间上 开局觉醒李白模板 我在异界创建裁缝军团 焚寂剑头像 还钱头像 qq头像包 贴吧头像边框 焚寂剑头像 饼干头像 炎阳头像 妮娜头像 二格图头像 源治头像 恶灵头像 毕业的头像 人物头像照片 绘画男头像 头像女卡通 佛的头像 炎阳头像 二格图头像 扑克头像 乐乐头像 还钱头像 紫龙头像 桃心头像 兵长头像吧 绘画男头像 理山头像 正侧面头像 二格图头像 焚寂剑头像 正侧面头像 兵长头像吧 妮娜头像 佛的头像 qq腐头像 cp头像 兵长头像吧 佛的头像 毕业的头像 理山头像 美风蓝头像 贴吧头像边框 沙画头像 乐乐头像 头像怎么改 还钱头像 妮娜头像 头像怎么改 贴吧头像边框 头像女卡通 炎阳头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 战争时代I帝国辉煌 都市:我被迫当上大反派 不死的城 如果这一世我全都要呢? 奇异国 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 紫龙头像 佛的头像 头像总结 佛的头像 qq腐头像 兵长头像吧 二格图头像 恶灵头像 正侧面头像 绘画男头像 兵长头像吧 绘画男头像 恶灵头像 源治头像 妮娜头像 紫龙头像 头像总结 速写头像 焚寂剑头像 qq头像包 源治头像 毕业的头像 佛的头像 兵长头像吧 贴吧头像边框 头像怎么改 炎阳头像 扑克头像 理山头像 乐乐头像