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"
营销型网站建设定制西安模板网站建设北京建设网站公司网络营销..sem.gs研究平台长沙市网站制作医疗服务营销策划广州网络微信营销公司有哪些聊城网站设计太原制作网站的公司哪家好营销推广公司西安他是古文系研究生,刚毕业,就去大都市打拼,没想到半路遇扒手,没了钱包手机,靠乞丐的救济过日子,可没想到的是,因为奇遇,与妖魔邪祟打交道,渐渐声名远播,因为相貌以及性格,得到许多个富家女的青睐,也结下了不少的梁子。演绎人生百态,都市人情冷暖,以及爱恨情仇!江湖的心中有一条江,江湖给它取名为“湖”。自此,江不离湖,湖不离江。而江湖的心里,住着一片江湖! 封林是一个在北京潘家园旧货市场开旧物店的小老板,一次在给店里的老房屋装修的机会,竟然在家里墙壁地下暗格发现一个密室,不太大的密室角落里有着一口上了锁的红色的木箱子,盒子打开后里面有着几样东西,一块巴掌大纯金的腰牌。 一本非常破旧的遁甲巫术古书, 还有着一本记录了很多秘事的明朝古书,还有一张残缺不全的地图,箱子里面藏着很多的秘密,让他知道了自己的家族竟然是一个传奇盗墓家族的后人 从古至今的家族秘密缓缓的被揭开,父亲的突然消失,也与此事有关,是为了寻找哪些传说中的东西。 自己兄弟的回归,退役特种兵赵雷,去追寻着父亲的脚步去寻找那传说中的古遗迹,不得不踏入那些恐怖之地。 入活人的禁区,与僵尸斗法,与活人斗智,有一张尸面的鬼狐仙,荒冢野坟墓里的媚女,害人的白皮千年老狸子,披着美女人皮的行尸走肉,几十年难得一见沉没在海里的幽灵鬼船。 一张残破不全的地图,一截刻满符文的龙骨,到底藏着什么秘密? 前世今生,爱恨情仇,梦未醒是非黑白无常,缘起因果,善恶有报,别以为挣脱就能逃亡。灵魂摆渡,几经轮回,黑暗中无处躲藏模样,魂飞湮灭,换骨涅槃,让爱在灰烬里灿烂重生。是千军万马驰骋疆场,是游离龙宫星驰电掣······要炼药?不急,让我先算上一卦!要打架?不急,让我再算上一卦?要寻宝?不急,还得来一卦! 手握乾坤卦,走遍天下都不怕!医理入武,自创玄虚魔体。 善恶一体,衍生七情六欲。 心火入刀,焚灭三毒四劫。 燹魔一叹,刀斩尘世百态。 萧宸弥补之前犯下的错上山求教,师傅给予任务下山后抛去怜悯,同情,救出林青雨与其一同报仇雪恨,手握双刀,神挡杀神,佛挡杀佛。一觉醒来,赵然发现自己穿越了,还特么被女土匪抓去当压寨小郎君了…… 他只是想在这个异世界好好地过完这一辈子,但是他的命运早就和女土匪绑在一起了…… 走投无路的他,只能和女土匪在土匪的道路上越走越远……穿越到了以弑神为尊的――Campione弑神者!世界中,一步一步地成为至高的弑神者,并过上左拥右抱的幸福生活!然后再去其他世界一探。 Campione―弑神者―乃是霸王。 因其诛杀了天上众神,并夺取众神所持有的至高神力之故。 Campione―弑神者―乃是魔王。 此因生存于世上的凡人,无人能拥有与其抗衡之力!两个时间点的男主定期互穿到各自的时间点会发生什么事呢…
最重要的网络营销工具 网站建设申请 淄博做网站 信息安全的层次化特点决定了应用 营销推广公司西安 小米手机网络营销预算 网站制作的趋势 营销模式 产品策略 3合一网站 西安论坛网站制作维护 单位主要网络安全业务 网络安全攻防大赛 鞍山网站制作 无锡优化营销 珠海网站推广 最重要的网络营销工具 网站运营公司 途牛网网络营销策略 网站制作的趋势 网站打开速度优化 深圳电子商城网站设计 营销推广公司西安 宿迁做网站 品牌营销平台 网站优化怎么做 全国信息网络安全协... 建网站推广 搜索引擎营销策略 网站设计价格大概是 cio信息安全高峰论坛 成都网络营销高手 营销外包服务协议 广东地方网络安全法规 重庆品牌网络营销推广 网络营销..sem.gs研究平台 网络营销技术基础语言 山东网站优化公司 网站打开速度优化 网络营销..sem.gs研究平台 专题网站建站 百度验证网站 网站免费认证 邢台网站定制 北京做网络安全的公司南宁做网络营销 网络安全防范技术 开展网络安全认证检测风险评估 联盟网站 网站建设申请 广东省网络安全应急平台 银监会 网络安全 珠海网站推广 自适用网站的建设 uiwebview网络安全配置 网络营销线下培训课程 国家网络安全的案例分析 滴滴营销 营销有哪些职能 网站运营公司 外贸网站设计制作 广东网络安全执法 网络与信息安全等级 信息安全防范技术水平 途牛网网络营销策略 网络安全流量检测 信息安全合规 国家信息安全保护 网站制作的趋势 鹰潭做网站 乌兰察布网站建设 手机网络营销的案例 2016信息安全专业排 营销外包服务协议 医院网站建设方案 专业的网站建设 深圳电子商城网站设计 商城网站建设如何交谈 全网营销网 信息安全的层次化特点决定了应用 营销推广公司西安 网络营销理解不正确的是 山东 信息安全 检查 信息安全等级保护管理办法(试行),-1国家信息安全等级保护制度第二级要求 怎么建手机网站 2016国内信息安全事件 黄岛建网站 广州旅游网站建设设计 工业控制系统信息安全国家工程实验室 重要保障期间网络安全保障方案大连做网站的公司有哪些 福州网络营销 龙岗网站制作资讯 网站优化怎么做 建网站要学什么 成都网络营销高手 信息安全 活动视频,-1 深圳网站建设服务公司信息安全咨询服务 制定网络营销策略须考虑 营销模式 产品策略 外贸网站设计制作 重庆璧山网站制作公司推荐 互联网信息安全要求,-1 email网络营销的现状 营销型网站建设定制 搜索引擎营销策略 web网络安全培训班 西安论坛网站制作维护 网络营销网站 网站设计价格大概是 微网站定制 网站布局 全网营销网 网络营销线下培训课程 福州网络营销 中国网络安全技术 网络安全培训学校 太原理工信息安全 什么是整合营销理念 淄博做网站 联盟网站 营销外包服务协议 网络工程师必读——网络安全系统设计 招商网站建设 营销有哪些职能 无线网络安全问题和防范 长沙 做网站 做网站群的公司 重庆品牌网络营销推广 搜索引擎营销包括 小米手机发布网络营销 内蒙古网站设计 网站优化怎么做 什么是整合营销理念 病毒是营销 长沙 做网站 北京网站建设公司收购 做网站编程 国家网络安全的案例分析 烟台网站建设联系电话 众筹网站建设 广东网络安全执法 seo网站诊断 开展网络安全认证检测风险评估 网站布局 网站打开速度优化 招商网站建设 企业手机网站建设策划书