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"
刷信用卡的手续费多少钱刷华夏信用卡看电影9.9刷信用卡金额太大刷信用卡日元怎么还刷信用卡如何分期还款多少刷信用卡的手续费多少钱手机qq在哪申请信用卡刷信用卡金额太大刷什么行业养信用卡使用信用卡攻略刷信用卡如何分期还款日期刷信用卡金额太大收款吧怎么刷信用卡刷信用卡如何分期还款日期刷信用卡能刷整吗使用信用卡攻略手机qq在哪申请信用卡吗刷信用卡如何分期还款多少时间刷信用卡如何分期还款多少时间刷信用卡 买理财刷宝可以刷信用卡套现刷信用卡如何分期还款多少时间刷什么行业养信用卡双币支付信用卡年费吗刷信用卡如何分期还款双币卡一张信用卡锁了刷信用卡如何分期还款双币支付信用卡年费吗刷信用卡 买理财收款吧怎么刷信用卡大楚第十四代君主,内有奸臣、党羽之争,外有强蒙、大理、倭寇虎视眈眈,大灾频发、小灾不断,江湖动荡,颇有乱世之征兆。但好在大楚民心尚存,威望不减,天下还算稳当,而苏望的出现又会让这天下发生怎样的变局呢........无良中介坑骗老人,周铭受到老人恳求举报讨回血汗钱。 周铭:众老放心,不就是要个钱?简单! 三日后。 无良中介团伙被判诈骗罪,十年起步! 孙奶奶:只是让你举报要钱,全给送进去了? 牛爷爷:牛哇!牛哇!比我牛爷爷还牛! 某不知名老人:你缺媳妇不,把我家孙女介绍给你! ...... 父母遭到恶毒亲戚碰瓷...... 周铭:进去反省反省! 女警官遭到键盘侠网暴...... 周铭:你以为隔着屏幕我就抓不到你? 天下不平事太多! 我,周铭! 平定天下不平事!【恭喜!】 【作家4462377565号成功完本】 【得到认可“神作”】 【获得作家经验10万点】 【正在抽取作品中的技能】 …… 【警告!】 【作家996331415号作品涉及违规内容】 【正在执行抹杀】 …… 【恭喜!】 【作家000005743号累计收到价值打赏币100万的礼物】 【获得作家经验1万点】 【由于此作品无特殊技能】 【正在获取其余同时期作家低一级的作品信息】 【正在抽取技能】 …… 【警告!】 【重生者004370227号抄袭后世作家作品】 【正在执行抹杀】 …… 【恭喜!】 【作家0000094941号每日更新15000字】 【获得称号“全勤(大师)”】 【获得“万界宝箱(黄金)”一个】 …… 这是一个读者为神的世界,作家是这个世界上令人敬仰的修炼者,而其余只能作为游客阅读小说的人,要么是懦弱的蝼蚁,要么是正处于保护期的未成年人。 刚穿越到这个世界的李子梦本以为可以大展才华,却发现穿越者不可抄袭原世界作品。修仙界唯一大成者,渡劫飞升失败,被迫重生在一个已死的大学生叶尘身体上。 全新的世界,全新的生活。 学生,厨子,武术高手,护花使者,神医,武馆等 唉,这日子过的,真悠闲。夏魄爆肝一款修仙游戏十五年,通关之时却意外来到游戏的世界,成为了一个家族的杂役。 还好这游戏把通关奖励送给了他,让他得到了长生不死的能力。 在这里付出了十五年青春的他深知这个人心叵测,妖魔横行的世界很危险,于是决定苟起来修炼个几千年再说。 时光流逝的飞快,在熬死了无数强敌之后,他发现自己已经无敌了。一百年前,九州界发生了一些变化,一百年后,九州界发生了更多的变化。小小侍郎,一朝得志,只手遮天,鸡犬也能升天,导致江山风雨飘摇。 堂堂王子,韬光养晦,忍受欺凌,只为等待黄袍加身那一刻。 不问苍生,迷恋长生,皇帝一心想修炼成仙,羽化飞升。 江山风雨飘摇,妖魔鬼怪难分,酝酿着偷天换日的滔天阴谋。 谁为正道?谁为邪魔? 从来英雄难过美人关,英雄为谁护花?美人为谁心悦? 有人的地方,就有江湖,朝野是权力场的江湖,步步为营、如履薄冰,武林是名利场的江湖,热血冲杀,义盖云天,江湖路上,从来都是腥风血雨。飘走了~八荒纪元末年,天上临仙。 乱古纪元元年,仙、人族两族战起。 乱古纪元三代人皇老去,一修士夺九界之姿,创众生法,集天下道,杀尽一切敌。 此后,定命时代就此展开……这是个修行琴棋书画就能够获得文气,修炼文道的世界。 在这里挥笔可化万千利剑,杀人无形,弹琴可化天地大道,镇压万世。 读书人口诛笔伐,可化唇枪舌剑,以画勾勒诸天万道。 秦尘心言出法随,才气化剑,笔化龙蛇,开口便是天地规则。 我携三千诗书,可练就无上文道,成就万古圣人。
末世少女戴安娜 重生之从遁去的三开始 云努南江 重生之我是太上老君的道童 龙凤大劫难 妄天轮 天下常宁 唐末群剑录 十年主角无人闻,一朝反派 天龙秘史 诸天战场:我能无限加点 异德 穿回网游这次一定不强化了 雨灵轮回 一颗陨石给我的力量 夕阳下的拾荒者 新书草稿大集锦 碧蓝航线之昨日曙光 剑可开天 重生华夏:灵域归途 刷卡都是刷信用卡吗 刷信用卡怎么办理分期还款 手机qq在哪申请信用卡吗 刷信用卡如何分期还款多少 刷卡都是刷信用卡吗 双币信用卡结算功能 手机qq在哪申请信用卡吗 收到95588办信用卡 双币卡一张信用卡锁了 收到信用卡去面签 刷了信用卡没有记录吗 刷了信用卡没有记录吗 谁可以代还信用卡 刷信用卡怎么办理分期还款 刷信用卡的手续费多少钱 刷信用卡如何分期还款多少 谁能帮我办个信用卡 双币卡一张信用卡锁了 刷宝可以刷信用卡套现吗 刷信用卡金额太大 刷信用卡怎么办理分期还款 刷信用卡能刷整吗 刷宝可以刷信用卡套现吗 刷信用卡如何分期还款日期 使用信用卡攻略 谁可以代还信用卡 双币卡一张信用卡锁了 刷华夏信用卡看电影9.9 刷宝可以刷信用卡套现吗 双币卡一张信用卡锁了 刷信用卡如何分期还款多少 刷信用卡怎么办理分期 刷信用卡日元怎么还 刷信用卡的手续费多少钱 双币支付信用卡年费吗 刷信用卡如何分期还款多少 刷信用卡日元怎么还 手机qq在哪申请信用卡吗 谁可以代还信用卡 刷信用卡能刷整吗 刷信用卡如何分期还款 收到信用卡去面签 刷信用卡不给小票 谁能帮我办个信用卡 刷信用卡如何分期还款日期 刷信用卡怎么办理分期 刷了信用卡没有记录吗 刷信用卡如何分期还款 谁可以代还信用卡 手机qq在哪申请信用卡 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 我在末世里无限重启 都市:言出法随,你管这叫乌鸦嘴? 鲁笠的灵异故事报 不杀之剑 末世:随星而行 快连下载 亚星管理平台 亚星官网 快连下载 亚星管理平台 收款吧怎么刷信用卡 刷信用卡的手续费多少钱 刷信用卡如何分期还款 收到95588办信用卡 刷信用卡如何分期还款 双币卡一张信用卡锁了 刷信用卡如何分期还款多少时间 刷卡都是刷信用卡吗 刷了信用卡没有记录吗 双币信用卡结算功能 刷信用卡怎么办理分期还款 谁可以代还信用卡 刷信用卡怎么办理分期还款 刷了信用卡没有记录吗 收到95588办信用卡 刷信用卡怎么办理分期还款 刷卡都是刷信用卡吗 收到95588办信用卡 收益率高的信用卡 刷宝可以刷信用卡套现吗 收益率高的信用卡 收到信用卡去面签 手机qq在哪申请信用卡吗 刷信用卡如何分期还款 刷信用卡 买理财 刷信用卡如何分期还款多少 刷什么行业养信用卡 手机qq在哪申请信用卡吗 刷宝可以刷信用卡套现 刷信用卡 买理财