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"
美发国产微电影电影+花瑶情美发电影电影大全周星驰人生整理日本电影美发国产微电影阳光下的星期一 电影美发电影低胸诱惑电影在线观看关于催眠悬疑的电影2015最佳电影观后感美发电影微电影 告白最佳电影观后感美发电影9月30日cctv电影意大利男男电影情敌 电影人生整理日本电影秃鹰72小时 电影介绍类似日出之前的欧美电影情敌 电影低胸诱惑电影在线观看电影蚁人评论猎人游戏电影剧情介绍韩国电影 妓女 很长猎人游戏电影剧情介绍猪八戒后传电影秃鹰72小时 电影介绍内地强奸片电影从云巅放逐到夜城,云巅弃子楚天成意外成为了超人类,夜城的局势也随之变得日益复杂,超人类,修行者,吸血鬼,狼人,女巫,甚至还有外来异族等等,相互之间,勾心斗角,暗流涌动,随着一场场阴谋浮出水面,楚天成发现他的身世竟另有玄机。 我是谁?不重要!谁对我好,我就对谁好!谁若害我,捶!从神婆手中得了只女鬼后,古夜开始了修真之路的故事……苍穹之下,众生如蝼蚁。 道门之下,凡人如草芥。 与世隔绝的灵溪村,因为一件法器遭受灭顶之灾。 少年陈元在这场灾难中死而复生,并意外拜入宋国境内的一方修仙道门,自此踏上一条修仙路……述说异世大陆,种族纷争,魔物横行,皇子身份,天资受阻,离乡背井,开启新的人生,主角冥皇:“世间没有逆天,我来创造逆天!” 亲爱的读者朋友,请静心阅读我的小说,用鲜花和收藏支持我吧!闲散退役兵王庄毕因缘巧合,住进了女神别墅,面对霸道美女总裁,他表示亚历山大。 庄毕:“女人,今日你对我拳打脚踢,来日我必然回报你一双儿女。”孔融让梨这个故事,国人应该老少咸知,但有关孔融因为孝道死于曹操之手,晓者却是不多。如需洞察详情,敬请阅看全文。“那个,学姐,我最近心里总是砰砰的感觉,请问我是不是得什么不好的病了?” “你说的那个砰砰的感觉,在哪里,对谁都是一样的吗?” “嗯,好像就是和同社团的前辈在一起的时候,有这种感觉……” “好!那就去告白吧!” “唉———”扎纸匠,不是玩纸,而是玩人……友谊石小方是个很方正死板的人,说了不能妥协就是不能,说了不能少泡一个就是不能,一直以自己所能想到的各种无耻借口做着方正而死板的自己。但是现在的他很方,他只是个打算如方石一般横扫过人生这个终将有终点的大滑坡,怎么突然就告诉他,这个滑坡之下,是修真界这片汪洋大海呢? 俗世百年,我的钱呢?我的妞呢?我的七情六欲,你一片海就要我全丢了,去做你的定海神石?想得美呢吧老头子们!
灰色居间者 盗墓传说之锁魂七窍玉 女总裁的全能兵王 走过平凡人生 丧尸末世:菜狗也怕死 穿越成魏无羡的继承人 异能上身 一世天帝 最后一个狱卒 月亮之城 重生之逐鹿中原 重逢艾泽拉斯 开学驾驶直升机报到正常吧 梦如泡影 他们修仙那我开挂! 灵气复苏之异能者 成为大人物之前 齐天凶残 我叫张小强 我,范马孔子门徒,以德服人 韩国电影 妓女 很长 9月30日cctv电影 有寻字的四字电影 人生整理日本电影 电影+花瑶情 猪八戒后传电影 有寻字的四字电影 和枪有关的电影 电影清淤在线播放 微电影 告白 沙井电影院夏洛特的烦恼 沙井电影院夏洛特的烦恼 电影蚁人评论 9月30日cctv电影 美发国产微电影 猎人游戏电影剧情介绍 韩国电影旅馆房客 韩国电影 妓女 很长 梁家辉和刘嘉玲拍的电影作品 美发电影 9月30日cctv电影 美发电影 梁家辉和刘嘉玲拍的电影作品 情敌 电影 关于催眠悬疑的电影2015 蝙蝠侠 超人 电影 韩国电影 妓女 很长 梁家辉和刘嘉玲拍的电影作品 梁家辉和刘嘉玲拍的电影作品 电影清淤在线播放 人生整理日本电影 为什么电影不放人入教学中 电影大全周星驰 美发国产微电影 电影蚁人评论 猎人游戏电影剧情介绍 电影大全周星驰 有寻字的四字电影 电影蚁人评论 美国影星范迪塞尔电影全集 猎人游戏电影剧情介绍 和枪有关的电影 秃鹰72小时 电影介绍 韩国电影旅馆房客 最佳电影观后感 为什么电影不放人入教学中 沙井电影院夏洛特的烦恼 猎人游戏电影剧情介绍 蝙蝠侠 超人 电影 意大利男男电影 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 独断万古 月影侠踪 全民偷师我创造的功法 铁血星途 帝国第一纨绔 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 和枪有关的电影 沙井电影院夏洛特的烦恼 和枪有关的电影 9月30日cctv电影 内地强奸片电影 美发国产微电影 电影大全周星驰 美国影星范迪塞尔电影全集 有寻字的四字电影 微电影 告白 有寻字的四字电影 猪八戒后传电影 电影蚁人评论 韩国电影旅馆房客 为什么电影不放人入教学中 电影蚁人评论 和理发师的美好一天 电影 和理发师的美好一天 电影 电影+花瑶情 低胸诱惑电影在线观看 美国影星范迪塞尔电影全集 和枪有关的电影 内地强奸片电影 微电影 告白 猎人游戏电影剧情介绍 韩国电影 妓女 很长 蝙蝠侠 超人 电影 人生整理日本电影 最佳电影观后感 人生整理日本电影