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"
山东省烟台7月天气预报查询山东省东营7月天气预报山东省鱼台县天气预报山东省淄博7月天气预报山东省最近的天气情况山东省烟台7月天气预报查询山东天气地图山东省鱼台县天气预报山东省大连市天气预报山东泰安夏天气温山东泰安全年天气山东省烟台7月天气预报查询山东藤州市天气山东泰安全年天气山东省鱼台县天气预报山东泰安全年天气预报山东天气未来一周天气山东省最近的天气情况山东省最近的天气情况山东省烟台7月天气山东省大连市天气预报一周山东四十里天气预报山东省大连市天气预报山东省日照7月天气山东省淄博7月天气预报查询山东省东营7月天气预报查询山东省淄博7月天气预报山东省聊城市天气山东省烟台7月天气山东天气持续高温吗我被莫名其妙拉入一场死亡游戏... 无论如何我必须活下去...五个小伙伴的游戏世界,推理、破案、破解谜团。一个现代习武者重生到了平行的全职法师世界。 这里魔法为尊,法师从最基础的星子开始修炼魔法,一步步觉醒新的魔法系,迈向强者之路,和威胁人类的妖魔抗争。 蓝星的一切几乎都能在那里体现,唯独不同的是,这里的一切都用魔法解释,那些令人仰慕的伟人,也都是各系巅峰的法师。 “既然魔法只要远程轰炸就行,那历史书插图上的古人为何还要穿带盔甲武器?”前武者陈平百般不解,直到遇到了一次难得的机会。 “古代的魔法到底是什么,魔法源头又是怎么传承发展的?” “耍帅装13的事有莫大魔王就好,我还是低调而有内涵地钻研魔法吧,在这个奇趣的世界,只知道打打杀杀而不探索其中奥妙,未免太可惜了!” 外表看似平平无奇、内心向往光怪陆离的陈平,有挂而不外露,打算在“低调”的探索中,搞出一番大事业。【传统玄幻+无系统+剑修+无后宫+不无脑】 百年后,一位手拿残剑的少年走进了人们的视野之中,他笑看风云志,一剑破万象,开合之间竟然有当年那位的影子……南玄学院外院弟子刘天被人欺辱,意外激活须弥介质,12头掌管诸天万界的神兽化作他的玄灵.....从此逆天改命.....老金老王本是天才却被误认为是废物,偶遇若子轩,从此踏上修仙之路。大汉皇朝,文道为尊。 世人修文,可移山填海,上天入地。 文道鼎盛,百家争鸣。 汉高祖不喜儒道,儒家没落。 这一世,董仲母亲失踪,父亲离世,被爱人陷害抛弃。 身为穿越者,他活着不如一条狗! 科举之日,董仲一鸣惊人! 他活着,不为别的! 只为争一口气! 只为告诉世人,他不是废物! 状元郎,诗才,儒道中兴之人,帝师太傅,大汉儒尊…… 种种称号,皆是董仲!说评书的到了异世能干啥?忽悠呗!不周树下埋真仙,星外来客接连天。 日子人朱长明如何走向仙途?2500年,来自弗硫州的艾克塔博士发明了天琉,原本只是用来保护自己弱小的母国,可各州野心极大,不到一百年,便发动了六次超规模的天琉战争,十四州百姓苦不堪言。2598年,他的徒弟本杰弗带着一项秘密研究成果,将完成他的遗愿......
这个魔帝有亿点强 DG时代 能量传说 神医小农民 长生三千事 逐山河 男主集中营:五个气运之子 人在娘胎:我把女帝姐姐们都打哭了 网游之百倍增幅 半神?我欲成神! 随笔诗词 诸天破碎之后 都市修仙归来 凌神大陆 星之复苏 魔神鬼卿 重生之白日梦想家 我真的不是女装大佬 穿越成为林府三公子 梅花玉 山东省东营7月天气预报查询 山东泰安全年天气预报 山东天气一周预报 山东省最近的天气情况 山东省东营7月天气预报 山东省聊城市天气 山东天气一周预报 山东泰山天气预报10天 山东省金乡县天气预报 山东藤州市天气 山东蓉城天气预报 山东蓉城天气预报 山东省日照7月天气 山东泰安全年天气预报 山东省烟台7月天气预报查询 山东省淄博7月天气预报查询 山东荣成石岛天气 山东省东营7月天气预报查询 山东省东营7月天气 山东省鱼台县天气预报 山东泰安全年天气预报 山东省鱼台县天气预报 山东省东营7月天气 山东四十里天气预报 山东泰安夏天气温 山东省威海7月天气 山东省东营7月天气预报查询 山东省东营7月天气 山东省东营7月天气 山东省金乡县天气预报 山东省最近的天气情况 山东泰安全年天气情况 山东省淄博7月天气预报 山东省烟台7月天气预报查询 山东省日照7月天气 山东省淄博7月天气预报查询 山东省淄博7月天气预报 山东天气一周预报 山东省日照7月天气 山东省淄博7月天气 山东省淄博7月天气预报查询 山东泰山天气预报10天 山东省烟台7月天气 山东荣成石岛天气 山东泰安全年天气 山东泰安全年天气情况 山东蓉城天气预报 山东省淄博7月天气预报查询 山东省威海7月天气 山东天气未来一周天气 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 人与机器人的末日之战 我的灵宠怎么都是美少女 冰雪七零七 无极剑道,天元轮回 观途 亚星官网 万利官网 欧博游戏官网 亚星官网 AG真人 山东泰山天气预报10天 山东天气一周预报 山东省威海7月天气 山东省淄博7月天气预报 山东天气地图 山东省烟台7月天气预报 山东省大连市天气预报 山东省淄博7月天气预报查询 山东省日照7月天气 山东藤州市天气 山东藤州市天气 山东省烟台7月天气 山东省烟台7月天气预报 山东省金乡县天气预报 山东省淄博7月天气预报查询 山东省烟台7月天气预报查询 山东泰安夏天气温 山东泰安全年天气 山东蓉城天气预报 山东省淄博7月天气 山东天气地图 山东省大连市天气预报一周 山东泰山天气预报10天 山东省日照7月天气 山东荣成石岛天气 山东泰山天气预报10天 山东省淄博7月天气预报 山东省烟台7月天气 山东省烟台7月天气 山东省金乡县天气预报