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"
2014长江万里图邮票万里江山一片红邮票邮票j103大闹天宫书邮票邮票 工业学大庆2014长江万里图邮票苏联元帅邮票邮票j1031996年邮票年册价格最早的邮票1992邮票年册价格2014长江万里图邮票2004年猴年邮票1992邮票年册价格邮票j103最早的邮票新加坡邮票价格陈其尤的邮票有价值吗?陈其尤的邮票有价值吗?1983年刘少奇邮票1983年猴邮票黑便士邮票图片毛主席诗词满江红邮票07年-9邮票邮票 工业学大庆纪念黄埔军校建校七十周年邮票大闹天宫书邮票纪62邮票多少钱1983年刘少奇邮票2004年猴年邮票世人皆知我懦弱,不知这只是低调 当我归来时,已是传奇 当我崛起时,必定名动天下 大荒纪元末年,2大帝主成功推动纪元之钟,开启下一纪元,最后一刻神帝偷袭魔帝使其重伤,魔帝最后一刻重伤被其封印,神帝开始了自己的统治,直到3000年后暗影纪元,魔影洲,暗玄之地一头黑龙的到来,打破了魔帝的沉睡…………一个最美的修真时代,一个荡气回肠的修真世界,快来与他一起踏上这修真之旅!大千世界的战武司少宫主墨染,集万千荣耀于一身的存在,在自己十二岁生日时被战武司司主要求寻找自己的命运之人,尽可能解除死亡的诅咒。但让墨染没想到的是,这一去,来到了结界边境处一个落后位面,在这里,他……在这元宇宙高度发展的时代,某一天,数十亿人降临万族大陆,成为城主,参与万族争霸。 降临之初,每个城主都会随机获得初始兵种。 招募兵种,掠夺资源,争霸万族。 岛国:”哈哈哈,我的兵种乃是奥特曼,专打怪兽,华夏国的蝼蚁们,颤抖吧!“ 米国:”永恒族.......看我打造无限手套,一个响指灭你华夏。“ 阿三:”整个万族大陆都是我神族创造的.......“ 看着如此嚣张的几国,林天看了看脚下的九爪金龙,不禁陷入沉思,这几国脑子瓦特了? 朝歌夜弦,莫过一本好看的书,莫过一首美曲罢了天才少年竟被嘲笑为废物,强大的元神无人认识,竟被当成毫无用处的垃圾。少年逆天而上,一路高歌踏上武道巅峰。看强大的圣魂如何藐视苍穹!曾经的少年如何高歌猛进成为九天十地人人敬畏崇拜的圣尊! 民国时期,我是拉洋车的,牛A的黑狗子探长刘麻子想强睡我的媳妇,被我制止。他带着大批的黑狗子对我用刑把我整死。阴间,我遇见大诗仙,向他诉说冤情,然后到冤魂村走一趟,才知道比我冤的人太多了。之后他把我变成了文化人,然后又把我穿越到了人间南粤市,让我抑恶扬善努力去做正能量的牛A人。此时的南粤市已是八十年代末期,我从打工做起,经历了开放大潮,凭着自己的能力为公司做出了很大的贡献,同时也收获了爱情。几年后,到处都在办报纸,我凭着自己的文笔混进报社当上了记者,通过采访工作,结识很多企业老板,在一次采访中,意外发现我生前认识的那个黑狗子探长刘麻子也被穿越到了这座城市,而且是下海经商混成了道貌岸然的董事长,被认为是红极一时的牛A人物。我悄悄跟踪,在我女友的配合帮助下,发现了他的一系列违法犯罪活动和伤天害理的事情,在掌握了大量的证据后,我凭着一腔正气,成功举报最终将其绳之以法。我终于成了正能量的牛A人!魂穿入另外一个平行世界,开启了一段全新的世界之旅。可在这个时间,原身居然是以为嚣张跋扈的恶少,仗着自家强大的经济实力为所欲为。可恰好这个恶少因从小体弱多病导致身体不行,导致我们的主角穿越来后开启了一段爆笑喜剧生活。“我错了,你们,你们不要过来啊!!!”穿越到了火影世界,穿越成为未被灭族的漩涡一族的族人,好在作为穿越者他也拥有必备的金手指系统,能够复制万能系统,我看一眼你这个禁术不错拿来吧,你这个血继限界不错拿来吧,你强任你强,系统最猖狂。
都市之一代狂神 万界百货商铺 鞶镇往事 留香传 我手上有龙印记 大主宰:主宰至尊 天魔,天狼 娱乐:沉睡十二年,醒来依旧是神! 我只要幸福一点点 穿越回三国:一统天下 我只想毁灭世界的啊 修道,何止于修仙 最后纯血统 末日降临:我带着全族去修仙 重生之古神噬天 聊斋新译 穿越成龙骑:我爹是尹志平 地兽 华夏巅峰崛起 江山弈 清代邮票九江 第一次普通邮票 最早的邮票 新加坡邮票价格 陈其尤的邮票有价值吗? 清代邮票九江 第一次普通邮票 什么邮票最值钱 中国清政府最早的邮票 年清政府发行的什么邮票 纪念黄埔军校建校七十周年邮票 2004年猴年邮票 毛主席诗词满江红邮票 毛主席诗词满江红邮票 07年-9邮票 最早的邮票 2014南京青奥会邮票 邮票 工业学大庆 92年鸟类邮票 纪念黄埔军校建校七十周年邮票 1983年猴邮票 2014长江万里图邮票 中国1918年邮票价值 邮票j103 万里江山一片红邮票 黑便士邮票图片 年清政府发行的什么邮票 07年-9邮票 纪念黄埔军校建校七十周年邮票 万里江山一片红邮票 1983年猴邮票 纪念黄埔军校建校七十周年邮票 陈其尤的邮票有价值吗? 中国1918年邮票价值 大闹天宫书邮票 2014长江万里图邮票 07年-9邮票 邮票 工业学大庆 信销邮票价格 中国清政府最早的邮票 07年-9邮票 信销邮票价格 邮票 工业学大庆 邮票 值钱 1983年刘少奇邮票 92年鸟类邮票 1992邮票年册价格 中国1918年邮票价值 毛主席诗词满江红邮票 大闹天宫书邮票 t79邮票价格 苏联元帅邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 最后一域 诸天之劫:我欲通天 至幻 都市之最强武帝修真者 从大树开始进化 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 1996年邮票年册价格 信销邮票价格 邮票 值钱 苏联元帅邮票 j141邮票价值 陈其尤的邮票有价值吗? 纪念黄埔军校建校七十周年邮票 t79邮票价格 黑便士邮票图片 1992邮票年册价格 陈其尤的邮票有价值吗? 1996年邮票年册价格 1992邮票年册价格 年清政府发行的什么邮票 92年鸟类邮票 信销邮票价格 2014长江万里图邮票 2004年猴年邮票 万里江山一片红邮票 什么邮票最值钱 纪念黄埔军校建校七十周年邮票 新加坡邮票价格 邮票 工业学大庆 中国1918年邮票价值 什么邮票最值钱 毛主席诗词满江红邮票 中国清政府最早的邮票 2014南京青奥会邮票 92年鸟类邮票 1983年猴邮票