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"
桐庐县茅台酒回收价格高压洗车机价格图片28光盘彩印机价格无印良品眼罩价格五粮液富贵百年价格盖通钙铁锌硒价格敏力克价格光盘彩印机价格蒸发皿60的价格15匹马力柴油机的价格ZYS轴承价格桐庐县茅台酒回收价格pu刻字膜价格赣州哪里回收废品的价格更高光盘彩印机价格15匹马力柴油机的价格盘鹰轮价格windows 企业版 价格windows 企业版 价格正版微软系统价格治地蛆的农药及价格windows 企业版 价格蒸发皿60的价格nike官网和实体店价格一样吗五粮液富贵百年价格上海青山西装价格无印良品眼罩价格nike官网和实体店价格一样吗大依修斯价格pu刻字膜价格一个来自监狱的少年,十八岁生日那天获得了一个超级监狱系统。 可是,这个系统里都是些什么乱七八糟的东西啊? 溜门撬锁?——拜托,卿本佳人奈何做贼啊! 刨坟掘墓?——喂喂喂,那可是陵迟之罪,要满门抄斩挫骨扬灰的好吧? 赌术?——好吧,这东西总算还有点儿用,不过听说开赌场的都是黑老大? 枪术和拳法?——老子身经百战横扫怒水监狱无人敢惹,我还需要学这个? 跟罪犯交流的宝贵机会?——你以为小爷我从小生活在监狱是跟公知和大学教授打交道么 ? 三观不正的监狱系统和无节操无下限的少年,能擦出什么样的火花?人类不感谢罗辑原在海外执行任务的萧剑沣被师傅召回去营救白泰国际集团董事长儿子,从此进入都市发展,一路美女相随,一路护花除恶,最终抱得美女一大堆。身世神秘的张小凡,自小与姐姐穆念念生活在一起;后来得知自己身为凡体六脉不通,命不过十八。而云周城武神殿或记载改命之法。张小凡遂决定下山一搏。因缘际会之下,张小凡抵挡住了种种势力的打压,迈过修行关隘,也结识了少年天才南风、风族公主美杉这些挚友,在他们的帮助下,张小凡在强手如林的“强者试炼”中拔得头筹。谁曾想,这一切只是开始,随着天下格局的变动,张小凡发现自己已然身不由己地卷入一场巨大的阴谋……。。老金老王本是天才却被误认为是废物,偶遇若子轩,从此踏上修仙之路。刘小狗本是村中一霸,外号村里一枝花, 自从从废品站捡到了一台二手破电脑, 刘小狗罪恶的发现,电脑上面竟然可以连接20年以后的互联网。 从此,便开启了刘小狗的罪恶人生。然爱心盼今身付,故瑶无悔千里寻!夜半梦醒红妆泪,抚琴扰绪恨难平!地幽凰鸣孤仟影,初心不变万世情!楼窗望月忧愁梦,奈何红殷落他身!爱恨情仇姻缘起,瑶琴仟梦负心零! 蓝星人族降临无尽大陆,成为县令,这里万族争霸。 降临之初,每位县令都会随机获得一座县城和兵营。 招募兵种,掠夺资源,建立王朝,争霸万族! 而白源发现,自己竟然可以给兵营、建筑、文臣武将甚至是自己刷词条! 金色词条【真龙天子】【治世贤臣】【乱世虎将】【天官赐福】 紫色词条【破军煞气】【金戈铁马】【平定一方】 白源将自己的麾下全部刷出神级词条,带领着自己的文臣武将,从一介小小县令开始,踏上万族争霸的无尽征程,慢慢的,他站在了世界的最高处,从零开始打造了无上神朝! 它就在身边 世界一片阴霾 黑暗也迅速降临 在伸手不见五指的情况下 我又能做什么 身上也越来越冷 如果人生可以重来,你会如何度过一生 这句话如果是穿越之前有人对江武说,江武肯定滔滔不绝说上一天 可穿越之后,还有人这么对他说的话,江武会告诉他,随便过。 因为江武的人生可以重来无数次……
人在娘胎,就已无敌 带着仓库去三国 逆天改命后我封神了 我是大主祭 可乐鸡可乐 玄幻:华夏玄学院继承人 死亡游戏np主受 哇噻,我成了非洲马赛人! 修仙大佬重生异世界之旅 血与火之歌:北境之王崛起 青灯若梦 小玄子与方苏昕 末日余烬 神秘维度 恶魔之剑的诞生 魂穿之我是雷帝 从零开始之始动 仙始修魔 染指昙花香 玄幻:我能提取血脉之力 纯手工西服价格 5马力汽油机价格 盘鹰轮价格 windows 企业版 价格 纯手工西服价格 警猫380价格 微整容价格 必咳平价格 上海青山西装价格 pu刻字膜价格 蒸发皿60的价格 广西金龙74毫米香烟及价格 罗曼康帝红酒价格表? 15匹马力柴油机的价格 盖通钙铁锌硒价格 五粮液富贵百年价格 微整容价格 上海青山西装价格 治地蛆的农药及价格 桐庐县茅台酒回收价格 5马力汽油机价格 光盘彩印机价格 高压洗车机价格图片28 赣州哪里回收废品的价格更高 15匹马力柴油机的价格 罗曼康帝红酒价格表? 上海青山西装价格 高压洗车机价格图片28 治地蛆的农药及价格 上海青山西装价格 五粮液富贵百年价格 5马力汽油机价格 紧定管价格 桐庐县茅台酒回收价格 nike官网和实体店价格一样吗 五粮液富贵百年价格 紧定管价格 盘鹰轮价格 罗曼康帝红酒价格表? 光盘彩印机价格 无印良品眼罩价格 opao1100手机价格 正版微软系统价格 广西金龙74毫米香烟及价格 赣州哪里回收废品的价格更高 5马力汽油机价格 广西金龙74毫米香烟及价格 无印良品眼罩价格 大依修斯价格 敏力克价格 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 今宵杯中映明月 护妻战帅 封魔榜单 来自地狱的人类鬼差 救赎黑暗 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 茜熙化妆品微商进货价格 警猫380价格 15匹马力柴油机的价格 盖通钙铁锌硒价格 盘鹰轮价格 赣州哪里回收废品的价格更高 纯手工西服价格 纯手工西服价格 5马力汽油机价格 15匹马力柴油机的价格 windows 企业版 价格 敏力克价格 必咳平价格 治地蛆的农药及价格 广西金龙74毫米香烟及价格 正版微软系统价格 pu刻字膜价格 蒸发皿60的价格 警猫380价格 敏力克价格 桐庐县茅台酒回收价格 高压洗车机价格图片28 盘鹰轮价格 ZYS轴承价格 紧定管价格 紧定管价格 正版微软系统价格 盖通钙铁锌硒价格 nike官网和实体店价格一样吗 windows 企业版 价格