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"
哪一年的邮票值钱1995-1邮票兵马俑邮票的来历呼振源 设计的邮票j.175 邮票哪一年的邮票值钱中国纪念邮票兵马俑邮票的来历首都体育馆邮票1977邮票俄罗斯邮票价值哪一年的邮票值钱集邮 中国邮票1994-10昭君出塞m俄罗斯邮票价值兵马俑邮票的来历邮票真伪鉴定范文2011-10邮票j.175 邮票j.175 邮票郑板桥作品邮票大佛艺术邮票特43邮票多少钱首都体育馆邮票邮票上的国名邮票 鉴真东渡1993龙门石窟邮票呼振源 设计的邮票邮票 北京民居郑板桥作品邮票洛神赋图 邮票天地异象,洪荒崛起,万事万物皆被抛弃,人如蝼蚁,生灵如草芥,是灾祸,亦是机遇,既然正义已经无法拯救世界,就让我跌入魔,坠入道,拯救芸芸众生。这是一个奇妙的世界,尖端科技已经超越现代水平,而文明发展却还停留在1000年前。在这个世界最强大的帝国中,有一个放荡不羁的青年,在被人击败后偶然得到一本神功,成为城中至霸,却又突然失去全部功法,沦为废人。在神秘高人的帮助下,他重回巅峰,和同伴们一同探索这个大而又神秘的世界,同时,他们也逐渐揭开,这其中蕴藏的秘密……陈老大,陈肆本是兄弟,但性格却大不相同,陈老大为人最是忠厚老实,街坊邻居尽晓… 谁知警察带着通缉令将正在卖鱼的陈老大逮捕,是含冤入狱?还是人性的伪善?不得而知…命运长河的波澜一往无前 受到命运之神的眷顾 万石成为这一代的机械主神 带领机械文明走向复兴这个由你而构建的世界,我们就主角,世界围绕着我们而转,你睁眼的每一天,都与你为中心;你死亡,你构建的世界一起崩塌。用心去感受,你在的地方安静祥和,时间就像静止一样,你能够听到你的呼吸、你的心跳,世界随你而静止,你的死亡,你的世界崩塌,其他的人依然带着时间、科技继续为之运转。我们都市世间的丽丽尘埃,享受了生老病死,风花雪月,喜怒哀乐,月的圆缺,人的悲欢离合。世间的美食,美景。死亡其实是一种新的重生,我们带着父母的期望行走在世间,子女继续延续,是一种传承,带着希望和光明探索世界,死亡另外的一种重生,不用伤感,体验了人世间的种种是一种修行和体会。我们用另外的方式守护着我们爱的人和这个世界。 昔日的位面第一宗门‘妖傀宗’圣主叶欢,因为争夺位面至宝八荒鼎,被诸多大帝围攻陨落,再入轮回与将门犬子夜欢灵魂融合。 废柴笑柄?我炼体术不坏不灭,谁与争雄? 家道衰落?我炼丹术冠绝位面,扶不起一个家族? 边疆失守?我打造的连弩刻有玄奥灵阵,可杀敌于千丈之外! 异族邪魔来袭,家园沦为炼狱?我炼制的妖傀无数,足以横扫八荒! 外面有一支神秘势力,就要统一大陆?无妨,那就是我一手扶持的顶级宗门! 圣域的一位老祖已经称皇称帝?莫怕,那不过是我当年随手炼制的一尊妖傀罢了!少年南弦意外获得全能系统,在之后的日子里,从此纵横都市。 需要什么技能,就学习什么技能,让敌人郁闷到死,他就是打破常规的妖孽。 他游走在黑暗世界,灭脚盆,杀猴子,虐棒子,横扫M帝国,让敌人闻风丧胆。身边还有各种美女相伴。是意外吗?重生解开意外死亡之谜,一个叫欧阳宇墨的特种兵退役后惨遭陷害后重生初中陆无忧本是一世俗王朝的普通人,在他九岁那年,被一场修士的激战波及,机缘巧合之下踏上仙路,只求他日成大道,得永生……穿越你见过,穿越两次的你见过没? 好不容易穿越古代成了王莽,一出场就干死天下所有刘秀,可兢兢业业那么久,还是一朝帝王变打工! 再穿越,我服了,我躺平了,我摆烂了,我做一个普通人总行了吧? 只是这粮食不够吃,总得研制下肥料吧? 天啊,上厕所还要棍刮,奶奶的,我造纸还不行吗! 看个颜色小说还要手抄,活字印刷术搞起! 皇帝:尔有大能,可愿入宫为官? 别,我是废物,我只想做平民百姓!
玄气传 空间魔剑士 不正常式生活 老留 重生:火热1990 救世与轮回 野火一卷 黄帝内经续 穿越回三国:一统天下 万神帝尊 人狼学园 醉以我枪挑桃花 严舆列传 特异行者 万里山河皆尘土 六趣界 天域战神被迫打工 天呐!我变成了器灵 鸿轩记 异常生物收容所 1993龙门石窟邮票 邮票真伪鉴定范文 2011-10邮票 j.175 邮票 1995-1邮票 邮票 北京民居 06邮票发行量 奔马纯银邮票 世界珍贵女邮票图片 集邮 中国邮票1994-10昭君出塞m 什么是小型张邮票 什么是小型张邮票 邮票上的国名 邮票真伪鉴定范文 哪一年的邮票值钱 邮票 鉴真东渡 1973年邮票 1993龙门石窟邮票 用过的邮票还值钱吗 兵马俑邮票的来历 毛泽东同志诞辰一百周年邮票 兵马俑邮票的来历 用过的邮票还值钱吗 特43邮票多少钱 1977邮票 邮票 豫园 1993龙门石窟邮票 用过的邮票还值钱吗 大佛艺术邮票 1993龙门石窟邮票 j.175 邮票 毛泽东同志诞辰一百周年邮票 呼振源 设计的邮票 哪一年的邮票值钱 邮票上的国名 邮票 鉴真东渡 呼振源 设计的邮票 06邮票发行量 邮票上的国名 伯矩鬲 邮票 邮票 鉴真东渡 奔马纯银邮票 郑板桥作品邮票 1973年邮票 俄罗斯邮票价值 毛泽东同志诞辰一百周年邮票 什么是小型张邮票 邮票 鉴真东渡 邮票 豫园 2011-10邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 永生世界 爷爷地府造反,我在人间直播 夕阳王朝 血饮狂魔 刚重生,老婆就上吊? 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 1973年邮票 毛泽东同志诞辰一百周年邮票 世界珍贵女邮票图片 世界珍贵女邮票图片 奔马纯银邮票 集邮 中国邮票1994-10昭君出塞m 俄罗斯邮票价值 06邮票发行量 洛神赋图 邮票 1993龙门石窟邮票 郑板桥作品邮票 邮票真伪鉴定范文 2011-10邮票 邮票上的国名 奔马纯银邮票 兵马俑邮票的来历 毛泽东同志诞辰一百周年邮票 俄罗斯邮票价值 世界珍贵女邮票图片 1993龙门石窟邮票 1977邮票 奔马纯银邮票 特43邮票多少钱 毛泽东同志诞辰一百周年邮票 集邮 中国邮票1994-10昭君出塞m 中国纪念邮票 首都体育馆邮票 哪一年的邮票值钱 特43邮票多少钱 邮票 北京民居