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"
监测月经的软件哪个好小米手机屏幕修复软件安全生产管理专业软件写作培训软件下载支持32位系统的视频编辑软件下载监测月经的软件哪个好x700鼠标安装软件安全生产管理专业软件去水印软件免费官方主播要什么软件下载u盘格式化免费恢复的软件安全生产管理专业软件广联达图形算量软件版本u盘格式化免费恢复的软件苹果手机截铃声用什么软件哪个好主播要什么软件下载安卓系统 录制软件screen分屏软件三星screen分屏软件三星省份证制作软件苍穹基本农田软件破解版screen分屏软件三星去水印软件免费官方天艾达定时关机软件破解版日本 电视 安装软件社区管家软件下载日本 电视 安装软件天艾达定时关机软件破解版省份证制作软件广联达图形算量软件版本简介:本该人生平平无为的主角,从一个性格柔弱到脱变成刚毅的成长故事,后来主角从这跌宕起伏的生涯中成就无上荣耀。江清修,一个刚出入江湖的少年,未及行侠仗义走遍天涯,便出师不利生死道消,却机缘巧合得以重生……实习医生于恺,惨遭女友抛弃,却意外得到医道真传,集合古今医学,修炼提升,开启了不一样的人生。疑难杂症?绝症罕见症?都是小菜一碟!医道渡人,悬壶济世,他于都市之中,成就了一代传奇,一路上邂逅校花,美女总裁,医生护士,教师...生活过得有滋有味。本书又名:《炒股致富真是太难了》、《韭菜的自我修养》、《如何不被股市绿》、《技术流&amp;amp;价值投资流的选择》、《亏损八成的我是如何回本的》、《斩断亏损让利润奔跑》、《拒绝成为股市中的乌合之众》、《炒股就是赌运气,别用实力亏掉靠运气赚的钱》······ 看铁逵炒股直播的网友们表示,以上书名都是错的,本书应该又名:《可恶,又被他买到涨停股了》、《放开那个涨停板,让我上!》、《高喊要亏光的他又赚到了》、《他真把股市当取款机》、《我要拜他为师学炒股》、《买股票一定要跟紧他的步伐》······一本奇幻的书 打开了欲望之门 开启了平行宇宙 书说啊 只要虔诚作伴 你会遇到平行中的另一个你是邪或正,谁引烽动,将热血染尘垆;于理或非,为己为家,挥枪剑共逐鹿。 谁胜,言对错;谁败,归尘土?乱乱乱,何以了劫数;惑惑惑,谁人破迷雾?什么是奇迹? 生命本身,就是奇迹。十十八年前,他——凌晨降生在了这个世界上,十十八年后,他已有了七大将之首的称号,一次次的外敌入侵,一次次的武功打斗,他能否与其余六将,一同成为武道巅峰在一个平行世界线里,西方的帝国在卡尔的领导下统一了西方大陆,东方一直由商天朝占据着,且已经占据了长达数百年。在一场灾变中,西方帝国难以压制其他种族,各路势力涌起来推翻帝国,善于枪炮的矮人,睿智的精灵,遁入黑暗且进行长达数百年的偷盗的暗夜精灵,被复活的爱德华伯爵正要和抢夺他吸血鬼之王的博鲁伯爵决一死战......郝福出生在了一个商天朝的旁系里,故事由此展开,准备好了吗?现在开始。这是一个山海缘结,仙魔逆变的故事。 被迫遗落在尘世间的孩子,带着凡俗的认知,羁绊与名字,一步步走向修道巅峰。 他要带着红尘的枷锁,肩负着众生的希望,直面诸天仙佛。 人不为己,天诛地灭。
太祖降临:我在地府当差 我当侦探的日子 我搅动了港城风云 城市中央的水族馆 五灵妖王凡界篇 从杀妖开始 天地末判其名 梦回大宋之我是宋太祖 综武世界的大反派 助我娘子成仙帝 当局者清 神行启示录 重生:开局就无敌了 与天记 著名的影帝演技 随缘而息 邪灵武侠 都市之逍遥小神医! 走啊,不是说一起吗! 鬼校 电阻衰减器软件 东软机房软件 安卓系统 录制软件 支持32位系统的视频编辑软件下载 电阻衰减器软件 如何下载个分区软件 安卓系统 录制软件 开票软件密码区字体小 社区管家软件下载 正版硬盘修复软件 电视 软件国外节目 电视 软件国外节目 检验科管理系统软件 东软机房软件 监测月经的软件哪个好 支持32位系统的视频编辑软件下载 沃手宝软件 社区管家软件下载 物流签收软件 安全生产管理专业软件 东软机房软件 苹果手机截铃声用什么软件哪个好 物流签收软件 u盘格式化免费恢复的软件 主播要什么软件下载 检验科管理系统软件 社区管家软件下载 小米手机屏幕修复软件 物流签收软件 社区管家软件下载 支持32位系统的视频编辑软件下载 不损音质的合并软件 写作培训软件下载 监测月经的软件哪个好 天艾达定时关机软件破解版 日本 电视 安装软件 写作培训软件下载 安卓系统 录制软件 检验科管理系统软件 苹果手机截铃声用什么软件哪个好 日本 电视 安装软件 正版硬盘修复软件 学生的手机必备软件 沃手宝软件 u盘格式化免费恢复的软件 不损音质的合并软件 电视 软件国外节目 日本 电视 安装软件 检验科管理系统软件 x700鼠标安装软件 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 破镜湮生 仙路鬼途 一位残血大佬的自我修养 天行烟雨 北世吟辰 澳门葡京游戏官网 AG真人 快连下载 澳门葡京游戏官网 欧博游戏官网 安全生产管理专业软件 监测月经的软件哪个好 小米手机屏幕修复软件 开票软件密码区字体小 x700鼠标安装软件 电阻衰减器软件 如何下载个分区软件 电阻衰减器软件 screen分屏软件三星 社区管家软件下载 检验科管理系统软件 支持32位系统的视频编辑软件下载 苍穹基本农田软件破解版 沃手宝软件 监测月经的软件哪个好 东软机房软件 开票软件密码区字体小 主播要什么软件下载 苹果手机截铃声用什么软件哪个好 物流签收软件 如何下载个分区软件 开票软件密码区字体小 支持32位系统的视频编辑软件下载 写作培训软件下载 安卓系统 录制软件 日本 电视 安装软件 u盘格式化免费恢复的软件 x700鼠标安装软件 不损音质的合并软件 检验科管理系统软件