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"
有软件怎么生成二维码win10安装软件就蓝屏重启怎么办啊消防岗考软件微信附近人一键软件哪种字体软件最好有软件怎么生成二维码国外3d手机拍摄软件消防岗考软件在电脑上下韩剧用什么软件好曲奇办公软件注册icon制作软件下载有软件怎么生成二维码cad2012版怎么安装软件下载icon制作软件下载消防岗考软件曲奇办公软件注册我有一款软件怎么生成二维码哪种字体软件最好哪种字体软件最好小白一键重装系统软件哪个好win7office卸载软件照片管理相关软件导线点闭合计算软件最新版本办公软件式兼容包信息发布编辑软件一直播软件如何玩王者微信附近人一键软件三星手机s助手下载软件小白一键重装系统软件哪个好翻译文件软件app少年陈枫身怀绝世神器,修盖世魔功。战人界、屠魔界、挑仙界、冲神界。打遍诸世界,杀出冲天血路,成就无上至尊。(声明:新书发布,各位新老书友多多支持。群号:158697732)未来不仅只有星空大海,还有神话永生!自小能与神秘盖亚生命互换灵魂的东希,如何在这个世界走上巅峰!很久很久以前,在一片未知之地,有一只神龙盘踞在此地,不曾想,被外来者闯入,神龙降世,怒火冲天,对神龙的不敬,将会受到惩罚。但神龙可不能滥杀无辜,因为还有一群神秘人在虎视眈眈。十三年前,李致在城郊梨花树下捡到一只垂死白狐。 十三年后,他开始被一个漂亮温婉的落难小姐倒追。 月夜之下战幕拉开。 李致翻手间剑光纵横雷霆天落,“我家夫人温柔贤惠娇贵可人,知冷热擅烹食……” 姜璃弹指间邪魔俯首山河崩坏,“我家相公谦谦君子文弱书生,温逊有礼好脾气……” 反派“……”一百年前,九州界发生了一些变化,一百年后,九州界发生了更多的变化。一位异世来客,意外穿越到类似山海经一样的修仙世界,他凭借着金手指和自身智慧度过一个个难关。 比如穿着人皮的老太太,喝血吃肉的飞尸,能够杀人于无形的鬼魅,诡异的祭祀,控制怅鬼的梼杌,嫉妒贪婪的饕餮,鬼狐办理的妓院,上古残留的神肉,无心的贯胸人,死亡才能繁殖的人,人首兽身的异人……世界变了模样,我既然有了这样的能力,那就让我试试吧......2042年脑数据应用已经普及全球,游戏界也通过脑数据传输,造就了一款神作:《神话》,全球达数亿玩家,沈弈家庭分崩离析,却因意外救得女总裁,在她的帮助下在神话中显尽天赋,踏上游戏职业生涯,却在这时唯一的亲人妹妹被害,就此遭受挫折。在女总裁姐妹花两人的引导下,慢慢走出自我困境,重登榜首,再战联赛,一路荆棘坎坷却又披荆斩棘,带领战队冲刺全球总决赛... 一块不起眼的石头,内里竟然容纳一方世界。少年只是随手一捡,便是陷入沉睡。 十年一梦,梦里十万年。 醒来,家族没落,承受着家族的血脉诅咒,他能否逆天改命。这是一个快意恩仇的侠义江湖,这是一个弱肉强食的仙侠世界…… 在这里,洛凡掌握乾坤、剑指八荒,掀起武道风云…… 然而,当洛凡以为自己已经站在这个世界的巅峰之时,殊不知,他所掀开的那个世界,不过是浩瀚宇宙的冰山一角……
叶倾仙的传说 夜雨香 冰峰奇缘 开局天降系统,我见义勇为 天妖神谈 异世大陆将夜传 一颗陨石给我的力量 亡灵猎手之失落山巅 诸天之铁匠也疯狂 雄途: 带着师妹讨生活 龙野传 阳间镇灵人 九转冰魄2两界相通 凡人飞升诀 拜猪所赐 万古第一魔帝 原神:双神之眼开局 我只要幸福一点点 都市,岩王帝君竟是我自己 微信附近人一键软件 在电脑上下韩剧用什么软件好 最新版本办公软件式兼容包 医院专家出管理软件 微信附近人一键软件 哪种字体软件最好 自己做王者荣耀皮肤的软件下载 win10安装软件就蓝屏重启怎么办啊 信息发布编辑软件 一直播软件如何玩王者 清除激活软件的激活信息吗 小白一键重装系统软件哪个好 icon制作软件下载 win7office卸载软件 pe状态下使用的数据恢复软件 我有一款软件怎么生成二维码 自己做王者荣耀皮肤的软件下载 信息发布编辑软件 消防岗考软件 专业视频编辑软件中文版 在电脑上下韩剧用什么软件好 cad2012版怎么安装软件下载 win7强删软件下载 南方土方计算软件破解版下载 win7office卸载软件 icon制作软件下载 信息发布编辑软件 win7强删软件下载 消防岗考软件 信息发布编辑软件 南方土方计算软件破解版下载 win10安装软件就蓝屏重启怎么办啊 我有一款软件怎么生成二维码 cad2012版怎么安装软件下载 摄像头及投影仪切换软件下载 南方土方计算软件破解版下载 我有一款软件怎么生成二维码 小白一键重装系统软件哪个好 曲奇办公软件注册 国外3d手机拍摄软件 医院专家出管理软件 专业视频编辑软件中文版 小白一键重装系统软件哪个好 南方土方计算软件破解版下载 icon制作软件下载 摄像头及投影仪切换软件下载 导线点闭合计算软件 信息发布编辑软件 自己做王者荣耀皮肤的软件下载 国外3d手机拍摄软件 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我的超大储存空间 真相?真相! 道灵纪 拥有超能力后的我 :忆 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 曲奇办公软件注册 照片管理相关软件 专业视频编辑软件中文版 小白一键重装系统软件哪个好 消防岗考软件 有软件怎么生成二维码 国外3d手机拍摄软件 pe状态下使用的数据恢复软件 国外3d手机拍摄软件 一直播软件如何玩王者 64位dw软件官方中文版下载地址 国外3d手机拍摄软件 照片管理相关软件 64位dw软件官方中文版下载地址 自己做王者荣耀皮肤的软件下载 最新版本办公软件式兼容包 在电脑上下韩剧用什么软件好 南方土方计算软件破解版下载 清除激活软件的激活信息吗 曲奇办公软件注册 专业视频编辑软件中文版 pe状态下使用的数据恢复软件 win7强删软件下载 win10安装软件就蓝屏重启怎么办啊 三星手机s助手下载软件 微信附近人一键软件 哪种字体软件最好 微信附近人一键软件 医院专家出管理软件 信息发布编辑软件