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"
火车票车站取票时间曲靖市火车站公交车路线不到米的孩子要买火车票嘛内江到咸阳火车时刻表一列火车返于芜湖杭州火车票车站取票时间从郑州至海口的火车票价是多少不到米的孩子要买火车票嘛青岛 火车站问询处哈尔滨东至丹东火车时刻表安徽淮北至郴州的火车票多少钱火车票车站取票时间段集至杭州的火车票安徽淮北至郴州的火车票多少钱不到米的孩子要买火车票嘛大同到陕西咸阳的火车k912到洛阳那个火车站一列火车返于芜湖杭州一列火车返于芜湖杭州大同至秦皇?u火车沿线车站郯城到扬州的火车票息县到襄阳火车站青岛 火车站问询处辽宁朝阳到密云北火车黄石至厦门火车票z70到北京火车票价格内江到咸阳火车时刻表从温岭到宿州的火车大同至秦皇?u火车沿线车站泉州到广州东的火车票修真之路,就是血腥的杀伐之路,明君临所经之处,留下一段段传奇!魏和平在迷茫中穿越到了平行世界,无意中发现了系统的存在,他该勇往直前,还是猥琐发育,我决定要安全的浪。年复一年,岁月荏苒,周转轮回。天地大变又一次降临天有轮回,世有尽头。天将毀,世将灭,万古英雄终齐聚,天道湮灭留落凡间的风帝之子-林叶天。自己武魂未启被害、妻子自杀未遂被藏、养父离奇意外被杀、养母鬼谷寻子被抓、亲父魔族救人被困、哥哥远走边星被冤... 仿佛这一切都是有人故意针对他设的一个个圈套,为改变人生、解开谜团、报仇雪恨、寻找亲人、解救苍生。林叶天上闯九天万千世界,下入地狱无边苦海... 主角人物:左倾天 故事背景:,前役人族大帝陨落已有300多年,人类失去天生特性,又惨遭其他种族压迫,在这个时候,一位拥有万古绝世气概的男人左倾天站出来说:我要修练成大帝!夺回我们人族的尊严,然后再让其他所有种族都拜倒在我们脚下,我说到做到! 人物背景:左倾天出生在一个没落修真家族,但他从小受到爷爷的教育,做事只有不择手段才能最快达到目的,人要做就做万人之上,绝不要甘于人下,然而左倾天资质平平,只入了青华山青仙派山脚下做了一杂役弟子混混度日,直到一天,在一次竹林的任务中,偶然般的捡到了一现役入门弟子的令牌和其储物袋,在四处打听过其身份后,才安然代替其身份混入门派中。纵使我一身落魄,我亦要修炼。人们努力追寻先者的遗迹,却从来看不见后来者的努力。神明用阴谋换来世人的信仰,后来者用鲜血改变他们所创造的世界。龙所走过的路,是龙途,亦是龙屠。20世纪三好青年穿越到洪荒大陆,与三清结拜,与十二祖巫结拜,复活盘古,征服其他神话。牧锋怎么也没有想到,自己作为RSF(区域安全部队)的一张王牌,过去和自己交手的不说是顶级的超能力罪犯吧,好歹也是个有头有脸,翻手为云覆手为雨的大人物,但是现在他居然要去给一个别人当保镖。 “就算你说她是百年难得一见的美女我也不想去啊...” “不行,别的都好谈,只有这件事情免谈,太丢人了啊” “什么?你说月薪五万,包吃包住,还都是局里面掏钱?” “好!别说保镖,我给她当保姆都行!” ...... 但是这件事情似乎并没有牧锋一开始想的这么简单,因为... 自己第一天就被自己的保护目标,也就是这个叫做林婉瑶的女人给放了鸽子。 “怎么会有人去放保镖的鸽子啊!!!”正义也许会迟到,但是绝对不会缺席! 男人都要学会自己长大,面对所有荆棘坎坷,只有奋不顾身,勇往直前!能拯救你的,只有你自己! 抖音同号:秋风听雨
地球男孩 沧御 因,果 这个魔方不太普通 大明风云之锦衣镇山河 抚爱的折痕 隐逸零都 超可爱异灵现象研究部 吃阴间饭的那几年 活死人围城 绿水青山小山村 惊悚游戏:鬼也得讲道理啊 光明暗裔 神灵星空! 人工智能之傀儡大宗师 重生之我的辉煌人生 仙帝途 元素宠师 凝视深渊之深海迷踪 末日小红兵 哈尔滨东至丹东火车时刻表 辽宁朝阳到密云北火车 内江到咸阳火车时刻表 z70到北京火车票价格 哈尔滨东至丹东火车时刻表 段集至杭州的火车票 黄石至厦门火车票 大同至秦皇?u火车沿线车站 南昌火车站至丰矿 火车票车站取票时间 息县到襄阳火车站 息县到襄阳火车站 从郑州至海口的火车票价是多少 从东营到平阴火车 有南通到海宁的火车票 曲靖市火车站公交车路线 黄石至厦门火车票 南昌火车站至丰矿 查南京到扬州的火车 邯郸双层火车 辽宁朝阳到密云北火车 青岛 火车站问询处 大同到陕西咸阳的火车 石家庄到南峪火车票 大同至秦皇?u火车沿线车站 从郑州至海口的火车票价是多少 南昌火车站至丰矿 大同到陕西咸阳的火车 查南京到扬州的火车 南昌火车站至丰矿 z70到北京火车票价格 辽宁朝阳到密云北火车 北京至高阳县火车票 邯郸双层火车 从郑州至海口的火车票价是多少 曲靖市火车站公交车路线 郯城到扬州的火车票 黄石至厦门火车票 从郑州至海口的火车票价是多少 郯城到扬州的火车票 曲靖市火车站公交车路线 文登至临沂火车 鹤壁至南阳火车票多少钱 一列火车返于芜湖杭州 石家庄到南峪火车票 辽宁朝阳到密云北火车 息县到襄阳火车站 黄石至厦门火车票 从东营到平阴火车 k912到洛阳那个火车站 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 网游:神级宠物助我升级 太易神界 重返奥德赛 末世魔潮 剑狂无酒 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 大同至秦皇?u火车沿线车站 息县到襄阳火车站 火车票车站取票时间 大同至秦皇?u火车沿线车站 从东营到平阴火车 k912到洛阳那个火车站 邯郸双层火车 辽宁朝阳到密云北火车 青岛 火车站问询处 查南京到扬州的火车 北京至高阳县火车票 查南京到扬州的火车 上海火车站直达茂名火车站 大同到陕西咸阳的火车 z70到北京火车票价格 段集至杭州的火车票 石家庄到南峪火车票 上海火车站直达茂名火车站 辽宁朝阳到密云北火车 石家庄到南峪火车票 查南京到扬州的火车 从温岭到宿州的火车 文登至临沂火车 息县到襄阳火车站 文登至临沂火车 邯郸双层火车 不到米的孩子要买火车票嘛 邯郸双层火车 泉州到广州东的火车票 青岛 火车站问询处