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"
电影最新上映的电影电影天堂神马电影电影最新上映的电影有哪些电影罗蜜欧与朱丽叶电影美女食人岛电影最新上映的电影电影狂舞派照片电影最新上映的电影有哪些电影流浪者图片太平洋电影魔术师剧情解析电影梦精爱气绝的想象电影最新上映的电影电影女友被活埋电影梦精爱气绝的想象电影最新上映的电影有哪些电影魔术师剧情解析电影里的洛恩电影美女食人岛电影美女食人岛电影铁枪金喉主演是电影龙门单家伟电影门完整版观看电影流浪者图片太平洋电影铁枪金喉女演员表电影冒牌天神在线电影天堂神马电影网电影罗蜜欧与朱丽叶电影铁枪金喉剧情电影铁枪金喉主演是电影频道郭采洁电影一夜之间,世界遭逢巨变,本是平民百姓的你,却意外拥有了罕见的异能......民国初年,江沪青年司机玄狐,在驾驶车辆走夜路时,因碰撞阴魂煞气而丧命! 在九重天阴司府投胎审核寺,玄狐的鬼魂遇到此处监官铭难改等神仙,在进行投胎运程实验游戏,玄狐有幸被挑选参加这个游戏! 从此,玄狐开始扑朔迷离、危机四伏、艰苦卓绝、无穷无尽的换回磨难历程......位卑不敢忘族,匹夫一怒,尚且血溅五步,小人物也有大情怀,天启大陆种族共存,大小势力无数,一轮墨绿色翡翠圆盘,让林风从微末中崛起。冰河世纪!火山喷发! 荒芜末日即将来临? 李晨重生回到末日来临之前,激活神级科技系统,从此在末日也能潇洒滋润。 大旱?给我来场雨! 暴雨?水库建起来! 能源?村里都快有第一类永动机了。 食物?水培仓按几下按钮什么都有! 没有李晨想不到,也没有李晨做不到。 外国:“oh!my God!在东方,有一个神秘的村落,他们居然在末日天天办party!” 桃花村村里村外,漫山遍野都是花朵,开得正香。 张铁牛摘了这朵,还有那朵,远处县城方向,还有向他招手的野花。 刘嫂子:铁牛,我家玉米成熟了,过来帮忙摘一下。来,嫂子给你擦擦脸上的汗,看这天气热得,快去河里洗洗吧!万物皆因源而生,百舸争流,攀登者,必踩出血海尸山! “那就让我来宣布对你的审判结果吧。”军事法庭上,一名身着盛装的法官对着面前的蓝发少年说着,纵使是他们在审判这个男孩,纵使法庭外驻扎着一只军队随时防备着,但仍旧掩盖不住他们眼里的恐惧,只有旁边的一位白发红装少年和金色长发绿色荷叶裙的少女能带给他们安全感。 “南宫星辰,故意发动战争,致使伤亡上万人,鉴于其知错能改,并在后来的战争中发挥了巨大作用,宣判:南宫星辰流放荒地,不得王命,永世不得入法斯。”‘’南宫星辰,领罪矣‘’  朱慈睿穿越了……   直接成为了明熹宗朱由校的皇太子,而且成为商界巨擎马家的外孙,称霸沿海的郑芝龙的干外甥。   可谓之靠山硬,背景足!   就在朱慈睿准备过上奢华的皇太子的时候,他发现自己绑定了一个无敌作死系统!   从此,朱慈睿必须每天一个小作死,三天一个大作死。   总之,每天都要作死!   否则,他就得死!   从此,朱慈睿走上了无敌作死之旅元宇宙经典游戏出马传奇,沈庸一人独开四号,各有所长 另有三位妹妹辅助,四人共同纵横驰骋,称霸游戏!一不小心穿越到1662年的南明太子朱慈爝身上,是49年入某军,还是能够在末日余晖中绝地反击,肩负起复兴汉人江山的伟业?
王座上的木偶 狐妖小红娘: 签到生活 大唐开局震惊李世民 我可能不弱 元灵法则 持剑行 从梦想之城到第一超时空 未来之后 龙珠:开局加入聊天群 我在末日中横行 神将:铁人军玄虎 仙班册 天位之龙 穿回网游这次一定不强化了 振国神将 我真的很低调 那年桃花有余 猎异之界 侠客的江湖 流浪修者 电影天堂神马电影网 电影魔术师剧情解析 电影里的洛恩 电影美女食人岛 电影天堂神马电影 电影铁枪金喉剧情 电影里有个人亚历克斯 电影南征北战张军长 电影天堂无垠的太空 电影女友被活埋 电影流浪者图片 电影流浪者图片 电影铁枪金喉女演员表 电影魔术师剧情解析 电影最新上映的电影 电影冒牌天神在线 电影撩动我心神马 电影天堂神马电影网 电影天堂荒芜之地2 电影最新上映的电影有哪些 电影免费观看乾隆皇帝 电影最新上映的电影有哪些 电影天堂荒芜之地2 电影门完整版观看 电影那年夏天你去了哪 电影铁枪金喉视频播放 电影天堂神马电影网 电影天堂荒芜之地2 电影龙门单家伟 电影天堂神马电影网 电影美女食人岛 电影免费观看乾隆皇帝 电影罗蜜欧与朱丽叶 电影最新上映的电影 电影铁枪金喉女演员表 电影冒牌天神在线 电影罗蜜欧与朱丽叶 电影里有个人亚历克斯 电影铁枪金喉女演员表 雕灭网电影下载免费 电影冒牌天神在线 电影南征北战张军长 电影铁枪金喉主演是 电影撩动我心神马 电影梦精爱气绝的想象 电影免费观看乾隆皇帝 电影流浪者图片 电影冒牌天神在线 电影铁枪金喉视频播放 电影狂舞派照片 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 我只想做个二把手 闲人无敌 电影世界历险记之我的猫咪 传奇之路:天选者 我师兄是天道之子 亚星游戏官网 万利官网 欧博游戏官网 亚星管理平台 万利官网 电影铁人在线观看 电影天堂荒芜之地2 电影魔术师剧情解析 电影天堂荒芜之地2 电影最新上映的电影 电影天堂神马电影网 电影天堂神马电影 电影美女食人岛 电影天堂神马电影网 电影铁枪金喉女演员表 电影冒牌天神在线 电影铁枪金喉视频播放 电影里有个人亚历克斯 电影铁人在线观看 电影里有个人亚历克斯 电影那年夏天你去了哪 电影撩动我心神马 电影最新上映的电影有哪些 电影龙门单家伟 雕灭网电影下载免费 电影那年夏天你去了哪 电影那年夏天你去了哪 电影魔术师剧情解析 电影天堂神马电影 电影那年夏天你去了哪 电影频道郭采洁电影 电影天堂荒芜之地2 电影狂舞派照片 电影罗蜜欧与朱丽叶 电影里有个人亚历克斯