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"
儿童汽车半票标准太姥山汽车站时刻表莱阳到文登的汽车宁波红梅新村到汽车临时南站东海至徐州汽车儿童汽车半票标准龙岩火车站到汽车站莱阳到文登的汽车烟台汽车 乳山景德镇到抚州汽车时刻表苏州汽车北站 停车莱阳到文登的汽车普陀城北汽车站时刻表平沙汽车客运站杭州到西塘汽车时刻表景德镇到抚州汽车时刻表平南汽车站 搬迁上海汽车票余票查询上海汽车票余票查询永康到上虞汽车时刻表杭州到黄山景区汽车上海汽车票余票查询烟台汽车 乳山湛江到肇庆汽车东海至徐州汽车明光到南京的汽车多少钱厦门到武平汽车要多久湛江到肇庆汽车永康到上虞汽车时刻表普陀城北汽车站时刻表 漫天风沙,我于中独站 五族纷争战不断, 三国史实卷中现, 为得永生长修道, 万法归一只逆天。 异境修仙,只得逆天,任意杀戮,天地共怒,若无后源,人神必灭。 世尊苍天,其女名杰,上古平乱,世尊圣女,其有词,临江赋―大江东去明月夜,千里碧霞寒光生,江明月,对影浊,月映当空星自薄,临望江面银闪烁,东进山,踏峰坡,游牧组中将临敌,吾族儿女何惧多,对阵南蛮欲血搏,将临难,欲长歌,声划长空欲九霄,势破地渊惊醒天,举剑指天问明月,映在高空何时多,吾虽柔弱小女子,愿做杀敌女丈夫,守吾华下永太平,父乃上古一天帝,子女岂能弱丈夫,今日挥剑立天地,誓守吾族疆域全,那怕上存一气在,战至身死不退步,即便不幸离于世,凝心聚魂守疆土。其实每个人的心中都有遗憾神仙也要凡人做,然而修真文把修行写的如同魔道,真正的修行不在于声色有形,而在于无形,即使是修魔也不会像修真文那样,真正的修行界应该是什么样的呢?由我的文字给你展开,也由我的心为你们展开别人的高三可能都是抓紧时间去考大学,而他的高三却是在生死之间徘徊,甚至干脆直接就冒着生命危险去和凶手对峙了。当然虽然这份人设有点过于单调,所以说在这过程中也是开开后宫。玩弄并感受着人情世故,也被人情世故玩弄着,或许这就是人生吧。 明显最开始,只要不去刻意的管的话,那么一切都是安稳起来的。但是因为有着强大的好奇心,所以便有了之后的这份回忆录…“我会死吗?” “不会,因为你选择了我。”热闹繁华的京城长安发生了一起大案,御史刘文龙被杀,京兆尹崔值奉圣命查案,捕头李成峰和师妹唐婉二人与杀手展开惊心动魄的争斗。最后凶手被诛。二人隐入山中。凌晨夜里小马鏖战了半年的程序就要正式上线了,上线的过程中Bug不断,重重的黑眼圈印在脸庞,心想千万不要再有这种空格,字符,数据类型的Bug了,太tm难找了,眼睛死死的盯着屏幕上运行的日志。 Started BookApplication . . . . . ,看到成功的标志,激动的跳了起来,当天夜晚,想着自己的项目奖金,鼾声渐起..........,细细簌簌的听到您再通融通融小儿还在养病暂缓几日一定将小钱补齐,我眉头紧蹙,小钱?官人?什么鬼。我怎么睁不开眼,浑身无力。。。。我的第一个小说,想以小说的形式描绘出我(一个肥宅)的幻想世界,故事中男主黑屿在夜晚意外觉醒了沉睡已久的超能力【罗生门】,这是一种通过达成未知条件来不断进化的能力,他将使用【门】中封印的【们】以【漆黑】追逐光明李倾发现自己穿越到了一个被游戏化的世界。 在这个世界里,每个人都要靠自己的天赋来选择职业,提升等级。 职业和等级,决定着社会地位和薪水高低。 而李倾意外觉醒了RPG回合制天赋。 打怪流能获得经验和道具! 【你击败了装逼的同学!】 【恭喜你获得技能[大逼兜子]】 【你击败了恶心的上司!】 【恭喜你的职业晋升为[部门经理]】 【你击败了烦人的富二代!】 【恭喜你获得跑车一辆!】 李倾靠着一手大逼兜子,奖励拿到手软,巴掌扇到手酸,升级快到飞起! “平均十级的同学聚会,你让我这个60级的怎么去?” 简介无力,请看正文!
九梦天局 命运狂人 我的美食帝国 缚神凌仙 元宇宙天宫 全球尸潮:开局获得军火库 巅峰暗龙 优秀了我为什么找你 不正常式生活 异世界:法师之路 烬中诗 墨羽笙箫传 神探张天海 飞星坠海记 羽毛球无敌的我只能穿越了 生存空间:我能看见提示 西游:开局表白百花仙子 异瞳者1 圣灵星皇子到地球做大少 转生异界百兽岛之史莱姆篇 淮南到温州汽车 武汉傅家坡长途汽车站时刻表 平南汽车站 搬迁 东海至徐州汽车 淮南到温州汽车 桐庐长途汽车站 平南汽车站 搬迁 嘉峪关到哈密汽车 明光到南京的汽车多少钱 天长到滁州的汽车 烟台汽车 乳山 成都 宜宾 汽车票 滁州到铜陵汽车时刻表 武汉傅家坡长途汽车站时刻表 儿童汽车半票标准 东海至徐州汽车 福州到宁德汽车时刻表 明光到南京的汽车多少钱 仲恺汽车站到广州 莱阳到文登的汽车 武汉傅家坡长途汽车站时刻表 杭州到西塘汽车时刻表 太姥山汽车站时刻表 平沙汽车客运站 景德镇到抚州汽车时刻表 滁州到铜陵汽车时刻表 明光到南京的汽车多少钱 太姥山汽车站时刻表 仲恺汽车站到广州 明光到南京的汽车多少钱 东海至徐州汽车 苏州汽车北站 停车 宁波红梅新村到汽车临时南站 儿童汽车半票标准 湛江到肇庆汽车 东海至徐州汽车 宁波红梅新村到汽车临时南站 平南汽车站 搬迁 滁州到铜陵汽车时刻表 杭州到西塘汽车时刻表 厦门到武平汽车要多久 天长到滁州的汽车 嵊州到新昌汽车时刻表查询 福州到宁德汽车时刻表 平沙汽车客运站 武汉傅家坡长途汽车站时刻表 成都 宜宾 汽车票 厦门到武平汽车要多久 滁州到铜陵汽车时刻表 龙岩火车站到汽车站 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 我不做老千好多年 续玉 关于我重生了却失忆这件事 我在末世,我叫刘意 新化道有情 皇冠登3出租 澳门葡京游戏官网 澳门葡京官网 皇冠登3出租 亚星官网 杭州到西塘汽车时刻表 武汉傅家坡长途汽车站时刻表 杭州到西塘汽车时刻表 儿童汽车半票标准 厦门到武平汽车要多久 仲恺汽车站到广州 明光到南京的汽车多少钱 淮南到温州汽车 平沙汽车客运站 宁波红梅新村到汽车临时南站 平沙汽车客运站 平南汽车站 搬迁 福州到宁德汽车时刻表 平沙汽车客运站 嵊州到新昌汽车时刻表查询 福州到宁德汽车时刻表 杭州到黄山景区汽车 杭州到黄山景区汽车 天长到滁州的汽车 景德镇到抚州汽车时刻表 淮南到温州汽车 杭州到西塘汽车时刻表 厦门到武平汽车要多久 宁波红梅新村到汽车临时南站 桐庐长途汽车站 开化到上海汽车 成都 宜宾 汽车票 湛江到肇庆汽车 永康到上虞汽车时刻表 湛江到肇庆汽车