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"
ems温州处理中心电话号码ems国际邮政小包查询电话ems温州处理中心电话号码ems乌鲁木齐电话是多少ems乌鲁木齐站点电话ems国际快递嘉兴查询电话ems德州电话号码ems温州电话查询ems的电话是多少ems无锡站点电话查询ems无锡网点电话查询ems温州处理中心电话号码ems德清电话号码ems无锡电话查询ems温州电话查询ems无锡站点电话查询ems德州电话是多少ems乌鲁木齐总部电话是多少ems乌鲁木齐总部电话是多少ems国际快递费查询电话ems的快递单号查询电话ems乌鲁木齐总部电话是多少ems的电话是多少ems国内快递电话号码ems乌鲁木齐站点电话ems国内快递查询电话ems乌鲁木齐电话是多少ems国内快递电话号码ems国际快递费查询电话ems德清电话号码天赋异禀的李正在梦里重获天眼技能,开启了人生的新篇章。在协助林娇娇解开她扑朔迷离的身世之谜过程中,李正历经了波谲云诡的奇遇,遭遇了不明来历者的重重绞杀。最终打开了连通意识和现实的通道大门。虽解开了林娇娇的身世之谜,却触发了历史倒转的开关。 为了维护现实世界的安全,李正在意识世界里的众位隐士高人帮助下,终于淬炼出了真身。只是这位天之骄子要如何从千军万马中杀出重围,阻止历史篡改者试图从意识通道重回现实世界独霸天下的野心呢……神话神兽,寻得九影,路途艰辛,似已西游记天合神州,大岚王朝。 有那么几个见过世间百态,历尽天下万事,到头来却死得默默无闻的老侠客。 有那么一个被骂为窃天下之贼的前朝太子。 有那么一个背负双亲之仇,隐姓埋名的大户之后。 有那么一群死守国门,却被朝堂弃如敝履的将士。 还有…… 算了,还是不说了。 他们的故事,岂是一言可以蔽之? (对了,还有武林外传的老几位!)道上混的唐小雷,意外奇遇,开启了传奇人生,从此玩转黑帮、财团、毒枭、政客...中央电视台中文国际频道长江行文字版。本作品讲的是一个不知名的小人物一步一步成为仙界至尊武道巅峰的故事我本是一个很普通的心理医生,在城市的各个角落里为人们治疗心理疾病,当中有罪犯,有学生,有明星,有作家,当然他们也可以是一个人。一次偶然的机会梦中醒来,我竟发现我的身旁多了一块儿神奇的怀表,只要一旦摁下它,对面的内心就如同一本书一样展现在我的面前,人性的腐败与光辉,扭曲的想法与变态的心理,是给予堕落的天使救赎?还是一同堕入黑暗?欢迎和我一起进入影子的世界。我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。穿越大明,成了木匠皇帝的弟弟,大明信王朱由检。 上一世太累,这一世就想混吃等死,逍遥自在。 可是大明朝日薄西山,要想享乐就要先拯救大明朝,要想拯救大明朝就不能好好享乐,朱由检表示麻了。 于是木匠皇帝成了科学狂人,魏忠贤成了忠实的狗腿子,吴三桂成了专业打手……亦木墟历练归来时见到家族覆灭,发誓欲要血刃仇敌,报其家恨。 闯秘境,夺至宝,守边疆,战万族。 沧海一粟,修行千秋,蝼蚁尚且贪命,诸天生灵皆在争渡。 一颗黑球可炸山镇海,一杆长枪可斩万千神明。 是非对错唯有强者定义,弱者只配臣服。 武道九重,上为天地境。 当末法时代结束,修行元气重归上古。 整个修士界,皆因亦木墟的一颗轰天雷,即将暴走...
天生王侯 无敌大帝之灵气大陆 浔城英雄传 我是谁?我是,蜘蛛侠 应是如此江山 药司 平凡的我却被萌妹子青睐 我一生中佼人 鲸落与烟火:渣滓 天命葬师 初级博弈2:生命永存 破神之途 玄幻:我竟是无敌强者 天下神少 上门猛婿 摸金秘闻 我真的不是绝世高人啊 伯爵石城之大乘洞天 网游之开局获得神级传承 重生离婚当天,我成了宠妻奶爸 ems温州处理中心电话号码 ems德州速递处理中心电话 ems国内快递查询电话 ems德清电话号码 ems温州处理中心电话号码 ems乌鲁木齐处理中心电话号码 ems国内快递单号查询电话 ems的电话是多少 ems温州电话查询 ems的快递单号查询电话 ems国际快递电话号码 ems国内快递电话号码 ems乌鲁木齐站点电话 ems德州速递处理中心电话 ems无锡网点电话查询 ems德清电话号码 ems国内快递单号查询电话 ems温州电话查询 ems国际快递服务电话 ems无锡站点查询电话 ems德州速递处理中心电话 ems无锡站点电话查询 ems国际快递嘉兴查询电话 ems德州电话号码 ems的电话号码查询 ems乌鲁木齐站点电话 ems温州电话查询 ems国际快递嘉兴查询电话 ems的快递单号查询电话 ems国内快递查询电话 ems乌鲁木齐站点电话 ems无锡站点查询电话 ems乌鲁木齐处理中心电话号码 ems国际快递嘉兴查询电话 ems国内快递电话号码 ems乌鲁木齐站点电话 ems乌鲁木齐处理中心电话号码 ems德州电话是多少 ems国际快递电话号码 ems温州电话查询 ems乌鲁木齐电话是多少 rin快递电话 ems国际快递服务电话 ems的电话号码查询 ems无锡电话查询 ems无锡站点查询电话 ems的电话号码查询 ems乌鲁木齐电话是多少 ems国际快递电话号码 ems德州电话号码 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 诸天传说系列集 风暴战纪 黑洞末 桃源十三灾 我竟成了女主的召唤骷髅兵 亚星管理平台 亚星官网 万利官网 亚星管理平台 澳门葡京官网 ems国际快递电话号码 ems国际快递服务电话 ems乌鲁木齐电话是多少 ems德州电话号码 ems的快递单号查询电话 ems无锡站点电话查询 ems德州速递处理中心电话 ems无锡电话查询 ems国际邮政小包查询电话 ems德清电话号码 ems国际快递服务电话 ems国际快递服务电话 ems国内快递查询电话 ems国内快递单号查询电话 ems的客服电话是多少 ems国际邮政小包查询电话 ems的电话号码查询 ems国际快递费查询电话 ems乌鲁木齐处理中心电话号码 ems德州处理中心电话号码 ems的客服电话是多少 ems温州处理中心电话号码 ems德州电话是多少 ems乌鲁木齐总部电话是多少 ems国际邮政小包查询电话 ems德清电话号码 ems国际快递服务电话 ems国际快递服务电话 ems德州电话号码 ems德州电话是多少