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"
坐沙发头像眼睛头像图头像射手微信头像无头像减肥坐沙发头像灵剑士头像头像射手qq签头像明星头像.大成头像坐沙发头像头像宝下载大成头像头像射手明星头像.猫宠人头像辫女孩头像辫女孩头像外星头像简单系头像辫女孩头像一寸头像女黑色w头像头像减肥闷骚字头像微信头像无h头像动态用猫作头像头像宝下载意外穿越,接触高等文明。 浩瀚太空,见识奇人异事。少年被人追杀打入深渊,生死一线之际,少年成功激发了六劫神体,度过第一劫,意外踏上修行之路。 入学府,诀亲情,战诡异,破诅咒,一劫一重天。 手持神剑,背负苍生,剑舞龙蛇,一剑可破山海,一念可动乾坤。 天地依旧在,人非事归尘,茫茫世间无一敌,神主何归去? 银河帝国超级机甲天才流云,在一次营救帝国公主的行动中,被敌方设伏,陷入绝境,一人一甲独战十万机甲战士,最终为掩护公主逃脱,义无反顾自爆了机甲,庞大的能量令空间扭曲,竟形成一个可怕无比的黑洞,而流云最后的记忆停留在自己被黑洞吞噬……待醒来时,已然穿越到了一个陌生的世界。召唤到异界,校园生活,恋爱,战斗,朋友,生死,召唤兽,魂主魂奴听老人讲民间故事奇闻杂谈惊悚传说还有最终结果重生在架空的大汉,刘贺一觉醒来,成了大汉的皇帝,原以为是穿越者的福利,殊不知…… 与历史上的汉废帝一样,刘贺将面对一千一百二十七条罪状,黯然离场! 环视群臣,刘贺表示心好累。 左相梁冀,右相蔡京,帝师司马懿,太师董卓,吏部尚书严嵩,刑部尚书来俊臣…… 武将有:大将军何进,义子其一安禄山,另一吕布,还有朱棣,孙权,鳌拜,以及四方将军赵括、马谡、邢道荣、李广利。 以及分封各处的异姓王:吴三桂、孔友德、韩信等…… 后宫阵容更是豪华:东宫太后赵姬,西宫太后吕雉,皇后芈月,贵妃杨玉环,昭仪苏妲己,才人武媚…… 以及历史上祸国乱政必不可少的太监团队:东厂曹正淳,西厂雨化田,中车府令赵高,十常侍张让等…… 更兼外敌如大元、大满等虎视眈眈。 境内诸如黄巾军、梁山等反贼势力丛生。 天下会、天门等武林势力与护龙山庄朱无视等对峙…… 地狱开局,刘贺有心杀敌,无力回天! 幸好,天命加身,得系统辅助,刘贺将借此,步步为营,成就千古暴君! 出来旅游的刘锋,接到了一个跑龙套的机会。 意外触发了神级扮演系统。 在剧组扮演某个角色,根据相似程度,便能获得角色相应能力。 【叮!本次角色‘特种兵’的契合度为30%,您获得特种兵30%的综合能力!】 【叮!本次角色‘学霸’的契合度为50%,您获得学霸50%的学习能力!】 【叮!本次角色‘王羲之’的契合度为73%,您获得王羲之73%的书法能力!】月高悬于空,星不见其影。 沉眠的暴君从历史中苏醒,漆黑的双翼划过破晓的黎明;巍峨古堡跨越了尘封的的记忆,矗立在洛尔维亚的群山之巅。 当头戴王冠的公主睁开双眼,从死亡归来的旅人重新握住剑柄—— 国王湖的水面不再平静,却依旧深不见底。长白神庙,尸海迷巢,冥峡天棺,黄泉九鼎…… 一件来历不明的人皮寿衣将我拖入一个巨大的旋涡之中。 为了活命我必须借寿前行,活人的寿要借,死人的寿更要借。 当我以为自己可以彻底摆脱那件寿衣的时候,才发现这场阴谋刚刚开始,而我只是其中的一枚棋子…… 父母双亡,自己意外猝死穿越。 这世李乐继承遗志,成为巡山员,激活超级热度直播系统,只要热度够高,系统给予的奖励越丰厚。 当他直播的第五天,意外救治了一头金钱豹,从此就被这头金钱豹赖上了。 “造孽啊,我特么要进去的。” 李乐欲哭无泪。 【叮!恭喜宿主完成百人观看成就,奖励十字弩】 【叮!恭喜宿主完成万人观看成就,奖励专业级???】 【叮!恭喜宿主完成十万人观看成就,奖励????】 “这么说,我可就不困了啊。” 李乐打起精神,成为专职金钱豹保镖…………
天武剑修 大明之重铸山河 直播算命:我偏要泄露天机 玄界灵尊 末世之军团帝国复兴 超元宇宙 嗜血杀器 名侦探柯南之双重命运 人生优化 DNF之邪神傲世 逍遥的呀,小神仙 末世召唤2 重生化身文强获得创世系统 跨越时间的风筝线 蓝星:三维的末路 三国之无双帝皇系统 炼体十万层 清除 全能武王 八荒登仙 爱情心头像 后官团头像 猫宠人头像 辫女孩头像 爱情心头像 小恩典头像 头像女超清 卡皮丘头像 闷骚字头像 头像宝下载 一寸头像女 一寸头像女 黑色w头像 明星头像. 宇先生头像 头像减肥 头像女超清 闷骚字头像 简单系头像 坐沙发头像 后官团头像 头像射手 眼睛头像图 长烟草头像 卡皮丘头像 黑色w头像 闷骚字头像 眼睛头像图 简单系头像 闷骚字头像 辫女孩头像 后官团头像 微信头像无 坐沙发头像 黑色w头像 头像减肥 罗高清头像 头像女超清 黑色w头像 罗高清头像 头像减肥 寒江雪头像 外星头像 乡政府头像 长烟草头像 后官团头像 一寸头像女 微信头像无 用猫作头像 灵剑士头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 艾芙海姆 仙路远 宇宙之外之人类的自我救赎 穿越都市被倒追 永恒仙空 欧博官网 百家乐官网 亚星管理平台 欧博官网 亚星管理平台 微信头像无 罗高清头像 小恩典头像 高校花头像 乡政府头像 微信头像无 用猫作头像 h头像动态 后官团头像 黑色w头像 宇先生头像 大成头像 坐沙发头像 qq签头像 罗高清头像 寒江雪头像 高校花头像 头像宝下载 辫女孩头像 闷骚字头像 辫女孩头像 高校花头像 大成头像 辫女孩头像 qq签头像 长烟草头像 卡皮丘头像 乡政府头像 卡皮丘头像 坐沙发头像