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"
鹏源驾校报名处沁源有什么驾校鹏源驾校报名在哪邳州驾校学生邳州交通驾校价钱鹏源驾校报名处莆田秀屿区驾校鹏源驾校报名在哪秦皇岛那个驾校好包过莆田嘉达驾校报名地点邳州交通驾校校长谁鹏源驾校报名处莆田驾校的科目4邳州交通驾校校长谁鹏源驾校报名在哪莆田嘉达驾校报名地点濮阳金盾驾校教练邳州交通驾校校长电话邳州交通驾校校长电话蕲春县有哪些驾校秦皇岛燕大驾校报名处邳州交通驾校校长电话是多少秦皇岛那个驾校好蕲春长城总驾校电话邳州交通驾校价钱朋友圈驾校宣传邳州驾校学生骑龙驾校收费蕲春县有哪些驾校莆田驾校的科目4用一个个短篇故事了解动物小说 用不长的篇幅写动物小说玄幻世界 男主获得系统穿越到其他世界成为玄烨仙王的后代的故事…我乃李青,今日人族之守护神。若有妖魔残害人族,吾定不饶。洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”未来科技高度发达但战火不断,人类各大文明区为了缓和阶级矛盾,以各自文明历史、神话或传说为基础元素构建了人类文明的终极进化宇宙!以三国历史为背景的华夏文明、以科幻传说为背景的漫威文明、以天道教为背景的大和文明、以历史神话为背景的高丽文明……,万国文明在进化宇宙中展开残酷的弱肉强食的文明争锋,群雄逐鹿于丛林法则之下,试问哪个文明能傲立于巅峰!无声的微光,我在另一个世界里点亮,可未来的你是不是忘记了时空的伏笔,奇点重现,生命悄然降临。说我是九天云外望穿了虚空的盖世神帝也好?还是大陆之巅漂泊半生的逍遥魔头也罢,但只有我知道,我始终是凡尘市井中的那个锦衣玉食的纨绔少年,我也愿意当!一不小心穿越到大唐贞观年间,成了李世民的女婿,从此过上了想揍谁就揍谁的舒爽生活。 “陆恒到底是扮猪吃老虎,还是真的憨啊?”李世民第n次怀疑人生。 此时,房玄龄跑到御书房来欲哭无泪:“陛下,您女婿陆恒又把人给揍啦!五姓七望一家没落下啊!” 李世民捂住脑门:“没出人命吧?” ………… 某个世家门口,陆恒叉着腰嚣张跋扈:“还有谁!出来一起打!我父皇说了,不能打死人,你们放心出来!”我真是服了,第二次了,怎么又是让一个老六给刀了,这个时候给我一刀。完了完了,要嗝屁了。 闫鞅使劲捂着身上的伤口,但是他现在视线已经开始模糊。上次给我一次穿越的机会,看来这次真的要死翘翘了,如果有下辈子,我也要当一个老六,给那些人一人一刀。那一年,万里河山狼烟四起。 枪声惊醒山林,硝烟弥漫古观。 终南山玄隐观小道士宋修,秉承师命下山入世保家卫国。 激战中,他竟意外穿越现代。 会医术,懂武术,能占卜... 琴棋书画,吹拉弹唱,都会“亿”点! 靠着一身本事,他成为实至名归的国民神医,国粹传承人,武道宗师。 本书又名:《我真只是个道士啊》,《都市:靠道士身份开始出圈》,《穿越现代之好好活着》。
我在菜市口斩妖除魔那些年 神游至人间 压死!DISTORTION 做民宿的那几年 三好学生? 直播手艺大师 彼岸落笔 神之末代 灵气复苏:我的科武人生 战鹰战隼2 修仙恩仇秘录 开局我是一只蚯蚓 恋战记 这个精神病居然是超能力者 遥远的桥 魔亭川 风烈苍穹 绝代股王 无知的凶手 洪荒英雄传 英雄传说 青白江路正驾校收费 邳州交通驾校在哪报名 濮阳金盾驾校教练 邳州交通驾校校长电话 青白江路正驾校收费 杞县宏达驾校科目一 乔创驾校学校电话号码 莆田嘉达驾校有几个点 朋友圈驾校宣传 莆田驾校的科目4 秦皇岛那个驾校好 秦皇岛那个驾校好 蕲春长城总驾校电话 莆田嘉达驾校报名地点 鹏翔驾校B2 邳州交通驾校价钱 乔创驾校学校电话号码 朋友圈驾校宣传 秦皇岛燕大驾校报名处 鹏源驾校报名处 邳州交通驾校在哪报名 鹏源驾校报名在哪 沁源有什么驾校 邳州交通驾校校长电话是多少 莆田嘉达驾校有几个点 蕲春长城总驾校电话 朋友圈驾校宣传 沁源有什么驾校 秦皇岛燕大驾校报名处 朋友圈驾校宣传 邳州交通驾校校长电话 邳州交通驾校在哪报名 邳州驾校学生 鹏源驾校报名处 蕲春长城总驾校电话 邳州交通驾校价钱 鹏源驾校报名在哪里 乔创驾校学校电话号码 蕲春长城总驾校电话 鹏源驾校报名在哪里 邳州交通驾校价钱 莆田嘉达驾校在哪 蕲春县有哪些驾校 秦皇岛长城驾校考场 邳州交通驾校校长电话是多少 邳州交通驾校在哪报名 秦皇岛那个驾校好 邳州驾校学生 蕲春东升驾校投诉电话 莆田秀屿区驾校 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 九万里大地 乱世僧 网游之百倍增幅 魔神鬼卿 密接者 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 鹏源驾校报名在哪 邳州交通驾校在哪报名 蕲春县有哪些驾校 莆田九洲驾校好不好 邳州交通驾校价钱 秦皇岛燕大驾校报名处 青白江路正驾校收费 莆田嘉达驾校报名地点 莆田嘉达驾校有几个点 邳州交通驾校校长电话 莆田秀屿区驾校 莆田嘉达驾校在哪 沁源有什么驾校 蕲春长城总驾校电话 邳州交通驾校校长谁 莆田九洲驾校好不好 杞县宏达驾校科目一 莆田嘉达驾校报名地点 鹏翔驾校B2 邳州交通驾校校长电话是多少 邳州交通驾校校长电话 青白江路正驾校收费 沁源有什么驾校 邳州交通驾校在哪报名 莆田嘉达驾校报名地点 邳州交通驾校价钱 邳州交通驾校校长电话是多少 莆田嘉达驾校有几个点 莆田驾校的科目4 秦皇岛长城驾校考场