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"
注射成型论文关于奉献的议论文事例格力公司纳税筹划论文关于丑的论文感想文论文题目注射成型论文关于就业的小论文格力公司纳税筹划论文关于呐喊的论文关于迪士尼景色的论文关于建筑神圣性的论文注射成型论文关于基因遗传的论文关于建筑神圣性的论文格力公司纳税筹划论文关于道义的作文议论文关于就业的小论文1000字感想文论文题目感想文论文题目关于行为美的议论文关于攀岩安全的论文功能美与形式美论文关于呐喊的论文安全生产论文1500字公安基层党建论文关于英文教育的论文关于丑的论文关于冤假错案的论文关于行为美的议论文关于酒店易耗品的论文三流大学毕业的杨易,好不容易在广深一家公司混到人事主管的位置,可突如其来的泄密风波,导致他和女友分了手,当他穷困潦倒之际做起了一名凶宅试睡员,偶然间在床底下捡到一个水晶球。 从此,这个世界在他眼中变了…… “叮!恭喜宿主获得程咬金被动-舍生忘死……”命运弄人,天地造化。不论前路有多么的不如意,皆要砥砺前行!这是哪里? 这...好像是天后女神的梦中。 我真的不是故意侵犯女神隐私的。 ... 我是不是应该做点什么呢? 嘿嘿嘿... 一重人界,八重境界,人尊之道,帝王之界 这里是一片强者为尊的大陆,俗称百川大陆 由上古人尊盘古之躯体化身而成 这里没有任何天外之力,人们只能以修炼精气来强化自身,而修炼精气的人被称作斗士,并通过学习各色秘典来与他人对抗。 精气以强度划分,精气一百年为基础,精气两百年为一重入道,精气四百年为二重人道,精气六百年为三重生道,精气一千年为四重寿道,精气两千年为五重论道,精气五千年为六重真道,精气八千年为七重岁道,精气一万年为八重尊道。 秘典分为三类,分别是心典、武典、气典。 品阶分为七色:白、绿、蓝、紫、黑、金、红,并且与药材的等级划分相对应。 百川大陆当今被两大王朝所分割,分别是北方的靖川王朝和南方的雪燕王朝。 斗士的世界,王者争霸!一代宗师秦凌穿越异界大陆,意外获得系统。 哎!修炼太累了,还是直接加点吧。意念一动秦凌直接突破。 哎!炼丹不会呀,还是直接加点吧。意念一动秦凌的炼丹术直接成了天下第一。 对手:“喂,你特么的能不能要点脸呀!”陈阳被困在了一个永远无法逃离的循环里,只要过了情人节的15点15分,他就会重新回到15天前。 陈阳发现他无论做什么,都无法打破这个半个月的循环,所有的一切都会重置。 在经历了震惊、刺激、狂喜、焦虑不安、绝望和痛苦等情绪后,陈阳开始各种作妖,决定把这个世界搅得天翻地覆。 陈阳开始学习各种技能和知识,利用它们去达到自己的目的,也完全不用考虑任何后果的恣意妄为,去成为世界的焦点。 尤其是针对那些为富不仁的富豪和权贵,更是让陈阳兴奋的难以自制。 直到有一天,陈阳掀翻了娱乐圈的时候,却发现循环忽然被打破了.....【都市+剑修+ “我本无名,只能叫无名了。在我心中,若失去冒险精神就失去了人生意义,那种热血沸腾的感觉真是让我欲罢不能!” 神秘少年获得与所在世界格格不入的力量,由于好奇心的驱使让他四处冒险,奇遇连连,随着身体与武器接连产生异变,他那恐怖的身份以及武器的归属渐渐有了答案……都说庶子与家产无缘,但林弘却不这么认为,看上的东西,不给就抢,才是王道……富家堂姐嫌弃相恋多年男友穷,强迫堂妹替自己出嫁。殊不知,对方竟是一言可定天下的军中统帅!
仿生人:觉醒 大明:我爹是朱元璋 靠送外卖变首富 重生之王爷难当 苏醒黎明 我应该是正义的超人吧? 明月惊鹊 蛹变z 道友,你手中法宝与我有缘 逆天改命:成魔斩仙 神镜:从出生开始签到 幻世修仙录 红楼:我在贾府带妹修仙 行于天灾间,我能做什么 三合会太子爷的首富之路 转灵诀 仙海逆程 刀光里的掌印 我在阳间当阴使 方块一生 关于英文教育的论文 关于道义的作文议论文 关于蓝鲸的论文200 感想文论文题目 关于奉献的议论文事例 关于冤假错案的论文 关于蓝鲸的论文200 关于翻译目的论的论文 关于英文教育的论文参考文献 关于基因遗传的论文 关于内在修养的论文 关于内在修养的论文 安全生产论文1500字 关于道义的作文议论文 注射成型论文 公安基层党建论文 关于目的论的论文 关于英文教育的论文 关于判断的论文 格力公司纳税筹划论文 关于单片机的论文题目 格力公司纳税筹划论文 关于判断的论文 功能美与形式美论文 关于迪士尼景色的论文 关于心灵宣泄的论文 关于英文教育的论文 关于判断的论文 关于判断的论文 关于英文教育的论文参考文献 感想文论文题目 关于单片机的论文题目 关于丑的论文 注射成型论文 安全生产论文1500字 公安基层党建论文 关于丑的论文 关于蓝鲸的论文200 安全生产论文1500字 古罗马文学论文研究 公安基层党建论文 关于翻译目的论的论文 关于行为美的议论文 关于目的论的论文 关于建筑神圣性的论文 关于单片机的论文题目 关于内在修养的论文 公安基层党建论文 关于心灵宣泄的论文 关于就业的小论文1000字 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 世侍弑尸史 重生之我是太上老君的道童 我不止是个御兽师 铁血东平 归家家客服中心 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 关于单片机的论文题目 格力公司纳税筹划论文 关于行为美的议论文 关于丑的论文 关于攀岩安全的论文 关于就业的小论文1000字 关于判断的论文 功能美与形式美论文 古罗马文学论文研究 功能美与形式美论文 关于就业的小论文 关于单片机的论文题目 功能美与形式美论文 关于行为美的议论文 关于单片机的论文题目 关于丑的论文 关于翻译目的论的论文 公安基层党建论文 格力公司纳税筹划论文 功能美与形式美论文 关于英文教育的论文 关于冤假错案的论文 关于英文教育的论文参考文献 关于单片机的论文题目 感想文论文题目 关于道义的作文议论文 关于目的论的论文 关于呐喊的论文 关于道义的作文议论文 注射成型论文