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"
纪念邮票表示1997年中国邮票全集报价j18整版邮票明天郑州是否发猴年大板邮票卖家从哪弄的那么多邮票纪念邮票表示邮票十年大全j18整版邮票关于邮票我还知道什么有一部动画片发明邮票包头邮票交易市场纪念邮票表示清明上河图 大邮票包头邮票交易市场j18整版邮票中国人民邮政普通8分邮票二十四节气邮票珍藏卖家从哪弄的那么多邮票卖家从哪弄的那么多邮票京津冀纪念邮票购买辞旧岁邮票春节纪念大龙邮票猴票关于邮票我还知道什么邮票六盘山高峰80分信封邮票面值邮局邮票怎么卖明天郑州是否发猴年大板邮票纪念邮票表示98年纪念特种邮票厦门美丽邮票的图大全灵界中突然出现了不寻常的危机,这让灵界第一人林钧不知如何解决,而灵界之外,无数强者纷纷越界,想踏平灵界。 林钧苦守无果,最终无奈之下,他做出大胆决定,剥离人性,只身前往灵界之外,寻找问题根源,而分离出的人性,将会修炼灵界之中最强神法,重回大陆之巅,寻找救世之法。秦天明穿越小说世界,成为小说中一个戏份不多的反派。 系统:只要宿主你完美杀青,就能够带着本系统回到你原本的世界当龙傲天。 秦天明:简单,演反派我最在行了! 结果女主不按剧本来,开始疯狂倒贴。 秦天明:能别倒贴了吗?我只想杀青啊!男主呢?你怎么还抑郁了?!身份成为机密,新的身份扑朔迷离,是敌是友,安能辩我。一座图书馆,一本普通的书,一个平凡的大学生,在那一天之后,命运产生了翻天覆地的变化三世惨痛经历,让墨辰分辨善恶;体内生死棋盘,栖息神秘少女;练就御灵五术,重创辉煌时刻,至此君临天下。 爱人尸体面前他面如死灰,欲登天求习术只愿再现倾城之笑。 菩萨低眉,所以慈悲六道! 撒旦低头,所以血流成河! 以撒旦之名,专职杀戮,他要当最强的那个男人! 最燃的都市,且看一个男人如何成就霸业,成为傲立巅峰的一代传奇!   【七少出品,铁血霸气】 撒旦军团群:198247503 一个小气朋友的故事王越穿越到了洪星大陆,背后天生有着一副神秘龙图,龙图告诉他,“只要杀,不停的杀,他将是世间的最强者!” 以杀证道?不,他要苟, 不小心娶了个白给的媳妇,被卷入家族风波中的王越。 他该何去何从……白飞,穿越到游戏行业第一的世界后,发现自己欠了两千万的债务,绑定系统后发布了爆火的神作,同时开始靠着系统里的游戏,逐步走向了这个世界的行业巅峰……在这个科学世界,隐藏着无数诡异。狡猾赌诡,手术室惊魂,道观恶相,殡仪馆凶戾,一桩桩一件件,顾演发觉自己身处漩涡之中。 面对这场巨大的诡异漩涡,顾演没有金手指,没有老爷爷,也没有烂大街的系统。他只有一把西瓜刀。他坚持一个原则,诡不犯我,我不犯诡,诡若犯我,我必诛诡!!! ******* 新书发布,感谢各位看官老爷支持。希望你们能提出宝贵意见,多多打卡,感激不尽。
阴阳借名师 觉醒之穴 手能伸进小说?我拿出了十 万古魔尊 幻役 阿怪新传 幻宇灵荒 转生到异世界修炼成为最强 暗夜收割者 三剑诛天 原来知识真是力量 白墨劫 古诗歌欣赏 帝道第一人 大明:开局献策朱元璋 重回1992 你到底是谁哇? 万古体修 命运:终末回响 婚外不容爱 邮局邮票怎么卖 中国人民邮政普通8分邮票 邮票 八骏马 卖家从哪弄的那么多邮票 1997年中国邮票全集报价 文12邮票拍卖 邮票 八骏马 高逸图邮票小型张图案 怎么自己做环保的邮票? 清明上河图 大邮票 马年 邮票 收购 马年 邮票 收购 邮票六盘山高峰80分 中国人民邮政普通8分邮票 纪念邮票表示 信封邮票面值 厦门美丽邮票的图大全 邮局邮票怎么卖 发行关于文革的邮票 j18整版邮票 2010-29 邮票 j18整版邮票 发行关于文革的邮票 纪念大龙邮票猴票 有一部动画片发明邮票 编年经典邮票汇总 邮局邮票怎么卖 发行关于文革的邮票 发行关于文革的邮票 怎么自己做环保的邮票? 卖家从哪弄的那么多邮票 2010-29 邮票 明天郑州是否发猴年大板邮票 纪念邮票表示 邮票六盘山高峰80分 信封邮票面值 明天郑州是否发猴年大板邮票 邮票 八骏马 邮票六盘山高峰80分 98年纪念特种邮票 信封邮票面值 高逸图邮票小型张图案 京津冀纪念邮票购买 厦门美丽邮票的图大全 包头邮票交易市场 2010-29 邮票 马年 邮票 收购 信封邮票面值 编年经典邮票汇总 二十四节气邮票珍藏 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 鳞妖魇 地球陨落 锡白锡黑锡红 AngelDefend:夏末 亡愿 澳门葡京官网 AG真人 欧博官网 澳门葡京官网 欧博官网 文12邮票拍卖 编年经典邮票汇总 邮票六盘山高峰80分 马年 邮票 收购 包头邮票交易市场 高逸图邮票小型张图案 关于邮票我还知道什么 发行关于文革的邮票 关于邮票我还知道什么 明天郑州是否发猴年大板邮票 辞旧岁邮票春节 怎么自己做环保的邮票? j18整版邮票 邮票 八骏马 那个网买邮票 邮票六盘山高峰80分 卖家从哪弄的那么多邮票 2010-29 邮票 包头邮票交易市场 京津冀特价邮票 厦门美丽邮票的图大全 发行关于文革的邮票 2010-29 邮票 j18整版邮票 京津冀特价邮票 那个网买邮票 j18整版邮票 信封邮票面值 高逸图邮票小型张图案 信封邮票面值