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"
安阳北关区顺风快递电话常州邹区ems电话安阳电厂派出所电话号码安阳高新区计生生育服务电话安阳韵达客服电话安阳北关区顺风快递电话安丘圆通快递电话多少安阳电厂派出所电话号码柏乡汇通电话安义县供电局电话安阳中通电话安阳北关区顺风快递电话安庆百世汇通十部电话号码安阳中通电话安阳电厂派出所电话号码安义县供电局电话安陆顺丰电话安阳韵达客服电话安阳韵达客服电话安阳百世汇通取件电话柏乡顺丰联系电话安阳北关区圆通快递电话柏乡汇通电话安仁县有顺丰快递电话安阳滑县万古长虹驾校电话长安子午机械厂电话安阳高新区计生生育服务电话长武交警队电话安阳百世汇通取件电话安庆华阳监狱有电话吗这是一个从2002年讲起的故事,跟随丛一从懵懂孩童,到叛逆少年,至发奋青年的青春过程。同时也见证了这个海滨城市十多年的变迁,在这个故事里,你绝对或多或少能看到自己的影子。我写的都是经历过后留下来,想要珍视的故事。 我出生于00年1月,作为这个世纪的第一批新生儿,总感觉要做些什么。 陌生的朋友,请听我说: 我们都要有越挫越勇的心态, 在我们保护不了珍视的事物前, 都要做好失去一切的准备。 我们要做命运的骑士, 如果要接受命运的安排, 那也只能是在我们拼尽全力之后。 现在的我虽然只是一条咸鱼, 可在我生命结束之前, 令人向往而又悲惨的世界啊, 我对你的回应也只有轻蔑, 我不会输的, 即使你能杀死我, 我的意志亦将如恢宏的太阳, 将尔扁如尘埃。三年前,他家道衰落,被迫退婚! 三年后,他功成名就,强势归来! 作为战神,为了龙国安宁,他选择放下昔日仇恨;可让他没有想到的是,同袍竟利欲熏心,与仇人结盟谋害自己! 所幸天无绝人之路,林天权大难不死! 三年前,他能成就一方战神,三年后,他依旧能以天人之姿,让那些陷害自己的人,付出百倍、千倍代价!无数的故事,编织成了这个世界。神圣再现,风云再起,旧时代未葬下的魔,就由我来终结。(作者是个小白,文笔不好!)   修仙界至尊医尊徐辰,重回到了地球当实习医生的日子,自此改变他的人生,再努力重返仙界。   他有医死人活白骨的医术本领,在都市生活里逍遥又快活。   富家女,青梅竹马,女记者,老师……   都成为了他的崇拜者。   我命由我不由天。   一剑指苍穹,快活人世间!   我笑这苍生都在我脚下,皆为我臣服!     一辰,你们家的床大不大呀,介不介意小女子们在此借宿一宿呢 你穿上衣服的样子真好看呢,你也是不穿更好看! 美女事业两不误,他全都,要要要!!!修炼界流传着只要跟沈于安成为朋友便会被他给带歪。 只因他满口的歪道理,而你会在不知不觉间认同他的道理,甚至是对他所说出的每一个道理都近乎于疯狂的崇拜,病态的崇拜。 他的歪道理甚至是能够帮助他人顿悟。 直到有一天沈于安告诉世人其实不需要苦修就能提升修为,这让人一听不就是妥妥的歪理吗? 众修士:“不苦修怎能提升修为?” 沈于安:“那你们用过我研究出来的道具没?” 众修士:“什么玩意?” 沈于安:“都是一群土鳖。” 众修士:??(◣д◢)?? 本书又叫:(思想不端正,歪理来矫正) 本书又叫:(本公子有一口流利的歪道理) 本书又叫:(沈大公子的歪道理满天飞) 本书又叫:(我的歪道理是用来引导人的) 本书又叫:(异界大哲学家,大道具师) 本书又叫:(唯我沈大公子的歪理能通神)短篇小说这是一个禁忌的世界,这是一个被诅咒的世界。 谁晓岁月蹉跎过,那年他乡梦回头。 一把传承的剑,改变的不只是少年的命运, 还有大陆的未来。 一剑生死两茫茫,纵横九载又八荒! 传奇之所以是传奇,因为它永垂不朽。 我将用这把剑,去开创一个属于芸芸众生的无限伟岸! 吾名,李星陨!这一剑,可陨星! 既然这个世界公平正义无法得到伸张, 那我将拿起正义的长剑,代表法官, 挥向这世间的邪恶。
暮虎识香 铸神策 因为我是魔王 棺来 异世擎天之破天长歌 诸天从葫芦娃开始 镇洪渊 一剑破天城 破月之剑 怪化巫医 玄甲奇兵 神纹天 莽苍三世录 西游:我唐三藏作死小能手 黄昏芝初 燹武录 我能复活修仙 剑荡魔殇 剑缘凌雨 直播:开局巡山,被迫成为金钱豹保镖 安阳中通电话 长安子午机械厂电话 安阳北关区快递电话 柏乡汇通电话 安阳北关区圆通快递电话 安义县供电局电话 安阳北关区顺风快递电话 长武交警队电话 安义顺丰电话 安仁县有顺丰快递电话 安阳东区顺丰快递电话 安阳东区顺丰快递电话 安铺圆通快递电话 长安子午机械厂电话 安丘圆通快递电话多少 安陆各点快递电话号码 安阳电厂派出所电话号码 安阳中通电话 安阳韵达客服电话 安陆顺丰电话 常州邹区ems电话 安陆顺丰电话 安阳韵达客服电话 柏乡顺丰联系电话 长白顺丰快电话号码 安阳白壁中医院电话 长安子午机械厂电话 常州南大街附近ems快递电话 柏乡顺丰联系电话 长安子午机械厂电话 安阳韵达客服电话 安义顺丰电话 安阳高新区计生生育服务电话 安阳北关区顺风快递电话 安仁县有顺丰快递电话 安阳滑县万古长虹驾校电话 安阳东区顺丰快递电话 安陆圆通快递电话号码 安仁县有顺丰快递电话 安阳东区顺丰快递电话 安阳滑县万古长虹驾校电话 安铺中通快递电话 安阳百世汇通取件电话 安陆电话区号 安阳中通电话 安义顺丰电话 安陆各点快递电话号码 安阳滑县万古长虹驾校电话 安阳白壁中医院电话 安丘圆通快递电话多少 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 梦回大宋之我是宋太祖 入屠 苦后更甜 谭家菜 仙门之路 澳门葡京官网 快连下载 欧博官网 澳门葡京官网 欧博官网 安阳东区顺丰快递电话 安阳北关区快递电话 安义县供电局电话 安阳北关区圆通快递电话 长武交警队电话 安阳电厂派出所电话号码 安庆百世汇通十部电话号码 安阳白壁中医院电话 安义县供电局电话 长白顺丰快电话号码 长安子午机械厂电话 安义县供电局电话 安阳电厂派出所电话号码 安仁县有顺丰快递电话 安阳白壁中医院电话 常州邹区ems电话 长白顺丰快电话号码 安阳百世汇通取件电话 安阳北关区顺风快递电话 安阳韵达客服电话 安陆圆通快递电话号码 常州邹区ems电话 安铺中通快递电话 安陆各点快递电话号码 安义顺丰电话 长白顺丰快电话号码 安陆顺丰电话 安阳电厂派出所电话号码 安阳电厂派出所电话号码 长武交警队电话