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"
澜沧交通驾校投诉开封刘寺荣达驾校廊坊阳光驾校科三考试科目一是在驾校考么科目三驾校考试第三场澜沧交通驾校投诉康保驾校有哪几个廊坊阳光驾校科三考试开发区大开驾校报名处考驾校体检听你高频考驾驶证换驾校澜沧交通驾校投诉凯旋驾校练车场地考游艇驾照有那些驾校廊坊阳光驾校科三考试考驾校体检听你高频康龙驾校位置筠连驾校价格筠连驾校价格澜沧交通驾校电话多少开封恒运驾校考试场地筠连驾校价格开发区大开驾校报名处蓝翔驾校巨野报名费科目三驾校考试第三场开封南郊路通驾校科目一是在驾校考么蓝天驾校咨询电话南京澜沧驾校排名凯旋驾校练车场地万年前,上古剑仙击败外天逆世异族之主,封印虚空裂痕,后踪迹全无,独留青峰塔于世间; 万年后,无天剑祖因得青峰塔,遭挚亲背叛,身毁魂碎,随青峰塔跌落下界,机缘巧合附于宗门废徒苏煜身上,使他重踏修行之路; 本以为苏煜是天选之子,不料却是天忘之人,但这并不影响苏煜开启无敌征途,执剑踏天!搬家工人杨林因被挂钟砸头而穿越玄幻世界,并成为一个微末小村长。 可这世界众强争霸,山贼横行,凶兽成灾,危机四伏,常人根本难以生存。 还好杨林获得了超能力,不仅能加速事物成长,还能让事物发生变异。 从此,他种珍草,养灵兽,炼仙丹,修神通! 多年后,村子里灵气滔天,龙盘凤栖,万灵来朝,俨然一派圣地景象! 众国主:杨大人所指的方向,就是我们的战场! 众势力:这辈子最幸运的事就是成为杨大人的附庸! 隐居大能:在下前来向杨大人求药!扑通… 不知不觉,杨林已经天下无敌。 杨林:我发四,我的初衷只是为了活下去,根本没想要称霸啊… 三生三世终不见,一怒而断忘川河。地狱开局!穿越到异世界![奇幻魔法] 因为一场意外,幸福、快乐已经全都离我远去,现在的我,还能够追回吗? 【我的心底,满怀希望,同时也充斥着恐惧。】 是等待着命运的安排,选择逃避?还是无路可退? 也许,我已经找不回从前那种快乐的感觉了,因为我变了……变的陌生了,经历过这么多事,给我带来太多的仇恨与痛苦,或许我早已变成自己心里最痛恨的那种人吧…… 在这个黑暗的世界,连光明都是有罪!微风清拂海面,心中荡起波澜人生不止有眼前的苟且,仔细看,还有更远的...... 读者群:913285821主角无限强大,不管是在武力上还是智力上。主角永远是打不死的小强,即使他遭遇到在危险的境界,都会脱困,不管是因为什么奇遇啊还是他人解救。一块大陆上三个帝国的对抗 一次统一战争的过程 一次王朝的颓败与堕落 一次女主登临的时代 鹿死谁手,尚未可知……一觉醒来,这个世界再也不是熟悉的那个车水马龙的样子,纷乱的战火,各色的超能力,这是干嘛啊!觉醒了SSS级别的超能力,我是奶妈?不,我这是圣职者,惩戒与祝福才是我的专长,那个劳什子治疗,只是我附带的能力罢了!架空小说。 曹孟德的魏国一直持续到公元1984年,同样,刘玄德和孙仲谋的蜀国和吴国也是如此。 魏国于83年前从封建制和平演变为民主制,除了国名更改为大夏民国外,一切章法基本未变,皇室也象征性地保留着。 吴国于33年前变革体制,较魏国变得彻底了一些,最明显的就是婚姻制度实行一妻多夫制。 蜀国在今年年底也要对实行数千年的一夫一妻多妾制进行变草,是改为魏国的一夫多妻制,还是吴国的一妻多夫制,则要举行全民公投。 魏国15岁的宋琦仗着拥有上一世的记忆,在阴差阳错间改变了三国格局,统一三国,顺手还灭了恶邻倭国。同时顺应历史发展的潮流,婚姻制度实行最为文明的一夫一妻制。 恩格斯说:一夫一妻制家庭的产生和最后胜利乃是文明时代开始的标志之一。
末世游戏之魔法师 万历四十八年 堕神契约 无向之上 百思不得师姐 小白也有武侠梦 末世:吾乃上将潘风! 我用bug横扫异界 剑御苍穹 武侠五分钟 白与昼,黑与夜 极道痞子 为美好的末世献上祝福 全球觉醒:开局鬼焰降临 齐天云帝 重生之修罗大帝 逃亡游戏:我被全人类通缉了 阴阳与五行 三千道机 黑暗之中的光芒 科目三驾校考试第三场 开封刘寺荣达驾校 澜沧驾校排名 康兴驾校地址 科目三驾校考试第三场 考游艇驾照有那些驾校 澜沧交通驾校电话多少 开封路通驾校训练场 筠连驾校价格 蓝天驾校星期几不上班 澜沧交通驾校投诉 澜沧交通驾校投诉 考驾校都是体检什么 开封刘寺荣达驾校 凯旋驾校练车场地 康兴驾校的座机 澜沧交通驾校举报电话 筠连驾校价格 科目一是在驾校考么 凯旋驾校练车场地 开封恒运驾校考试场地 康保驾校 科目一是在驾校考么 开发区大开驾校报名处 开封路通驾校训练场 考驾校体检听你高频 筠连驾校价格 科目一是在驾校考么 廊坊阳光驾校总部地址 筠连驾校价格 康兴驾校地址 开封恒运驾校考试场地 康龙驾校位置 凯旋驾校练车场地 考驾校都是体检什么 康兴驾校的座机 康保驾校有哪几个 澜沧交通驾校电话多少 考驾校都是体检什么 康保驾校有哪几个 康兴驾校的座机 凯达驾校科三教练谁好 澜沧交通驾校电话多少 康兴驾校地址 考游艇驾照有那些驾校 考驾校都是体检什么 开发区大开驾校报名处 科目一是在驾校考么 澜沧驾校排名 康保驾校有哪几个 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 傲世苍穹之萧易传 风之奇迹 大人,时代变了 末日觉醒我在末世躺平了 滇楚黔秦 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 凯旋驾校练车场地 开封恒运驾校考试场地 康保驾校有哪几个 凯旋驾校练车场地 蓝天驾校咨询电话南京 康保驾校 康兴驾校的座机 蓝天驾校星期几不上班 康兴驾校地址 考游艇驾照有那些驾校 开发区大开驾校在哪了 考游艇驾照有那些驾校 澜沧交通驾校投诉 考驾驶证换驾校 开封刘寺荣达驾校 考驾照春晖驾校 开封路通驾校训练场 澜沧交通驾校投诉 凯达驾校科三教练谁好 考驾校体检听你高频 开封南郊路通驾校 凯达驾校科三教练谁好 康保驾校有哪几个 开封刘寺荣达驾校 康保驾校有哪几个 科目三驾校考试第三场 康兴驾校的座机 科目一是在驾校考么 澜沧交通驾校电话多少 筠连驾校价格