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"
甘肃平凉崇信天气预报河北白洋淀30天气预报平凉市崇信县历史天气2016年重庆8月份天气预报重庆天气预报2017年8月甘肃平凉崇信天气预报柬埔寨十五天天气预报平凉市崇信县历史天气白洋淀一个月天气重庆天气 8月湿度柬埔寨 吴哥11月2日天气预报15天甘肃平凉崇信天气预报贵州省2016年天气汇总柬埔寨 吴哥11月2日天气预报15天平凉市崇信县历史天气重庆天气 8月湿度金边11月天气重庆天气预报2017年8月重庆天气预报2017年8月黑河7月天气预报海南万宁冬天天气甘肃省崇信县历史天气查询白洋淀天气预报30天查询重庆7-8月份天气平均温度鄂尔多斯常年天气崇信县天气预报152016年重庆8月份天气预报重庆08月份天气情况黑河7月天气预报柬埔寨钱币天气2333年,人类开始走出地球,拒绝奴役外星生命的和平派人类和殖民派的人类发生了决裂,决裂过后,蛰伏在人类精英层中并掌握了全球百分之七十已开发资源的蜥蜴人趁虚而入侵占地球,人类文明危在旦夕,生产水平回到半人工半机械化时期,地球各个势力在危机面前都有不同的生存方针,外有蜥蜴人的入侵,内有人类种族之间的各个矛盾,时代洪流之中,华夏的伟大领袖振臂一呼,涌现出了一大批英雄人物,但这绝对不是个人英雄的主义。不懂武功的男主在得到一本神秘棋谱后卷入江湖仇杀。伴随着棋谱的不断出现,武林到处都是腥风血雨。众多朋友为此而牺牲,男主发誓要剥开背后的云雾重现青天。 浩瀚无垠的宇宙,不知起于何时,世代更替,纪元沉浮,葬下了不知几何。上位者毫不顾忌他人生死。构建无数小世界,圈禁所谓罪族。剑武大陆便是其中之一。一场灭门之祸,叶延重生异世大陆,身怀仙界古玉,执掌小世界。 这一世,我叶延定要掌控天下,成为那神界之主。 一人一剑,傲视苍穹!   这是伪神黄昏,也是新神黎明,当新旧两派神祇还在不断明争暗斗之时,是否有人曾抬头望向那深邃黑暗的天空,那里,也许还有别的东西在默默注视着他们!   而当末日之战真正降临的这天到来,是否有人能逃过那不可名状的恐怖,又或是置之死地而后生,成为新的恐怖存在!   身为最后一个人类,名为余烬的少年将如何创造自己的传说故事,又将在这场即将笼罩整个蓝星的阴影中何去何从? 杨洛因情跨入禁之领域长生祸,就算世界上所有的人都死了他都不会死。他看遍了诸世的沉浮,活了无数个时代,为了爱人杀入了平行宇宙,茫茫星空,浩瀚宇宙,世间万千都曾留下过他的足迹……我是任友州是一位高二学生,平常生活中就是屌丝一位,刚被喜欢的女神何月月抛弃。每日都是在神神噩噩的度过每一天。突然有一天在往学校的途中突然眼前一白,身上穿的高中校服竟离奇变成我初中时期的校服。去到学校重新看到初中时期的女神。任友州是否将会重蹈覆辙呢一个理科大学生意外灵魂穿越来到异界大陆,重生在战场之中。这是一个以玄气修炼为尊的玄之大陆,他历经磨难却百折不挠,从小小的玄者到一方霸主的玄王,他的每一步都异常的艰险,精彩人生,从穿越异界开始。仅以此小说,献给那些被双重人格支配的怜人天上仙人,染指人间久矣。 今我大秦既立,大秦国土之上,当无仙人立锥之地。 大秦诸位臣民,朕,先走一步了。 吾,大秦太子,以大秦之名,携人间之力,倒卷天上,从此,再无天上人间之分。
末世游戏之魔法师 万历四十八年 堕神契约 无向之上 百思不得师姐 小白也有武侠梦 末世:吾乃上将潘风! 我用bug横扫异界 剑御苍穹 武侠五分钟 白与昼,黑与夜 极道痞子 为美好的末世献上祝福 全球觉醒:开局鬼焰降临 齐天云帝 重生之修罗大帝 逃亡游戏:我被全人类通缉了 阴阳与五行 三千道机 黑暗之中的光芒 崇信县6月1日天气预报 重庆天气 8月湿度 金边11月天气 重庆天气预报2017年8月 崇信县6月1日天气预报 2016年黑河天气预报 金边天气预报30天查询 崇信历史天气预报 崇信县天气预报15 贵州省2016年天气汇总 白洋淀天气预报30天查询 白洋淀天气预报30天查询 重庆7-8月份天气平均温度 重庆天气 8月湿度 甘肃平凉崇信天气预报 鄂尔多斯常年天气 崇信县6月天气预报 崇信县天气预报15 河北白洋淀30天气预报 甘肃平凉崇信天气预报 昆明八月份天气情况表 平凉市崇信县历史天气 河北白洋淀30天气预报 甘肃省崇信县历史天气查询 崇信历史天气预报 x波段天气雷达占地面积 崇信县天气预报15 河北白洋淀30天气预报 海南万宁冬天天气 崇信县天气预报15 重庆天气预报2017年8月 昆明八月份天气情况表 2016年重庆8月份天气预报 甘肃平凉崇信天气预报 重庆7-8月份天气平均温度 鄂尔多斯常年天气 重庆8月下旬天气温度 金边天气预报30天查询 重庆7-8月份天气平均温度 重庆8月下旬天气温度 鄂尔多斯常年天气 崇信天气实时气温记录 黑河7月天气预报 崇信县6月天气预报 柬埔寨 吴哥11月2日天气预报15天 昆明八月份天气情况表 白洋淀天气预报30天查询 鄂尔多斯常年天气 x波段天气雷达占地面积 柬埔寨十五天天气预报 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 傲世苍穹之萧易传 风之奇迹 大人,时代变了 末日觉醒我在末世躺平了 滇楚黔秦 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 2016年黑河天气预报 重庆8月下旬天气温度 重庆7-8月份天气平均温度 2016年黑河天气预报 昆明八月份天气情况表 重庆08月份天气情况 8月的黑河市的天气预报 甘肃省崇信县历史天气查询 8月的黑河市的天气预报 白洋淀天气预报30天查询 平凉市崇信县历史天气 白洋淀天气预报30天查询 柬埔寨钱币天气 白洋淀一个月天气 鄂尔多斯常年天气 崇信县6月1日天气预报 鄂尔多斯常年天气 柬埔寨钱币天气 甘肃省崇信县历史天气查询 鄂尔多斯常年天气 白洋淀天气预报30天查询 甘肃省崇信县历史天气查询 重庆天气 8月湿度 金边天气预报30天查询 重庆天气 8月湿度 8月的黑河市的天气预报 崇信天气实时气温记录 黑河7月天气预报 崇信县天气预报15 甘肃平凉崇信天气预报