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"
国家城市电话区号河南到邵东快递电话是多少河南到邵东快递电话是多少河南地区京东快递电话查询河南商丘虞城物流电话河南到邵东快递电话号码国通电话官网河南到邵东快递电话是多少国通快递济南网点查询电话国家城市电话区号河南省邮局服务电话河南到邵东快递电话号码国通快递成都客服电话是多少钱河南省邮局服务电话河南到邵东快递电话是多少河南省条码中心电话国通电话多少河南商丘虞城物流电话河南商丘虞城物流电话河南洛阳关林顺丰快递电话国通快递电话嘉兴河南商丘虞城物流电话是多少国通快递济南网点查询电话河南省南阳市公司圆通快递电话河南商丘电话有几位数哈尔滨ems松北区电话河南地区京东快递电话查询河南快递电话号码多少钱河南洛阳关林顺丰快递电话国通电话官网下载万丈高楼平地起,辉煌只能靠自己! 社会很单纯,复杂的是人! 穿越后的秦凌云只想做个躺平的富二代,赚点小钱,过过以前没过过的生活! 结果被迫营业,一不小心被皇帝弄进朝堂,混成了前世的打工仔模样! 不一样的穿越之旅,一样的家国情怀。049收容失败,682收容失败,173收容失败 李三光成为scp基金会唯一活着的监督者,却发现基金会早以什么都没剩下了。 安全位面陷入混乱,基金会收容失效,旧神复苏在即,李三光苦恼大量能源何处而来,如何重新收容的时候…… “叮,位面聊天邀请您加入……” 本书又名:《scp收容之主》 这是一场七个英灵围绕着圣杯展开的故事,一个最美的修真时代,一个荡气回肠的修真世界,快来与他一起踏上这修真之旅!工科大学生惨遭刺杀,躲过了天堂地狱,阴阳差错来到了古代,在古代大显身手,被人叫做小张衡,大才子……躲过长眠的他又是怎么做的呢…… 晴空破开乌云,象征着胜利的光辉照下,唐一吟的神情空无,手中轻握住脖颈上挂着的项链,脑中的回忆在此刻彻底翻涌而出,忽的他读懂了,那时,那个眼神中的意思。 /:你身后恨意滔天/:你身后背负不属于你的罪责 //:放下吧 /:放下?我也想/:放不下,这是与我相关的历史 //:为什么? //:因为我不能 任凭时间改变一切,世间变换翻转无常 //:我仍爱你,为此不变 唐一吟重新问了一遍,以回忆的形式…… 爱情是互相成就的一段旅程。这个男人有三任妻子。第一任是少年懵懂时期爱上的清纯感性的妻子。第二任是青年创业时期遇到性感聪明的妻子。第三任是事业有成的中年时期遇到的妻子。如果可以男人也希望可以从一而终。扣心自问,17岁的少年期的他在少女害羞低头一笑露出的浅浅酒窝。犹如娇艳欲滴含苞待放的玫瑰这是他这辈子唯一一次真正的动心。清明时节,寒雨阵阵。 身为灵异主播的叶辰给爷爷烧纸,顺带最新款式的美女。 夜晚,爷爷却鼻青脸肿地站到他面前,竟是被奶奶揍得! 哄堂大孝之间,爷爷却传来一个消息,他在地府造反了,急需冥币! 身为爷爷的好大孙,叶辰当仁不让。 冥币? 直接把功德之钱烧下去! 武器? 冒蓝火的加特林怎么样? 就是这么狂!上天界武魁之尊,为人所害,转生下界。 修神诀,斩敌首,一刀一剑,誓要杀回诸天上界! 至此,傲笑天地,镇压万圣,掌控寰宇,不朽不灭!特殊体质,资质绝佳,修炼救母。红尘中相视一眼,续写剪不断情缘。 不争大世,不逆天道,顺势修仙。无尽岁月一浮尘,凡人亦可登绝巅。
默契的伴侣 魔域江南 我的妻子是大乘期大佬 咸蛋月球历险记 神医龙婿 世界,重启 仙魔交易商城 大乾憨婿 灵之摆渡 破凡经 扮演:人物都重新归来 权倾天下之山海经 修仙:我把九转金丹当糖嗑 迪诺奥特曼 位面少女攻略者 穿越到影视的反派 阴阳借名师 执剑道天 灵异阴书 星穹纪元 河南地区京东快递电话 国通快递秦皇岛电话 河南快递电话号码多少钱 国通电话多少 河南地区京东快递电话 河南商丘电话有几位数 河南省南阳市公司圆通快递电话 国通快递电话嘉兴 河南地区京东快递电话查询 国通快递的电话是多少 河南洛阳关林顺丰快递电话 河南省南阳市国通快递电话 河南商丘虞城物流电话是多少 国通快递济南网点查询电话 河南省条码中心电话 国通电话官网 河南省南阳市公司圆通快递电话 河南地区京东快递电话查询 河南到邵东快递电话号码 国家城市电话区号 国通快递秦皇岛电话 国贸邮局电话 河南到邵东快递电话是多少 国通的网点查询电话 国通快递济南网点查询电话 河南商丘虞城物流电话是多少 河南地区京东快递电话查询 河南到邵东快递电话是多少 河南到邵东快递电话号码 河南地区京东快递电话查询 国通电话官网 国通快递秦皇岛电话 国通快递成都客服电话是多少钱 国家城市电话区号 河南商丘虞城物流电话 国通电话官网 国通快递成都客服电话是多少钱 河南快递电话号码多少钱 河南商丘虞城物流电话是多少 国贸邮局电话 国通电话官网下载 国通快递的电话是多少钱 河南省区号移动电话 河南省南阳市国通快递电话 国通的网点查询电话 国通快递秦皇岛电话 河南省南阳市国通快递电话 国通电话官网下载 河南省邮局服务电话 河南快递电话号码多少 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 出生即碾压无数天骄 离奇的梦 亲爱,别离开 入目及恶 重返1982 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 河南省区号移动电话 河南商丘虞城物流电话是多少 国通快递电话嘉兴 河南省区号移动电话 国贸邮局电话 国通快递秦皇岛电话 国贸邮局电话 河南到邵东快递电话是多少 国通电话官网下载 河南到邵东快递电话号码 河南快递电话号码多少钱 河南地区京东快递电话 国通的网点查询电话 河南商丘电话有几位数 国通的网点查询电话 河南快递电话号码多少钱 国通快递秦皇岛电话 国通快递收费查询电话 河南到邵东快递电话号码 国通快递秦皇岛电话 国通快递的电话是多少钱 河南洛阳关林顺丰快递电话号码 国通快递的电话是多少 国通快递济南网点查询电话 河南快递电话号码多少 国贸邮局电话 河南商丘虞城物流电话 国通快递成都客服电话是多少钱 河南省南阳市公司圆通快递电话 哈尔滨ems松北区电话