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"
古力帕头像头像带白边发怒头像看月亮头像的头像气球古力帕头像头像带字符发怒头像字体做头像头像杂图奢华头像男古力帕头像周运发头像小忍萌头像发怒头像头像杂图徐浩的头像社团头像社团头像受果冻头像雨图片头像社团头像字体做头像字体头像静的头像气球头像包包看月亮头像头像配饰水意境头像周运发头像 康纳森博士启动hope的原因是为了什么,那一直隐藏在背后指使着变异人的又是谁,末日计划的真正内容究竟是什么。这一切的谜团都隐藏在这末日十一天中,当.最后一天到来究竟会发生什么,重生还是末日,命运将何去何从..... ???上天给了李锋一次重生的机会, 意外寻得神器翻天印, 丹药随手便可炼制;神兽轻易收服;美女投怀送抱。 这一世,李锋发誓一定要诸天万界称雄……诸神之局,吾为棋,吾之局,众生为棋。 拥有神秘老者赠予的黑塔,拥有追寻武道之巅的决心,这一生必踏破天穹,手持天道,成为万千世界的至尊之神。玄龙大陆,以武为尊。 少年叶平安得到败天武帝的至尊天眼,从一个卑微的蝼蚁,成为至高无上的绝世武帝! 一路上白骨累累,红颜多娇路飘摇,无敌路上太寂寥!周元意外的穿越到了全职猎人世界,触发了魔王契约,从此开挂,召唤魔界力量,吊打各路大神,带着主角团开始各种冒险,然后就各种宝藏收入囊中,想存老婆本,然而出来混总是要还的。 众星连珠,异象纷起。是适者生存的进化还是地球自我保护?50亿年以来的历史又怎是如此简单,文明的古迹又将给人类的道路带来怎样的变化?。面对丧尸遍地、异兽群舞的情况渺小的人类找寻一条生存的道路是多么的困难。只有在适者生存的生存法则中成为强者,只有经历生死磨难、与挚亲的离别人类才能从可以被随手碾压的蝼蚁成长为王。 建文四年,朱棣拖家带口举兵造反,攻进应天府时,最疼爱的太孙朱瞻基却离奇失踪。 朱棣大怒,认为是建文乱臣所为,遂屠杀一万四千余建文乱臣及家眷,流放三万余靖难遗孤,以表对太孙疼惜之意。 …… 十一年后,一少年乱了朱棣心智,朱棣时常化作普通老头,与他一起打猎。 “老爷子,我真不是你孙子,我是从死人堆里爬出来的,没有亲人。” 朱棣听着朱辰的独白,禁不住就落泪了。 “谁说你没亲人,我现在告诉你,你爷爷是永乐大帝朱棣,你是大明皇嫡长孙。” 朱辰:“老爷子,您别骗我了。” 朱棣道:“不信也罢,我欠你一个盛大的复辟仪式。” 次日,应天府白日宵禁,万人空巷,十万大明铁骑进城,为首一人,正是那身穿铠甲,龙虎精神的老爷子! 爷孙俩隔空对望一眼,朱棣一笑。 十万大明铁骑下马,恭敬跪地大吼:“恭迎大明皇嫡长孙回朝!” 古往今来,世间流传仙、神的传说,而时至今日,仙路缈缈,已然进入末法时代。 天空中,有人矗立,乌云压顶、身处雷电中心;海面上,有人漫步而来,由远及近,片刻却又消失不见,这些是海市蜃楼产生的幻觉? 有传言,海市蜃楼是连接另一时空的桥梁,聚现另一个世界正在发生的景象! 神话故事是否虚构,仙、神,真的存在过吗?60年代的一次偶然相遇,从此,他和她的命运便紧紧联系在一起。他为了她,抛弃地位和财富,宁愿一切从零开始。她为了他,含泪步入他门,但心灵深处却从未与他远走。两心相依,是他们今生的企盼。来世聚首,是他们此生最大的心愿。且看他们在生命的路途中,如何用青春的音符,演奏一曲都市恋歌;怎样用智慧和汗水,携手编织明天的彩虹。这是一个强者为尊,弱肉强食的世界。 天生丹田堵塞,无法修炼的少年,终究凭借自己的毅力踏上武道巅峰。
我们在洪荒的那些年 沉楼 末日前我把恶魔少女带回家 大宋:神级抽奖系统 元素之主 烽火尽处 上古卷轴6:猎龙者传奇 全民高武我在武修堆里修仙 食味滋 下次一定可以 极品鉴宝狂婿 灵魔使 魔法学院:致无名利刃 西岚破魔 帝玄纪 别吵了,你们宗门的天骄都是我 第六天女皇 最后一域 邪灵战神 黑河湾风云 微信头像库 头像管理 徐浩的头像 社团头像 微信头像库 头像英伦风 头像倾城 王子气头像 头像包包 周运发头像 字体做头像 字体做头像 字体头像静 头像杂图 头像男靠墙 的头像气球 头像倾城 头像包包 雨图片头像 古力帕头像 头像管理 发怒头像 头像带白边 小忍萌头像 王子气头像 字体头像静 头像包包 头像带白边 雨图片头像 头像包包 的头像气球 头像管理 看月亮头像 古力帕头像 字体头像静 的头像气球 头像男送花 头像倾城 字体头像静 头像男送花 的头像气球 群头像优雅 受果冻头像 装逼的头像 小忍萌头像 头像管理 字体做头像 看月亮头像 水意境头像 头像带字符 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 在末日中生存 女神妇好 我!帝皇侠!胖揍钢铁侠 乡村玄学大师 昆临时代 葡京官网 快连下载 欧博官网 葡京官网 欧博官网 群头像优雅 任务头像墙 字体做头像 头像男靠墙 社团头像 头像英伦风 发怒头像 头像带白边 奢华头像男 受果冻头像 头像带字符 头像带字符 头像管理 头像杂图 的头像气球 小忍萌头像 头像男送花 周运发头像 装逼的头像 受果冻头像 的头像气球 头像倾城 古力帕头像 雨图片头像 小忍萌头像 水意境头像 任务头像墙 任务头像墙 古力帕头像 古力帕头像