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"
电视剧汤静的服装封神英雄榜二电视剧全集爱奇艺电视剧最高任务演员表丹麦电视剧 爱情贩毒制毒的电视剧粉电视剧汤静的服装呆头呆脑1电视剧全集电视剧最高任务演员表电视剧情债十五集电视剧抨然心动电视剧白凤死了电视剧最高任务演员表殿电视剧电视剧白凤死了斗鱼II电视剧电视剧抨然心动电视剧短片介绍后妈春天电视剧全后妈春天电视剧全电视剧冰川战士演员表电视剧鲜肉教师后妈春天电视剧全电视剧情债十五集lol洞主演的电视剧大志影业拍的电视剧kwan和weir的电视剧大志影业拍的电视剧lol洞主演的电视剧电视剧冰川战士演员表殿电视剧修行是一条茫茫无尽的道路,路上没有长生的喜悦,有的只是无尽的枯寂与落寞,三年前问心路上,学院问我,为何要修行,实际上我撒谎了,我只是想好好活下去,能像从前一样回到自己师父师娘身边,跟明月一起坐在清风山顶的大石头上看日出一个贵族男主顾易意外穿越到大楚帝国,结果身份和现代社会还是一样平民,在大楚帝国一次意外中获得了系统辅助,完成任务直接一路飙升,咸鱼翻身为一大楚帝王。陈战寒行走江湖,灭恶贼,除败类。行侠一生。辅助岳飞对抗完颜氏一族,眼看在完颜氏一族赶出国土。无奈,奸臣当政,十块金牌召岳飞班师回招朝。陈战寒心灰意冷,唯有移居海外。世界本无对错,人间也无善恶,人也罢,兽也罢,都是为了活着,道不同,不相为谋。注:本书节奏较慢,二十章才是个小高潮,阅读前请先给作者一张原谅票,不管看不看,小比作者先谢谢各位了那一天,章浩获得了一个神奇仪器! 御兽只要戴上这个头盔,就可以通过观看影片的方式变强! 梦里: 【御兽:熊猫】 【已观看《武林熊猫》系列】 【冲拳熟练度:入门→出神入化】 【掌握新技能:迅雷拳(熟练)、无锡指法(熟练)、金钟罩(精通)……】 现实: 【御兽:熊猫】 【已观看《武林熊猫》系列】 【掌握新技能:吃(出神入化)】 章浩:??? 六个小时过去,你就学会了吃? ………… 实战考核现场,看着用出神入化级“吃”一口将金属系对手吞到肚子里的熊猫,众人惊呆了。 章浩故作镇定地笑了笑:”咳咳……没错,我的御兽就是这么清奇!“这是一个游戏。 这是一个人人公平的游戏。 【当万物复苏时,而你却在沉睡…… 当万物沉睡时,你却重现在永恒的盛世迷梦中……】 不知是谁在Conenaridian百科辞典里写下了这句神秘的咒语,盛世界究竟是什么,人类难以预料…… 他们不知道,有的人为了拯救人类,在这个世界,血流成河…… 就是为了艺术真理的紫晶玫瑰…… 他们为了盛世,为了人世间的盛世…… 乔德的小提琴早已化作尘埃飘逝,沃安的华美矢车菊庄园却世世永恒……那里开放着盛世的花朵,还留着沃安的尸骨……路易的黑白键早已成了碎片,而他的力量最后形成了新的世界,让弗笛踏上了与命运最后交战的路程,人类无法战胜自然的意志,却毁灭了世界,创造了新的自己…… “万事万物,向光生长。”——乔德 “为了我所要追求的美,我宁愿飞蛾扑火然后死去。”——沃安 “与自己战斗,毁灭自己,创造永恒的世界。”——路易 “愿一切都如梦般消失。”——弗笛 毁灭自己,就是游戏的目的……一个驻外星小士兵,偶得可以进化的智慧程序,跨入宇宙,逐渐接触到高等级文明,打造高端武器与战舰,血战星海,播撒炎黄民族神威。 本书为纯粹的科幻,预计四百万字,没有狗血剧情,没有打脸公式,仅有不断攀升的战斗智慧与铁血勇气。李道远意外穿越小说世界,竟成为小说前期反派富二代他爹。 此时,他的废柴儿子已经招惹到了小说的天命主角,马上就要将整个家族带进沟里。 李道远想要从根源上改变命运已经来不及。 就在李道远无语问苍天,准备放弃治疗时,【至尊反派系统】激活了。 只要打击主角,抢夺主角的机缘,都会获得相应的反派点与气运值。 于是乎,一位用自己儿子开始钓鱼执法的慈父正式上线。 “我的儿子只有我能打,别人打我儿子,那我就废了他!”一列神秘的列车,无限的末日之旅,传说中的奇诡道术,影视剧里才会存在的怪物,无数个位面,无数次末日,惊奇、诡异、神秘、暴乱,谁也不知道列车的目的到底是什么,也不知道是谁发明的列车,他们更不知道自己到底怎么样才能走下列车…
出色魔术师不是魔术 我是大宦官! 重生之我要当最强召唤师! 云起天风 山乡惊雷 潜龙帝帅 封神之铁血艳影 古国传说 重生之问剑 踏上这条通往未知的道路! 娱乐:欠命音乐妖孽 十三岁的一天 不会谈恋爱就是废物吗 不会谈恋爱就是废物吗 敢动我闺女,找死 末世之军团帝国复兴 灵气复苏:古时曾有仙 重生之我要当最强召唤师! 东晋燕秦 在明朝奋斗的那些年 kwan和weir的电视剧 电视剧抨然心动 电视剧鬼子来了? 后妈春天电视剧全 6月5号上映电视剧 lol洞主演的电视剧 电视剧鬼子来了? 漂亮美女请县长帮忙是哪个电视剧 白鹿原电视剧。 殿电视剧 电视剧情债十五集 电视剧情债十五集 电视剧冰川战士演员表 电视剧抨然心动 电视剧最高任务演员表 后妈春天电视剧全 电视剧领养的赞助商 kwan和weir的电视剧 封神英雄榜二电视剧全集爱奇艺 斗鱼II电视剧 电视剧抨然心动 斗鱼II电视剧 封神英雄榜二电视剧全集爱奇艺 电视剧白凤死了 邓超陈赫最新电视剧有哪些 电视剧鲜肉教师 电视剧短片介绍 沉浮新加坡电视剧 殿电视剧 电视剧短片介绍 电视剧冰川战士演员表 电视剧最高任务演员表 lol洞主演的电视剧 6月5号上映电视剧 电视剧情债十五集 澳大利亚百合电视剧 白鹿原电视剧。 电视剧打狗棍第54集 电视剧情债十五集 白鹿原电视剧。 澳大利亚百合电视剧 大志影业拍的电视剧 电视剧好坏丑 电视剧鬼子来了? 电视剧白凤死了 电视剧打狗棍第54集 电视剧领养的赞助商 大志影业拍的电视剧 澳大利亚百合电视剧 呆头呆脑1电视剧全集 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 惟一真道 零世界:我在元宇宙修仙 废土穿越商 女总裁的神医兵王 我真没想当男主啊 百度 百度 百度 百度 百度 封神英雄榜二电视剧全集爱奇艺 沉浮新加坡电视剧 斗鱼II电视剧 后妈春天电视剧全 电视剧汤静的服装 6月5号上映电视剧 电视剧志在四方20集 贩毒制毒的电视剧粉 6月5号上映电视剧 lol洞主演的电视剧 大志影业拍的电视剧 澳大利亚百合电视剧 电视剧短片介绍 电视剧好坏丑 电视剧打狗棍第54集 漂亮美女请县长帮忙是哪个电视剧 电视剧抨然心动 丹麦电视剧 爱情 电视剧志在四方20集 丹麦电视剧 爱情 邓超陈赫最新电视剧有哪些 贩毒制毒的电视剧粉 丹麦电视剧 爱情 电视剧鬼子来了? 贩毒制毒的电视剧粉 啜妮演过的电视剧 呆头呆脑1电视剧全集 啜妮演过的电视剧 电视剧冰川战士演员表 电视剧抨然心动 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网