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"
优借贷软件雷蛇声音加强软件优借贷软件云惠软件照机软件预录软件**软件优借贷软件233软件iphone8软件作者软件优借贷软件3d鱼软件招商用软件有偿软件iphone8软件37泡软件正赢软件正赢软件ios能自动点击的软件下载互联网网络软件正赢软件233软件啄木鸟恢复大荟萃软件照机软件格斗技巧软件云惠软件啄木鸟恢复大荟萃软件ios能自动点击的软件下载3d鱼软件修仙和历史共存,里面涉及的历史典故和俗语比较多。“变成一条龙是什么体验?” 叶寻变异了,拆完一个陌生快递,开启了疯狂的觉醒之旅。 他变成了真正的肉食性猛兽,食量剧增、力量疯涨,还因此而收获了美女总裁的垂青。 当叶寻力挫情敌,俘获佳人芳心,开始走向人生巅峰的时候,一场全球危机悄然降临…… 龙魂再现,守护华夏!功我是一个老千,为了报仇,我坐上赌桌,以千术把仇人踢进赌博的深渊。老千生涯,靠赌为生。三教九流,江湖百态。 赌桌上,没有常胜将军,输一次,万劫不复。大学生平静的生活遭到破坏,噩梦的生活开始,不值得相信的同学秦政穿越成大康王朝的皇帝,一睁眼便在龙床上宠幸后宫美人。 原以为从此便可美人在怀,夜夜笙歌,好不快活。 他却发现这个国家已是权臣当道,世家横行,国库空虚,暴乱四起,异族虎视眈眈。 秦政只好手握屠刀,成为一代铁血皇帝! 顺我者昌,逆我者亡! 乱我江山社稷者,统统都得死!吴聊穿越宗门林立的武道世界 本为圣宗附属,前途无量 却得罪权贵,师门被灭 侥幸逃得一命的吴聊加入六扇门 从此镇压天下 “圣宗犯法,与庶民同罪。” “凡违背人道,犯我大乾律法者,虽远必诛!”少年张玄某一天偶获异能从此改变了他平凡的人生. 能够轻易撕裂敌人的利爪 一拳轰爆坦克的能量锤 自由翱翔在天空的滑翔 轻易摧毁飞机的鞭拳头 ...各种异能让他成就非凡! 让我们来看张玄如何收服众美女完美逆袭此文是麻辣女兵续文,之前一直在别的地方有更新,现在搬到这里是因为17k是我写文章的起点。此文为虐文,是5年前想出来的大纲,之所以写出来是觉得里面有的情节还不错,希望大家喜欢。文章我确实是按照麻辣女兵之前的性格人物来写的,所以读者有质疑欢迎提出来我们做探讨!少年李苏牧,自北地持剑而出。 为寻身世之谜,一人一剑,乱北荒,踏北洲,横渡冥海;闯东洲,撼东荒,决战天幕山。
余烬:文明崛起 虞美人 长安 九龙风水师 噬尊者 来!打我 我带着系统回来了! 无名尊者 七轩 浪迹异星 僻仙道 重返1995 苍茫黄天之下 贪佛游戏 诡秘降临:我在港综世界学斩神 湘鄂西志异 西游之通天大圣 从一杯恒河水开始进化 W语言 古仙灯 当个老六还真爽 pdf合并分割软件简单易用 、软件技术 37泡软件 照机软件 pdf合并分割软件简单易用 医学3d人体解剖互动演示软件 21点软件 做b的软件 格斗技巧软件 坐骑软件。 233软件 3分钱软件 dmcs5软件下载 、软件技术 预录软件 照机软件 21点软件 格斗技巧软件 7v7软件 优借贷软件 、软件技术 有偿软件 雷蛇声音加强软件 招商用软件 iphone8软件 dmcs5软件下载 格斗技巧软件 雷蛇声音加强软件 7v7软件 格斗技巧软件 照机软件 、软件技术 云高通软件 预录软件 啄木鸟恢复大荟萃软件 照机软件 云高通软件 37泡软件 dmcs5软件下载 有偿软件 云惠软件 坐骑软件。 用办公软件 21点软件 招商用软件 、软件技术 3分钱软件 云惠软件 dmcs5软件下载 **软件 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 凌晨网约车 放我一马如何 影视:我有一扇穿梭门 浪迹异星 那一厢 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 做b的软件 233软件 坐骑软件。 、软件技术 做表的软件 优借贷软件 云高通软件 有偿软件 37泡软件 3d鱼软件 21点软件 医学3d人体解剖互动演示软件 dmcs5软件下载 21点软件 作者软件 啄木鸟恢复大荟萃软件 用办公软件 用办公软件 雷蛇声音加强软件 233软件 有偿软件 做b的软件 3d鱼软件 坐骑软件。 云惠软件 pdf合并分割软件简单易用 dmcs5软件下载 照机软件 招商用软件 照机软件