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"
编年经典邮票汇总马年 邮票 收购京津冀纪念邮票购买纪念邮票表示j18整版邮票编年经典邮票汇总高逸图邮票小型张图案京津冀纪念邮票购买邮票 八骏马纪念大龙邮票猴票信封邮票面值编年经典邮票汇总中国人民邮政普通8分邮票信封邮票面值京津冀纪念邮票购买纪念大龙邮票猴票清明上河图 大邮票98年纪念特种邮票98年纪念特种邮票文12邮票拍卖厦门美丽邮票的图大全明天郑州是否发猴年大板邮票二十四节气邮票珍藏邮局邮票怎么卖j18整版邮票辞旧岁邮票春节纪念邮票表示1997年中国邮票全集报价文12邮票拍卖中国人民邮政普通8分邮票新人热爱打篮球平时没事会看书也会玩游戏”娘子,就是他欺负我!你揍他“说完这句话的白许,不由的想起几年前的那一切的开端,当时白许作为一名普通的小贩只想过平凡的生活,然而在一个风和日丽的下午,一天一群高大威猛的士兵突然过来掀了他的摊子,并把他绑走说要他成为公主的丈夫? 九江市三监内,例行检查犯人身上是否携带可疑、危险物品,包裹需要打开,衣服需要脱掉,由专门人士检查,在这里就一条铁命尊重长官,认真改造。 刚进来的青年在结束检查后,狱警需要对他的信息做详细的登记、询问,并开始发放衣服、鞋子,杯子、被子等等生活用品,均有编号。 ”骆生,男,二十七岁,身高一米八,体重一百六十斤,九江人...“坐在凳子上的狱警边看着眼前青年的资料边读,看到最后抬头打量起来开口道:”犯了什么事进来的?“ ”被陷害谋杀。“叫骆生的青年回应道。 灾后重建,曾经抄底他人的混混,是否也能抄底时代。主角无限强大,不管是在武力上还是智力上。主角永远是打不死的小强,即使他遭遇到在危险的境界,都会脱困,不管是因为什么奇遇啊还是他人解救。异次元空间入侵蓝星,精神力强大的人类点燃精神火种,觉醒魂玉,成为卡牌大师。 【卖火柴的小女孩】在圣光下觉醒,身穿纯白花嫁,如同神明少女般看向自己的守护骑士。 “我的守护骑士,我的笑容,只为你绽放。” 【狼堡女王】端坐在银狼古堡的王座上,翘起二郎腿,端着摇晃的红酒杯,看着外面的血月之森,眼神中满是期待。 “在你将我从黑暗中救赎的那一刻起,你就已经占据了我的身心。” 【灵剑少女】白衣若雪,在深山中的断壁残垣间舞剑。 手中三尺青锋剑气纵横,却斩不断三千烦恼丝。 “灵剑山下,一眼万年。” 这是一个卡牌的世界,空间交错,次元入侵,只有当你真正体会到纸片人新娘养成计划的乐趣后,才会在这条路上越走越远。陈老大,陈肆本是兄弟,但性格却大不相同,陈老大为人最是忠厚老实,街坊邻居尽晓… 谁知警察带着通缉令将正在卖鱼的陈老大逮捕,是含冤入狱?还是人性的伪善?不得而知…默默签到十年的秦风,签到了太多的属性点。 有一天,赵高来到秦风面前,宣布他是祖龙大公子后要带他回去时,却发现他秦风的潜力太渣,当场要离开,让他继续留在这虚度一生。 这一天,秦风过去的那记忆涌现了出来,他终于知道他是谁了,他是祖龙的大公子,当初祖龙看他体质弱于常人,害怕他在皇宫被害,送在外面寄养。 这一刻,他秦风知道自己要把属性点点在什么上面了。 下一秒,他把潜力属性点点满了。 就在他等待着三天后,彻底激活潜力点时。 与此同时,天地变色。 激活金榜,金榜降世。 紧接着, 战力榜、名剑榜、剑神榜、杀手榜、组织榜,铁骑榜,统帅榜、气云榜等相继被曝光。 潜力榜第一,超凡入圣,属于大公子-秦风(原名:嬴风) 战力榜第一,九天之巅,属于大公子-秦风(原名:嬴风) 铁骑榜第一,大雪龙骑,属于大公子-秦风(原名:嬴风) 嬴政:“这就是我那体质弱的大儿子?!” 资深外科医生林陨,莫名穿越到九州大陆的玄月宗,成为了最被人看不起的一名上门赘婿,同时也拥有了一位美若天仙的宗主妻子。 幸得药神系统,无限速成神品丹药,修得上古肉身成圣之法。从此扭转悲惨命运,脱胎换骨! 阴谋毒害、冷眼嘲笑……一切都将成为过去。 纵横万古帝之道,我自剑来谁言轻? 哪怕是当赘婿,他也要当一名最强最狠的赘婿!“岳白,岳白你醒醒” 岳白睁开眼睛发现这是一个完全陌生的世界…… 结婚三年,陈青牛被泼辣老婆驱使,受尽丈母娘一家子窝囊气。   一朝得蚌仙传承,从此鲤鱼化龙,媳妇变成了小乖乖,岳母一家逢迎。   带领全村人搞特色养殖,种植,发展旅游村,过上幸福日子。
元世纪:暗尽天明 逃亡游戏:我被全人类通缉了 下班,然后捡到雷电将军 开局遭遇空难 综漫之我是话痨系统 重生为帝:开局就被骂诈尸 诡异血尸录 烽火尽处 我的怪谈爱好者协会 fate new time 真相?真相! 白与昼,黑与夜 龙血英雄 终焉之潮 王者之最强组合 带着各种修改器穿越 都市之圣者轮回 止水湔 洪荒之飞舞的蒲公英 惊悚降临:从校花夜访开始 关于邮票我还知道什么 卖家从哪弄的那么多邮票 清明上河图 大邮票 98年纪念特种邮票 关于邮票我还知道什么 发行关于文革的邮票 那个网买邮票 包头邮票交易市场 辞旧岁邮票春节 中国人民邮政普通8分邮票 二十四节气邮票珍藏 二十四节气邮票珍藏 邮局邮票怎么卖 纪念大龙邮票猴票 邮票六盘山高峰80分 j18整版邮票 邮票十年大全 辞旧岁邮票春节 厦门美丽邮票的图大全 编年经典邮票汇总 卖家从哪弄的那么多邮票 京津冀纪念邮票购买 马年 邮票 收购 明天郑州是否发猴年大板邮票 包头邮票交易市场 邮局邮票怎么卖 辞旧岁邮票春节 马年 邮票 收购 厦门美丽邮票的图大全 辞旧岁邮票春节 98年纪念特种邮票 卖家从哪弄的那么多邮票 纪念邮票表示 编年经典邮票汇总 邮局邮票怎么卖 j18整版邮票 京津冀特价邮票 那个网买邮票 邮局邮票怎么卖 京津冀特价邮票 j18整版邮票 2010-29 邮票 文12邮票拍卖 邮票十年大全 明天郑州是否发猴年大板邮票 卖家从哪弄的那么多邮票 二十四节气邮票珍藏 纪念邮票表示 怎么自己做环保的邮票? 高逸图邮票小型张图案 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 乱世奇谈之烽火枭雄 万兽怪谈之羊女 玄幻:娘胎修炼,开局绑定天道老婆! 俺是一个保安 让你当昏君,你统一世界? AG真人 欧博官网 亚星管理平台 AG真人 皇冠登3出租 怎么自己做环保的邮票? 编年经典邮票汇总 卖家从哪弄的那么多邮票 京津冀纪念邮票购买 文12邮票拍卖 纪念邮票表示 厦门美丽邮票的图大全 高逸图邮票小型张图案 马年 邮票 收购 98年纪念特种邮票 京津冀特价邮票 明天郑州是否发猴年大板邮票 高逸图邮票小型张图案 卖家从哪弄的那么多邮票 明天郑州是否发猴年大板邮票 怎么自己做环保的邮票? 信封邮票面值 包头邮票交易市场 二十四节气邮票珍藏 2010-29 邮票 卖家从哪弄的那么多邮票 有一部动画片发明邮票 编年经典邮票汇总 纪念邮票表示 京津冀纪念邮票购买 那个网买邮票 中国人民邮政普通8分邮票 那个网买邮票 发行关于文革的邮票 邮局邮票怎么卖