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"
柯桥到温州汽车张家港到余姚汽车时刻表温州到天台汽车时刻表温州到贵阳长途汽车兰溪到温州坐汽车要多久柯桥到温州汽车南充 拉萨 汽车温州到天台汽车时刻表松江长途汽车站电话梅州到龙岩的汽车富乐汽车站网上订票温州到天台汽车时刻表瑞安 到新昌的汽车票价富乐汽车站网上订票中山到上海的汽车票梅州到龙岩的汽车林芝到香格里拉汽车杭州汽车西站到浙二医院兰溪到温州坐汽车要多久上虞有几个汽车站上海南站到上海汽车南站杭州汽车西站到浙二医院松江长途汽车站电话温州到柳州汽车温州到青岛汽车票价瑞安到建德汽车温州到青岛汽车票价温州到赤壁汽车上虞有几个汽车站中卫到白银的汽车当手摘星辰,脚踩日月不再是意象。 当无数先辈为开天路而撞死在天门外。 当星空万族为祭品,成就一人无敌。 当星空与仙,展开激烈的争斗。 老婆出轨,兄弟反目,三十岁那年我遭遇了人生的滑铁卢! 金钱之下,每个人都面目狰狞,亲人的背叛,朋友的贪婪,无数只魔掌将我推进绝望的深渊,让我不得不挣扎地想要爬起,去触碰那一片属于我的骄阳! 《人到中年》,不一样的视觉盛筵!喜欢的读者记得打赏、推荐,多多支持,你的肯定,是我最大的动力! 在空灵大陆上,修为决定着每个人的命运。大陆上,人的修为分为融体境,坚身境,铸心境,幻灵境,天元境,破玉境,芥子境,真元境,虚仙境,天神境,能登上天神境的强者少之又少,男主元翼在磨难中一步一步成长,在他向往的世界里,爱过,失去过,被人背叛过,终成一代强者。【原神同人作品,非后宫,非无敌,或许会有小刀刀】 高崖上,少年面色一冷,面对着敌人,冷冷的开口。 “尔等,也想见识一下吾之永恒吗?” 没等前方领头的男人开口,只听少年低吟道 “无念,断绝!”本书正在大改,作者会尽快修改完毕。 ———— 威信公众号:竹楼听细雨 欢迎大家加入一块废铁竟是上古神明的遗物?八大神系不仅仅是传说?博物馆中的藏品竟是力量来源。在这个神迹时代,孙兴拥有了整个大陆藏品最为丰富的博物馆,诸神随之调动,人治时代从此开启!天道有缺,世间最强体质神魔霸体被天道所摒弃,十五年忍辱,终将迎来曙光! 大道枷锁自束己身桎梏又如何?我自当逆战苍穹,笑傲九重天,神挡杀神,佛挡弑佛,逍遥天地间! 一日破关,我为尊,一拳荡寰宇,一脚山河溃,一静万物生,一动诸天陨,一念可化阴阳轮回,一念可镇压永恒万古! 我为太古第一神王,天骄至尊皆是我帝路上尸山血海! 我当以一双铁拳,粉碎诸天万界,天道也不行!淮南大学历史系研究生许攸因意外卷入命案,与刑警支队队长喻归远相识,旧案未破,新案叠出,性格迥异的两人也在案件的不断侦破下,从初识的看不惯到彼此理解,成为惺惺相惜的挚交。仙鹤公主,在寻找曾经救过她的人 最后发现是死对头 魔尊借此机会挑唆二人关系 最后二人一起打败魔尊人类起源永远是个猜想,或者我这个猜想才是真正的样子。这本书描述了一位创世者如何创世并见证了地球人类的发展。通过他的见证,让我们更多的了解哲学,或者说了解天道天理。
雷落里希 世间至强师徒 夕阳下的拾荒者 废柴的自我救赎 幻梦,凡 穿越回三国:一统天下 次元大陆:中星 现世界合成指南 身为勇者竟然爱上了魔王 五行棺 仇恨效应 虚假的 我不是神父 最后纯血统 天下平安 守我的规矩 武震江山 吾剑永恒 地兽 破天机系列之海妖抚仙山 汽车站行李寄存 龙口长途汽车站时刻表 林芝到香格里拉汽车 兰溪到温州坐汽车要多久 张家港到余姚汽车时刻表 温州到赤壁汽车 林芝到香格里拉汽车 武昌到温州的汽车 瑞安到建德汽车 瑞安 到新昌的汽车票价 昌都到拉萨汽车 昌都到拉萨汽车 新昌到嘉兴汽车时刻表 龙口长途汽车站时刻表 柯桥到温州汽车 兰溪到温州坐汽车要多久 抚州到上饶的汽车 汽车站行李寄存 新昌到温州汽车时刻表 温州到天台汽车时刻表 龙口长途汽车站时刻表 温州到天台汽车时刻表 新昌到温州汽车时刻表 杭州汽车西站到浙二医院 梅州到龙岩的汽车 新昌到嘉兴汽车时刻表 汽车站行李寄存 新昌到温州汽车时刻表 新昌到温州汽车时刻表 瑞安到建德汽车 兰溪到温州坐汽车要多久 路桥到瑞安汽车 温州到贵阳长途汽车 柯桥到温州汽车 温州到柳州汽车 温州到青岛汽车票价 温州到贵阳长途汽车 林芝到香格里拉汽车 温州到柳州汽车 中山到上海的汽车票 温州到青岛汽车票价 武昌到温州的汽车 上虞有几个汽车站 抚州到上饶的汽车 富乐汽车站网上订票 路桥到瑞安汽车 昌都到拉萨汽车 温州到青岛汽车票价 新昌到嘉兴汽车时刻表 温州到周口汽车 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 修仙证长生 战魂铭人中的替身使者 超级模拟器,穿越,重生! 欲之诡 符塔 AG真人 欧博官网 亚星游戏官网 AG真人 百家乐官网 柯桥到温州汽车 兰溪到温州坐汽车要多久 温州到周口汽车 新昌到温州汽车时刻表 温州到贵阳长途汽车 抚州到上饶的汽车 路桥到瑞安汽车 汽车站行李寄存 梅州到龙岩的汽车 温州到柳州汽车 温州到柳州汽车 中卫到白银的汽车 中卫到白银的汽车 龙口长途汽车站时刻表 昌都到拉萨汽车 温州到周口汽车 温州到赤壁汽车 张家港到余姚汽车时刻表 温州到贵阳长途汽车 林芝到香格里拉汽车 上虞有几个汽车站 兰溪到温州坐汽车要多久 温州到赤壁汽车 梅州到龙岩的汽车 温州到天台汽车时刻表 温州到赤壁汽车 抚州到上饶的汽车 瑞安 到新昌的汽车票价 中卫到白银的汽车 路桥到瑞安汽车