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"
苏染指 小说阅读网冤魂指路 吾思本座 小说无限 赫敏 小说随波逐流之一代军师 小说等王的男人 与子成说 小说苏染指 小说阅读网小说刷人气无限 赫敏 小说最有人气 微型小说小说 无力拒绝好看 历史小说无限 赫敏 小说小说 未来好看 历史小说无限 赫敏 小说小说 无力拒绝小说道圣公主嫁到霸道总裁 小说等王的男人 与子成说 小说小说 女主青青绿帽小说 窝囊废老公公主嫁到霸道总裁 小说最有人气 微型小说原创小说 推荐小说 高玩武神传说 超级骷髅 小说小说 高玩bl小说 一攻三受小说 女主青青墨奈何 小说高三的生活是普通而平凡的,尽管总是被学习的苦痛所掩埋,但其中总会有着些许令人回味的闪光点。香港三合会太子爷最近一个月频繁做梦,梦到了未来一生的经历,他以为梦是假的,直到有一天他发现他梦里的事都在发生,于是他开始了改变,他要改变自己的未来,他怎么也没想到自己一个帮派太子爷变成了世界首富,还拥有了娇妻佳儿未来不仅只有星空大海,还有神话永生!自小能与神秘盖亚生命互换灵魂的东希,如何在这个世界走上巅峰!60年代的一次偶然相遇,从此,他和她的命运便紧紧联系在一起。他为了她,抛弃地位和财富,宁愿一切从零开始。她为了他,含泪步入他门,但心灵深处却从未与他远走。两心相依,是他们今生的企盼。来世聚首,是他们此生最大的心愿。且看他们在生命的路途中,如何用青春的音符,演奏一曲都市恋歌;怎样用智慧和汗水,携手编织明天的彩虹。穿越大唐贞观年间,成为李世民第九子李治。 开局只有四岁,并且身负混世魔王系统。 十万里加急的信鸽算什么? 烤! 圣旨算什么? 画! 李二算什么? 整! 李二:“王德,最近雉奴学业如何?” 王德:“陛下,孔颖达已拜晋王为师!” 李二:“什么?” 王德:“阎立本、王献之紧随其后,也对晋王殿下以师见礼!” ………… 琴棋书画,刀枪剑戟,文武双全定江山。 我李治自认第二,谁敢称第一?异世争霸,经过血和泪的洗礼后,站到世界的顶峰十年武当之旅,到底是为什么? 父母又去了哪里? 那深邃的黑暗,通向哪里? 立在天地之间的那块石碑,是守护,还是入侵?大汉皇朝,文道为尊。 世人修文,可移山填海,上天入地。 文道鼎盛,百家争鸣。 汉高祖不喜儒道,儒家没落。 这一世,董仲母亲失踪,父亲离世,被爱人陷害抛弃。 身为穿越者,他活着不如一条狗! 科举之日,董仲一鸣惊人! 他活着,不为别的! 只为争一口气! 只为告诉世人,他不是废物! 状元郎,诗才,儒道中兴之人,帝师太傅,大汉儒尊…… 种种称号,皆是董仲!重写特利迦奥特曼,如果你觉得特利迦的TV拉胯的话就来看一下吧。“什么?原来我是恶魔?” 十六岁那天,‘穿越者’阎墨终于等来了属于自己的灿烂。 ------------------------------ ‘普通人类’加入恶魔学园学习成为恶魔的故事,大概会涉及入间同学入魔了,家庭教师,猎人。
从大树开始进化 虚拟世界游戏之玩家降临 我,执行官! 地龙翻天破苍穹 亲,快来修仙吧 灵气复苏:异能者的战争 拥有超能力后的我 鸿客 反派:十万年人生,让女主跪求原谅 圣堂之眼 生命如来 来,让我碾死你们 诡谈撰 葬花之月色尽 凡尘炼体 歌行诸天 我翻书找计策 大汉之上 千年鬼王之灵叠 乱世帝都 武神传说 超级骷髅 小说 武侠小说 完结本 小说 触摸到 等王的男人 与子成说 小说 冤魂指路 吾思本座 小说 bl小说 一攻三受 小说 触摸到 尸帝 流浪de军刀 小说 穿越之恋上美男 末路荼靡 小说 小说 未来 网恋小说 女主很丑的 网恋小说 女主很丑的 原创小说 推荐 武侠小说 完结本 苏染指 小说阅读网 小说 高玩 小说的种族 武神传说 超级骷髅 小说 薄樱鬼小说青空之上 无限 赫敏 小说 武侠小说 完结本 无限 赫敏 小说 薄樱鬼小说青空之上 公主嫁到霸道总裁 小说 小说 无力拒绝 金庸我最牛 小说 武神传说 超级骷髅 小说 薄樱鬼小说青空之上 薄樱鬼小说青空之上 穿越之恋上美男 末路荼靡 小说 等王的男人 与子成说 小说 火车 小说线上阅读 随波逐流之一代军师 小说 苏染指 小说阅读网 原创小说 推荐 小说 高玩 随波逐流之一代军师 小说 小说 触摸到 原创小说 推荐 陶纯小说 小说 高玩 尸帝 流浪de军刀 小说 小说 女主青青 小说的种族 好看 历史小说 火车 小说线上阅读 网恋小说 女主很丑的 小说 高玩 金庸我最牛 小说 小说道圣 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 寒门国士 医武风流 星环:情:律 响彻寰宇的未来之歌 一骑当千是书生?! 亚星官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 武神传说 超级骷髅 小说 公主嫁到霸道总裁 小说 小说道圣 网恋小说 女主很丑的 小说的种族 武侠小说 完结本 金庸我最牛 小说 无限 赫敏 小说 小说 无力拒绝 尸帝 流浪de军刀 小说 武侠小说 完结本 武神传说 超级骷髅 小说 尸帝 流浪de军刀 小说 小说刷人气 薄樱鬼小说青空之上 公主嫁到霸道总裁 小说 小说 高玩 小说 触摸到 bl小说 一攻三受 小说 女主青青 金庸我最牛 小说 最有人气 微型小说 火车 小说线上阅读 尸帝 流浪de军刀 小说 小说 女主青青 冤魂指路 吾思本座 小说 绿帽小说 窝囊废老公 随波逐流之一代军师 小说 薄樱鬼小说青空之上 穿越之恋上美男 末路荼靡 小说