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"
邮票上的情人节伦敦奥运邮票纪念册邮票的知识。冬奥纯金邮票多少钱女娲拔土作人邮票价格邮票上的情人节长江邮票珍藏邮票的知识。甲午马年纯银邮票炒钱币纪念币邮票有风险吗金训华邮票一版多少张邮票的知识。申猴献寿邮票金训华邮票一版多少张邮票司马光砸缸市场价炒钱币纪念币邮票有风险吗手机炒邮票软件西游记邮票二设计图稿西游记邮票二设计图稿裁剪下来的邮票求售2016年纪念猴年邮票西游记邮票二设计图稿甲午马年纯银邮票风琴折是邮票吗2016年1880邮票上海迪士尼邮票图稿2016年1880邮票风琴折是邮票吗裁剪下来的邮票申猴献寿邮票现实融合网游? 高玩是人形核弹? 为了给可爱童养媳治病,吕天穿越后果断开挂玩网游,觉醒SD天赋,无限复制敌人属性,并且果断低调选择职业奶妈! 属性高?拿来吧你! 残血了?不慌,一口奶爆! 人形核弹?不好意思,我人形二向箔! 满级龙女BOSS? 乖乖过来当坐骑吧你! ……“我是谁?我从哪来?我要到哪去?”这亘古不变的问题困扰着少年,他望着海面脑海里一片空白,他失去全部的记忆只留下一具空白的身体,我之前是个什么样的人,是一个冒险家?是一个魔法师?是一个厨师?是一个建筑师?是一个酿酒师?是一个农民?是一个工人?是一个商人?是人人称赞的好人?是坏事做尽的恶人?是平平无奇的市民?无数的疑惑压在少年的心上,幽幽中一个声音传来,“去篱下院吧,那里有你需要的答案。”于是少年踏上寻找自我的旅程,在路上他会遇到什么样的冒险呢?又会遇上什么样的人?懵懂少年初出茅庐,奇遇连连,本想苟活富贵,谁知踏上命运颠覆。苍茫的卡迪亚大陆,战火连连,人鬼不分,神魔交战。最终鹿死谁手?未来可期,历经九死一生,死中得活。穿越爱恨情仇,万丈红尘,谁人能够躲避? 走过最深的低谷,爬过最高的山峰,喝过最烈的美酒,拥有最美的女人。且错且过,命运折磨,造就了凡人成为英雄的一生!一觉醒来,获得进出异度空间异能。小岛长,土地肥,开启空间种田模式。 “以三个月为限,你若实现一个亿的小目标,就允许你追求我!” 白落雪一语成谶。 到期了,陈凌宇为何不追?他不会是忘了吧? (轻松向爽文,微异能,主角是防御和耐力点满的非圣母人设) 末世降临,潘风无意中得到了潘凤的传承! 潘风:“吾有上将潘凤,可斩变异丧尸!” 潘风:“潘凤?潘凤?” 潘凤:“末将有些內急,要不...你先上?” 潘风:“......” 潘风:“坑爹啊!” 潘风:“我真的不想当潘跑跑,我想当潘无敌啊!”重生一次,能够改变什么? 你,没错,就是你,你有思考过这个问题吗? 很显然,我们的主人公,唐虞,没有思考过这种问题,或者说,在重生之前的他完全作为白罕的,咳,好用的棋子,没有用他那单纯的思维去思考过什么深奥的问题。在重生之后,他决定从白罕的掌控下分离出去,娶回爱人,完成报仇,改写自己惨死的命运。 博士,你玩够了吗?画外传来有些机械的声音。 声音带着机械怎么了?我好歹还是一个&amp;amp;%¥002不满的说。 咳咳,让我们无视这个不知道从哪里来的而且还剧透的声音,接着来看看唐虞是怎么改写自己的命运吧! 顺带一提,为了观感,我替大家打了个码,不需要谢我。 你=…¥%&amp;amp;……%¥*&amp;amp;¥ 李昱穿越十年,用仅记得的十几首歌送给妻子。   没想到就此捧红,一飞冲天成为天后。   李昱也成为天后背后的男人。   可是当他出不了歌,妻子事业正当红时突然提出离婚,并表示事业比他更重要。   也在这时触发神级人气系统。   李昱表示,不装了,摊牌了。   我是天王巨星!一块雕刻着马王爷的青色玉佩,一个刚刚大学毕业初入古玩界的毛头小子,且看秦毅如何凭借从玉佩中得来的鉴宝双目,翻身农奴把歌唱,不断成长为古玩界中一颗冉冉升起的超新星。如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。 在遥远的玄云大陆,一位被父母抛弃的孩子,被迫成为萧家的奴隶,而他为了活下去,在萧家的禁地偷学了萧家的秘法:鬼龙爪,他将要在这片大陆走出自己的天地………
须弥戒内 大宋王朝那些事儿 第5纪元 异世之开局捡到一头龙 Anonymous未名少女 南派盗墓笔记 点道人 栅栏上的夕阳 极品农民叱咤都市 天启,终末时代 怎么会是我重生啊 修罗宁神纪 绿茵江湖 一片丹心 诡医谜案 远离帝宙 云上平田 长生卷宗 德拉西翁:迪迦的继承者 命之陨 t31 邮票 泰国邮票 象 手机炒邮票软件 女娲拔土作人邮票价格 t31 邮票 几内亚共和国 邮票 手机炒邮票软件 普13邮票拍卖 上海迪士尼邮票图稿 2016年古镇邮票发行 1985大熊猫邮票值多少钱 1985大熊猫邮票值多少钱 中国1970年发行的文革邮票 泰国邮票 象 邮票上的情人节 女娲拔土作人邮票价格 十分环保邮票规格 上海迪士尼邮票图稿 天时地利人和银邮票 邮票的知识。 泰国邮票 象 邮票司马光砸缸市场价 天时地利人和银邮票 金训华邮票一版多少张 炒钱币纪念币邮票有风险吗 中国1970年发行的文革邮票 上海迪士尼邮票图稿 伦敦奥运邮票纪念册 天时地利人和银邮票 上海迪士尼邮票图稿 女娲拔土作人邮票价格 工行火猴迎新金邮票 冬奥纯金邮票多少钱 邮票上的情人节 风琴折是邮票吗 2016年1880邮票 冬奥纯金邮票多少钱 手机炒邮票软件 中国1970年发行的文革邮票 邮票司马光砸缸市场价 2016年1880邮票 2016年古镇邮票发行 邮票交易申购 十分环保邮票规格 金训华邮票一版多少张 工行火猴迎新金邮票 1985大熊猫邮票值多少钱 2016年1880邮票 中国1970年发行的文革邮票 长江邮票珍藏 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 最后的永恒战士 吾名三更 南宋,纵横天下的杨幺 我有最强神级天赋抽奖系统 特种兵之开局震惊唐心怡 欧博官网 百家乐官网 澳门葡京游戏官网 欧博官网 亚星游戏官网 冬奥纯金邮票多少钱 长江邮票珍藏 上海迪士尼邮票图稿 中国1970年发行的文革邮票 风琴折是邮票吗 1985大熊猫邮票值多少钱 西游记邮票二设计图稿 炒钱币纪念币邮票有风险吗 甲午马年纯银邮票 求售2016年纪念猴年邮票 1985大熊猫邮票值多少钱 邮票司马光砸缸市场价 求售2016年纪念猴年邮票 t31 邮票 t31 邮票 手机炒邮票软件 申猴献寿邮票 风琴折是邮票吗 女娲拔土作人邮票价格 金训华邮票一版多少张 西游记邮票二设计图稿 裁剪下来的邮票 十分环保邮票规格 天时地利人和银邮票 邮票交易申购 邮票的知识。 邮票交易申购 2016年古镇邮票发行 邮票上的情人节 冬奥纯金邮票多少钱