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"
四川读驾校需要什么手自一体驾校教学视频教程四川读驾校需要什么条件四川驾校改革10月四海驾校科三好考吗四川读驾校需要什么石景山区驾校哪个好四川读驾校需要什么条件手机驾校模拟考试软件下载四会那家驾校拿证快四会口碑最好的驾校四川读驾校需要什么石家庄中通驾校通过率四会聚源驾校好吗四川读驾校需要什么条件四会那家驾校拿证快石景山有驾校四会驾校科目一去边考?四会驾校科目一去边考?顺义驾校报名多少钱手自一体驾校教学视频四会驾校科目一去边考?手机驾校模拟考试软件下载顺达驾校怎么样啊四海驾校科三好考吗双龙达驾校四川驾校改革10月谁在盛源驾校包过过顺兴驾校哪个教练最石家庄中通驾校通过率从小与我同龄的孩子都不愿意和我玩 说什么? 我是鬼的孩子战神之子,被视为杂种废物,入赘以保族人,生死之际激发绝世传承,觉醒逆天体质。自此,世间再无欺我亲人者,弑我族人者。若国无道,我便为帝,若天不公,我便伐天! 生活的点点滴滴、繁杂往事 公元2030年,一颗直径超过两米的陨石坠落太平洋,却未曾掀起巨浪,九州,东瀛,沙俄,不列颠,自由国五国组成五国研究队,采集样品。公元2031年,由自由国为首的五国研究所发表声明,陨石中含有未知生命体,但只能寄生于活体,将其命名为奇迹病毒。公元2035年,病毒开始变异,世界悄然发生变化,我们的故事从这里开始。全人类都没想到,一场突如其来的灾祸,部分人类消亡,文明和科技倒退,全球走向末日时代,世界格局重新洗牌,不再有国家的界限,而是被几大区所代替。 在这个末日新世界,人人在自保,人人都在自救,而此时一个叫做肖章的青年从最贫困的第三无人区走出……。“苍天已死,黄天当立,岁在甲子,天下大吉。”黄巾起义 ,群雄逐鹿 ,东汉末年,皇帝昏聩,宦官专权,民不聊生。乱世风云谁际会,一威之震化龙飞,青梅煮酒论英雄,天下豪杰出我辈。历史犹如一座舞台,你方唱罢我登场,世事如棋局局新,执棋人终将变成棋子…玩归玩,闹归闹,回到汉末三国还得跟我皇叔混! 昔日屌丝秦耀,自穿越汉末以来,身无所长,心无所居,惶惶度日十载,历经黄巾之乱,成刘备帐下一无名小卒。 大战前夕,上司张飞醉酒发狂,险先误杀秦耀。秦耀大怒:“阉人张飞,安敢放肆!” 【叮,你的外挂已上线!】 得最强打工系统,做最帅打工仔! 助刘备,平蛮夷,灭世家,除军阀,揽群芳于铜雀,招贤臣于麾下,安天下于掌握,扶明主于帝位! 纵横天地间,谁能与之相扛? 秦耀:“在下秦耀,愿助主公成就千秋大业!” 刘备:“我得汉明,大事可期!”   大脚从天而降把人类震回了原始时代,到处都是人吃人的恐怖景象……商业微信:zicsnk 同名漫画:https://afdian.net/@1994sr 天地初始,孕育造化之九塔,镇天地之混沌,衍天道之灵,构筑万界秩序,演化万界生灵。   时光飞逝,流转亿万年岁月,九塔蒙尘。   都市发展迅速,进入科技新时代,城市高楼林立,灯火通明,一位名为纪十安的少年正在密林中举起了他的弓箭。。。。。
东荒纪元 天墟剑录 三国:砍我!拼团秒杀刘备! 一画天下 末世游轮行 亮剑它歪楼 九州无敌战神 科学应劫手册 魔亦通天 至暗时刻:裁决 万古第一灵帝 Anonymous未名少女 我复活在神魔战场 仙帝归来之最强奶爸 网游之剑铸传奇 二五仔大统领 子星记 杰厉 元界至圣 镜像界 双柏源星驾校多少钱 四会哪家驾校最好 石景山有驾校 四会驾校科目一去边考? 双柏源星驾校多少钱 双休驾校会放假沫 时尚华龙驾校地址 四会有几间驾校 双龙达驾校 石家庄中通驾校通过率 手机驾校模拟考试软件下载 世界公园附近的驾校 顺达驾校怎么样啊 四会那家驾校拿证快 顺义哪家驾校拿本快 四海驾校科三好考吗 时尚华龙驾校地址 双龙达驾校 手自一体驾校教学视频 四川读驾校需要什么 四会哪家驾校最好 四川读驾校需要什么条件 手自一体驾校教学视频教程 四会聚源驾校好吗 四会那家驾校拿证快 顺达驾校怎么样啊 双龙达驾校 手自一体驾校教学视频教程 手自一体驾校教学视频 双龙达驾校 四海驾校科三好考吗 四会哪家驾校最好 四川驾校改革10月 四川读驾校需要什么 谁在盛源驾校包过过 四海驾校科三好考吗 四川驾校b2报名多少钱 时尚华龙驾校地址 顺达驾校怎么样啊 四川驾校b2报名多少钱 四海驾校科三好考吗 四通驾校报名处怎么样 顺义驾校报名多少钱 世界公园附近的驾校 四会聚源驾校好吗 四会哪家驾校最好 手机驾校模拟考试软件下载 四川驾校改革10月 顺兴驾校哪个教练最 石景山区驾校哪个好 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 仇恨效应 补仙道 模拟器:开局斩尽满天神佛 龙魂永昌 大明:哥,我真的不想当皇帝 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 四川驾校改革10月 四会那家驾校拿证快 四川读驾校需要什么 石景山有驾校 四会聚源驾校好吗 双柏源星驾校多少钱 双柏源星驾校多少钱 四会那家驾校拿证快 四会那家驾校拿证快 四会驾校科目一去边考? 石景山区驾校哪个好 四通驾校报名处怎么样 手自一体驾校教学视频教程 顺达驾校怎么样啊 四会口碑最好的驾校 石家庄中通驾校通过率 双休驾校会放假沫 四会那家驾校拿证快 顺义哪家驾校拿本快 四会聚源驾校好吗 四会驾校科目一去边考? 手自一体驾校教学视频教程 手自一体驾校教学视频教程 四会哪家驾校最好 四会那家驾校拿证快 四海驾校科三好考吗 四会聚源驾校好吗 四会有几间驾校 石家庄中通驾校通过率 世界公园附近的驾校