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"
驾校考试自己预约考试驾校老式车雨刷器驾校考验员证驾校科二80分合格吗驾校科二考试报了合格驾校考试自己预约考试驾校科一都干什么驾校考验员证驾校扣25分驾校科目一网上考试驾校科目考试有哪几科驾校考试自己预约考试驾校科三一般练几天驾校科目考试有哪几科驾校考验员证驾校科目一网上考试驾校可以和高校合作吗驾校科目都有什么驾校科目都有什么驾校考试预约注册步骤驾校老师考试题库驾校科目二口诀驾校客服部岗位职责驾校考试一般在几月份驾校科二考试报了合格驾校理论视频教程驾校科二80分合格吗驾校练场地驾校考试预约注册步骤驾校科三一般练几天穿越异界三年的林锋,成为了神剑宗宗主!   “叮!看到宿主作为一个堂堂炎黄子孙,穿越后一事无成,垃圾到没谱!” 系统愤怒了!    “叮!资源填补升级开始……”    “叮!宿主的宗门获得主峰逆天峰,一百零八侧峰!”    “叮!宿主的宗门获得气运金龙一条!获得神级功法!”    不知不觉中,神剑宗俨然已名动天下,登临巅峰。    林锋:唉,我真没努力啊,奈何系统太给力了…… 特战兵王意外穿越到古代,成为一个混不吝的二世祖。 出身寒门怎么办?没关系,我用军功征服天下! 缺少钱粮怎么办?没关系,我的产业遍布全国! 皇帝忌惮怎么办?没关系,王侯将相宁有种乎?人间难有清醒客,你我都是世俗人。在不断成长的过程中,观遍世界奇事,尝尽人生苦甜,才发现自己只是你的一枚棋子,可是这又有什么关系呢,你天生就该是这世界的主角,我会变强一直陪着你……一个病入膏肓的老头突然变成一个记忆全失的少年后,发现这个江湖还有他未曾领略的一面,既然老天给了他再来一次的机会,无论如何,他也要在这江湖中留下浓墨重彩的一笔......意外重生在异兽横行的世界,我确只能打怪续命。顶级特工失忆,悄然回到故乡; 各国巨头首脑,一夜之间沸腾! “他是可以一人攻破一个国家最高防御的利刃!” “他是医仙王诩的唯一传人,他是医好我不治之症的人!” “他还是我女儿的意中人……” “给我找!不论付出任何代价,一定要找到他!” 天下第一楼,天香国最大的酒楼,各种特色菜品,色香味俱全,远近闻名,其财力富可敌国。 这仅仅是外表,内有乾坤,天下第一楼,还是天香国最大的情报组织、暗杀组织。 柳玄意外穿越到魂魂大陆,作为天下第一楼楼主的外孙,具有炎族血脉,开启双系统,大贤者系统和商城系统。 因遭小人陷害 ,父亲逐出纪氏家族,回到柳氏家族,母亲与舅舅囚禁在思过崖,饥寒交迫,自己发配到偏远小镇,监工开采工作。 为了营救至亲,柳玄踏上了成为至强者的路途,解救至亲的途中,得到炎皇,魔尊的传承,魔族公主的青睐,妖族公主的爱慕,天香国公主的悔婚,一场场惊天阴谋慢慢浮出水面。 蓝星,一场突如其来的变异让很多人都变成了神通广大的孙猴子,是大闹天空,还是西天取经?这是个问题。 异变让个体的力量不断突破峰值,强大的个人伟力是野心最好的助生药剂,异能与科技不断碰撞,野心、梦想、希望与阴谋相互交汇,又将会编制出怎样的章篇? 异变打破社会现有的固话,粗鲁的将一切重新洗牌,有人欣喜若狂,有人如丧考妣,很多人因此夜夜难眠,然而真正的危机却在大海中不断萌发,它来自于银河之外,地球对它来说只是一个新奇的玩具,毁灭你,与你何干? 十年磨一剑,霜刃未曾试,诸君且看!一个21世纪的失意少年,不幸失足落水。灵魂穿越到了一个仙魔共存的时代,重生在一个修真世家里面。看他如何一步步反转,走上巅峰! 当强大的外族入侵时,作为一名普通老百姓你会怎么选择?是农具当武器站着死,还是归顺他们苟且生?当外族入侵时,作为一名高高在上的九五至尊,你会怎么选择?是割地赔款最终成为一名国破家亡的亡国奴,还是振臂高呼带领大家抵御外族将他们赶出国门最终把他们消灭掉啦? 作为一名普通老百姓,当外族入侵时,农具必是武器,站着死。作为一名天子?你做过天子吗? “ 没有” 那就让我们随着20世纪的小白方小乐到大周王朝看看,作为天子的他会怎么抉择,是站着死还是跪着生。
神界重启 都市奇门怪医 山村小仙农 598 日照银河 都市,岩王帝君竟是我自己 十世重生:此世我傲临十方 克利西亚 一颗陨石给我的力量 一冒传奇的历险记 异世界神探 牧鬼录 夺命银针:高冷女刺客 文明始神 太上老君,只有我能救你 诡异世界吞噬邪神 黑魔法使 末世迷踪之太阳纪浩劫 多情少年无情刀 神仙的自赎 驾校老式车雨刷器关闭 驾校科目一网上考试 驾校可以和高校合作吗 驾校科目都有什么 驾校老式车雨刷器关闭 驾校理论试卷 驾校可以买到吗? 驾校科目一网上考试预约 驾校理论视频教程 驾校科三一般练几天 驾校客服部岗位职责 驾校客服部岗位职责 驾校考试一般在几月份 驾校科目一网上考试 驾校考试怎么挂课时 驾校科二考试报了合格 驾校可以审车吗 驾校理论视频教程 驾校老师考试题库 驾校考试自己预约考试 驾校科目一考试题2017仿真 驾校考验员证 驾校老式车雨刷器 驾校科目二口诀 驾校科目一网上考试预约 驾校考试一般在几月份 驾校理论视频教程 驾校老式车雨刷器 驾校老师考试题库 驾校理论视频教程 驾校科目都有什么 驾校科目一考试题2017仿真 驾校科二80分合格吗 驾校考试自己预约考试 驾校考试一般在几月份 驾校科二考试报了合格 驾校科3考啥 驾校可以买到吗? 驾校考试一般在几月份 驾校科3考啥 驾校科二考试报了合格 驾校科三能在外省考吗 驾校考试预约注册步骤 驾校可以审车吗 驾校科目考试有哪几科 驾校科目一考试题2017仿真 驾校客服部岗位职责 驾校科二考试报了合格 驾校考试一般怎么预约 驾校科一都干什么 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 了不起的修真界 统宇之主 时光沧龙之跨时空传奇 道仙主 了不起的都市修仙模拟器 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 驾校考试怎么挂课时 驾校科目二口诀 驾校考试一般在几月份 驾校科三一般练几天 驾校科二80分合格吗 驾校扣25分 驾校扣25分 驾校科目都有什么 驾校科目二口诀 驾校科3考啥 驾校科三能在外省考吗 驾校科目考试有哪几科 驾校可以审车吗 驾校考验员证 驾校科三一般练几天 驾校客服部岗位职责 驾校考试自己预约考试 驾校科一都干什么 驾校科目都有什么 驾校科三一般练几天 驾校科三能在外省考吗 驾校考试一般怎么预约 驾校考试一般怎么预约 驾校科一都干什么 驾校科一都干什么 驾校科目一网上考试预约 驾校科三能在外省考吗 驾校可以和高校合作吗 驾校客服部岗位职责 驾校理论视频教程