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"
清流客运站电话色达国际青年旅舍电话长寿客运中心电话簋街仔仔廊坊电话南浔大酒店电话清流客运站电话长春到白山快递电话号码长寿客运中心电话北京黄焖鸡米饭电话上饶玉山外卖电话有瓦房店西站车吗电话清流客运站电话三门到苏州汽车电话是多少时尚佳手机电话长寿客运中心电话上饶玉山外卖电话斯里兰卡电话卡多少钱庄寨汽车站电话庄寨汽车站电话人在日本国内打电话吗昭通君福来宾馆电话庄寨汽车站电话北京黄焖鸡米饭电话乐从天佑城售楼部电话南浔大酒店电话小户人家电话北京路簋街仔仔廊坊电话飞炫轮滑俱乐部电话全季酒店电话长沙东塘三门到苏州汽车电话是多少十余世的轮回,一生的痴缠苦恋,究竟是为了前世的荒唐而赎罪,还是为了千年的爱恋而痴狂? 只为那双独一无二的眼眸,他心甘情愿的为之反叛仙道、颠覆魔界,走遍天涯海角,只求永世相伴。 只为那颗一成不变的真心,她无所畏惧的陪他出生入死、浪迹天涯,穿越千山万水,惟愿携手夕阳。 然而,造化弄人。原本祥和安宁的世间,却偏偏因为一个不知所以的地灵而纷乱不断。人仙魔三界中的是非恩怨,总归一个“权”字而起,一个“情”而乱,一个“痴”字而迷,一个“释”字而终。 三界本无界,不过是一花一木一世界,一树一叶一菩提,自在其中罢了!穿越平行世界,参加选秀综艺,商献毫无意外成为偶像。 粉丝:明明可以靠脸吃饭,却偏偏靠才华,他重新定义了偶像! 商献:我不想做偶像啦,抄歌没有一点挑战性,想尝试去演戏! “人太帅,演什么都画风突兀,还是专心唱歌吧!” “这垃圾演技,安心当个偶像吧,演戏不适合你!” “演的什么鬼!差评!发首新歌我们才能原谅你!” ———— 多年后,当商献入选《时代周刊》年度风云人物,人们才恍然惊觉,这个偶像并不简单…… 年度风云人物评语:他创造了一个时代,在各种意义上!行星文明的尽头是升华还是毁灭? 站在行星文明的十字路口他会替人类做出正确的选择! “林诺,我不会放过你的。” “珍惜你的所拥有的时间吧,毕竟你拥有的时间可是不多了哦。” “不要走。” “你好,我叫星辰,星辰大海的星辰。”(一笑) “她是谁?我。。不记得了。” “这个世界,,不存在?” “我叫林诺,是一名高中生。。。” “前辈,让我们一起来玩游戏吧,哎嘿嘿……”夏牧穿越后秒变孤儿,紧接着全村被屠,侥幸逃脱。 身处陌生王朝的农民孤儿,前途未卜,可谓地狱开局。 好在他身怀“托梦成就系统”,只要完成成就便能召唤华夏千年的人才为己所用。 霸王,关二爷,岳鹏举,武媚娘……还不快到碗里来! 当他成为一州霸主,准备横扫天下时,他震惊的发现,原来“天选之子”不止他一人……一名普通职业经理人,意外魂穿到民国,成为一名军统特工,没有金手指,凭借前世的信息,依靠自己的知识并不断地学习、成长,在风云变幻的时代中为国家,为民族贡献自己的力量,并创造了一段段精彩的特工传奇……这是最坏的时代!这是好的时代!这是人类为刍狗的时代! 这是崛起的时代!崛起还是死亡?他会如何选择呢!一人,一刀,一马。少年走出家门步入江湖,辗转十数载,再回首已无归路。 我叫莫言,言而有信的言。有言在先的言!一个奋斗的小青年为寻求真相,潇漓开始踏足江湖,不想因此揭开一段被掩埋了二十多年的真相,而那正是潇漓所要寻找的…
这群穿越者有点憨 星河尊者 签到万年,身份被美女徒孙曝光了 万神宰 七步神灵 神界重启 异大陆之苏然传说 我一人挑翻万族 我在凡间当鬼差 风云宝剑录 乾坤阴阳录 一本更的很慢很慢的书 星际:炎黄崛起 跳下悬崖后,我开挂了! 平平的人生 无法逃离的网 平行重生 穿越2077 无限世界:请君入梦 黑鸦之吻 台山朱记电话 等你吧电话 斯里兰卡电话卡多少钱 庄寨汽车站电话 台山朱记电话 辽阳站前客运站电话多少 美团珠海市电话客服电话 成都东方租车电话 小户人家电话北京路 三门到苏州汽车电话是多少 北京黄焖鸡米饭电话 合肥工商局电话 乐从天佑城售楼部电话 上饶玉山外卖电话 昌都送外卖电话号码 南浔大酒店电话 美团珠海市电话客服电话 小户人家电话北京路 昭通君福来宾馆电话 清流客运站电话 等你吧电话 长寿客运中心电话 色达国际青年旅舍电话 时尚佳手机电话 上饶玉山外卖电话 乐从天佑城售楼部电话 小户人家电话北京路 色达国际青年旅舍电话 昭通君福来宾馆电话 小户人家电话北京路 南浔大酒店电话 等你吧电话 簋街仔仔廊坊电话 清流客运站电话 飞炫轮滑俱乐部电话 南浔大酒店电话 通辽星光罗曼电话 美团珠海市电话客服电话 乐从天佑城售楼部电话 通辽星光罗曼电话 南浔大酒店电话 中山市平安车站电话号码 人在日本国内打电话吗 合肥工商局电话 时尚佳手机电话 等你吧电话 北京黄焖鸡米饭电话 簋街仔仔廊坊电话 全季酒店电话长沙东塘 长春到白山快递电话号码 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 未日没神录:司令前传 剑世凡尘 古无 守望者:规则篇 撩哥撩妹 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 清流客运站电话 上饶玉山外卖电话 三门到苏州汽车电话是多少 成都东方租车电话 簋街仔仔廊坊电话 色达国际青年旅舍电话 飞炫轮滑俱乐部电话 中山市平安车站电话号码 庄寨汽车站电话 簋街仔仔廊坊电话 合肥工商局电话 庄寨汽车站电话 等你吧电话 斯里兰卡电话卡多少钱 等你吧电话 人在日本国内打电话吗 成都东方租车电话 丹东希悦蛋糕电话 台山朱记电话 色达国际青年旅舍电话 济南绿茶餐厅电话号码 长寿客运中心电话 济南绿茶餐厅电话号码 台山朱记电话 斯里兰卡电话卡多少钱 长春到白山快递电话号码 全季酒店电话长沙东塘 斯里兰卡电话卡多少钱 北京黄焖鸡米饭电话 乐从天佑城售楼部电话