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"
厦门海边望金门客栈电话鹰漠旅行电话南陵县客运总站电话鄞州新华书店电话南陵汽车南站电话号码厦门海边望金门客栈电话弓长岭假日温泉酒店电话南陵县客运总站电话蓝色钱江尊蓝酒店电话库尔勒高速救援电话是多少昆明十六中学教师电话号码厦门海边望金门客栈电话武汉如家电话号码昆明十六中学教师电话号码南陵县客运总站电话库尔勒高速救援电话是多少黑河海欧快捷宾馆电话龙门麦可顿电话龙门麦可顿电话舟山定海东门车站电话欣食尚电话苹果手机偶尔移动拨打电话东明县文化局电话川菜馆富民店的电话南陵汽车南站电话号码丰县到苏州的大巴司机电话鄞州新华书店电话株洲田心丽岛电话舟山定海东门车站电话武汉如家电话号码找回记忆,先去釜山!抛妻弃子,间接害死了全家,李文军在懊悔中孤独生活了四十年后重生回到1980年。 这一世,他要做实业振国兴邦,带领各行业把技术提前二十年; 这一世,他要弥补所有过错,让家人温饱不愁,平安喜乐。 做出第一部对讲机,拥有了自己矿山,带领开发房地产,钞票哗哗流进来。 赚钱,对他来说才是最容易的事情。 行者,走遍天地间,只为寻求众生存在的真正意义;为求一缕光明和一线生机。 本杂记是以心情日记书写的,元素分为古诗绝句、律诗,英文诗,现代诗歌,词曲,宋词以及散文。十五篇一轮回,变化多端,内容丰富。这是一场关于魔法,名为永恒的圣战! 那夜,恶魔如天使般降临,身为魔王却为少女规划出一条救世之路。 魔法少女不一定身穿粉色洛丽塔套裙、手持心形魔杖,她也可能身披黑色羽甲、手握战矛与敌人贴脸输出。 你问魔法? 噢!她用来防御。男主凌泽诞生于名门世家却不曾拥有过贵族的待遇,那一日他拜守门大爷为师,又遇绝色少女,与他们修行,习无上道法,想以凡人之躯见证问鼎苍穹的实力。 儿时从与兄长一战,杀至喋血,再到被家族追杀,加入神都学院,到成为卧底加入九宫,再到为了两大门派不惜以一已之力战十万,他年与红颜知己成亲,再到面对域外生灵入侵,不得不横跨星域,与年轻一代战至癫狂,到步入中年繁衍大道,从域主突破迈入仙人境界,但遥望远方界壁之外的生灵,为了给身后的人留下希望,不得不拿起剑加入战斗,在与仙家古地斩掉腐朽,突破界主,率领一众抵御外敌。 曾有界外大能推演时间长河,跨时空欲斩凌泽,那一日红颜伴身,一人一帝剑杀至六大天域喋血,横推古今, 当他举起那把剑的时候,人们知道在他们前面仍有天帝在守护。元宇宙从此诞生,宇宙中最强的BOSS,可以挥挥手就能把星系和黑洞变成渣渣,到底是神创造了宇宙,还是宇宙诞生了神。而看似不合理的一切,却合理的可怕。主人公被表哥的实验带入特殊的人生轨道;这算是一部搞笑科幻立体小说,同时从多时空叙述故事,读者可以多维度阅读。 北宋靖康前后,风云变幻,先起江南民变,后遭金寇入侵。皇室蒙难,百姓涂炭。热血男儿,奋起抗争;红颜女子,痴情不变。恩怨情仇,一笑而泯。 阴阳与金木水火土五行属性的物质组成了宇宙,天地之间,哪怕是时时刻刻都存在着的风和雨,光明与黑暗,甚至是虚空之中那星际之间的引力,实质上也是由阴与阳及金木水火土五行物质的相生相克所产生引起的,宇宙也因此而奥妙无穷!人体也是一个小宇宙,而当人体小宇宙的阴阳与五行属性被激活之后,人体的无穷潜能也会被极大程度的被挖掘出来。“天元”便是一个具有并逐渐被激活了的阴阳与五行属性的全属性灵体,可是他在激活并成长的过程中的坎坷却有诸多的磨难,历经多方磨难并成功修炼成为全属性灵体的过程,这就是你将要看到的内容,敬请欣赏!结婚纪念日那天,我手捧鲜花,单膝下跪,等待我的,却是床底下爬出来的陌生男人! 婚姻的背叛,人性的贪婪,让我的心愈加冰冷... 最直观的去刻画婚姻家庭、人生百态,火烧风出品,必须精品!
黎命 无法抗拒的永恒 80后的年轻人 穿越到小说,反派成主角 我要挽救这个被我摧毁世界 一棋定山河 全民领主:我能召唤历史人物 一个鬼的归宿 重启永恒纪元 不以玄界 网游:重生成为NPC 村姑与胆小鬼 居然有个高手 重生从摆烂开始 四月的她 X世界的记忆 万武仙尊 异域剑尊 牧羊犬的自我修养 末世觉醒之传奇人生 小河德克士电话 上海景域文化传播有限公司电话 黑河海欧快捷宾馆电话 龙门麦可顿电话 小河德克士电话 广州青年公园足球场电话 苍南动车站的电话是多少 兴国花样年华ktv电话 丰县到苏州的大巴司机电话 武汉如家电话号码 东明县文化局电话 东明县文化局电话 川菜馆富民店的电话 库尔勒高速救援电话是多少 蚌埠大家族电话 南陵汽车南站电话号码 长垣德克士订餐电话 丰县到苏州的大巴司机电话 欣食尚电话 厦门海边望金门客栈电话 上海景域文化传播有限公司电话 南陵县客运总站电话 鹰漠旅行电话 苹果手机偶尔移动拨打电话 兴国花样年华ktv电话 川菜馆富民店的电话 丰县到苏州的大巴司机电话 鹰漠旅行电话 欣食尚电话 丰县到苏州的大巴司机电话 龙门麦可顿电话 上海景域文化传播有限公司电话 鄞州新华书店电话 厦门海边望金门客栈电话 川菜馆富民店的电话 南陵汽车南站电话号码 垦丁小径民宿 电话 苍南动车站的电话是多少 川菜馆富民店的电话 垦丁小径民宿 电话 南陵汽车南站电话号码 88度温泉电话是多少 舟山定海东门车站电话 长垣德克士订餐电话 苹果手机偶尔移动拨打电话 上海景域文化传播有限公司电话 东明县文化局电话 鄞州新华书店电话 长垣出入境咨询电话 弓长岭假日温泉酒店电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 重生我再也不会啃老了 苍玄神典 失眠78小时 天上掉下个颜小咩 黄墚记 快连下载 亚星游戏官网 亚星官网 快连下载 亚星管理平台 南陵县客运总站电话 苹果手机偶尔移动拨打电话 长垣德克士订餐电话 丰县到苏州的大巴司机电话 南陵汽车南站电话号码 蓝色钱江尊蓝酒店电话 库尔勒高速救援电话是多少 舟山定海东门车站电话 欣食尚电话 苹果手机偶尔移动拨打电话 龙门麦可顿电话 小河德克士电话 丰县到苏州的大巴司机电话 东明县文化局电话 舟山定海东门车站电话 广州青年公园足球场电话 南陵汽车南站电话号码 南陵县客运总站电话 武汉如家电话号码 川菜馆富民店的电话 昆明十六中学教师电话号码 弓长岭假日温泉酒店电话 南陵汽车南站电话号码 欣食尚电话 88度温泉电话是多少 龙门麦可顿电话 长垣出入境咨询电话 鹰漠旅行电话 小河德克士电话 东明县文化局电话