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"
可信网络安全曲靖网站建设上海绿盟计算机网络安全技术公司网络营销渠道成本网络安全 经典书籍20个中国风网站设计欣赏网站建设链接银行网络安全评估报告网络安全 国防营销活动云宽带提升网络安全管理水平穿梭异世的林南被仙人断言,天生绝脉,止于十八。   好在金手指激活,系统附身。   修劫气,炼神体,终成万古仙帝!   “什么狗屁命运,我的命由我自己掌控!”李文重生异世大陆,带着仙府而来,问道长生。本书为原创长篇小说,分为两部。分别是上篇《亿兆富翁的百日蜕变》,下篇《亿兆富翁的二潜舰队》。 描写的是男主角“乌鸟炎”由都市普通人意外成为《亿兆富豪》栏目的幸运观众,从而开启了一段新的人生。恐怖降临笼罩全球。 天才少年宋藏刚进恐怖副本就卡到Bug,获得偷听鬼怪心声的能力,还有大威天龙身上纹。 开局监狱蹬缝纫机,扭断车间主任亲儿子的头:小毕登,硬核物理超度了解一下! 去学院当教师,带领学生攻占学院:你就是校长鬼?跪下,给全校学生磕999个响头,见血的那种! 去小山村下乡,屠戮全村:“村长,麻烦你把村民都召集到一起,我有些事要宣布。” 这个玩家玩游戏,挺费鬼的……35岁的上市公司老总徐登峰意外重生,回到他18岁的年代,一个新的世纪正在冉冉开启,前世没结婚的他看着身边的几个完美女孩陷入万分纠结,该选哪个好呢?  李昊穿越到异世界,有强大的家族供他装逼,有绝色的师妹陪伴,时时刻刻都在人生巅峰,就没下来过……   等等这是谁?竟然是潇炎!听说师妹要下山与他退婚?主角开局模板??! 我……是反派?李昊恍然大悟!穿越多年,劳资特么居然不是主角?   章节推进中,耐心薅羊毛不一样的江山,不一样的大明,看我王不死如何发财,玩转娱乐圈,嚯嚯大明帝国。[战神下山+无敌修仙+奶爸+智商在线] 杨开刚和相恋多年的女朋友订婚,却被一个老头抓到上山,整整限制了八年自由。 当他修仙有成下山后,却发现未婚妻已嫁为人妇,并且有了一个女儿。 世事无常,二人之间又会发生什么样的事?一切只能让老天来决定。在那一天公司聚会陆游喝醉了,一觉醒来看着尸骨遍野的周围以为到了乱葬岗却不成想那是张角的黄巾起义。 至此他默默的加入了十八诸侯,看见了三英战吕布、见证了火烧赤壁败走华荣、也逢上了秋风五丈原、三家归晋。天下风云出我辈,一入江湖岁月摧。皇图霸业谈笑中,不胜人生一场醉。 起神剑,斩断这天下纷争,荡平这贼寇乱党,还天下苍生一个太平盛世! 但这权位,不屑拥有之。 愿携手红颜,笑傲江湖!
信息安全化 服装网络营销 网站信息安全扫描 信息安全的层次化特点决定了应用 国家网络营销师 镇江网站制作 第五届网络安全会议 提升网络安全管理水平 福清网站建设 佛山新网站建设平台 信息安全的层次化特点决定了应用 海外网络营销做什么 网站信息安全扫描 国务院负责统筹协调网络安全工作 北京网站建设第一品牌 昆明建个网站哪家便宜 网站代运营公司 佛山新网站建设平台 东莞网络营销 信息安全策略实施方案 网络安全协议:原理、结构与应用 莆田做网站 信息安全售后服务方案 整合营销 代理 国家网络安全研究院 深圳官网网站建设 网络安全审计技术 济南网站制作公司报价 网络营销学哪一块好 航空网站建设 网络安全类证书 网络安全法 漏洞 网络安全硬件平台提供商 免费网站推广 可信网络安全 提升网络安全管理水平 旅游网站设计模板 购物类网站 服装网络营销 高端汽车网站建设 工业控制系统信息安全国家工程实验室 网络安全的概述 大数据网络安全可视化 第五届网络安全会议 信息安全的层次化特点决定了应用 营销活动云宽带 北京网站建设第一品牌 镇江企业网站建设 易企网站建设家具营销策划 优帮云 网络安全学院 清华大学 云南信息安全测评中心 镇江网站制作 企业网站鉴赏 在网站中添加百度地图 omg网络安全团队是什么 网站建设中心 国务院负责统筹协调网络安全工作 中央网络安全的文件 2015年网络安全数据分析 信息安全化 提升网络安全管理水平 北京网站建设第一品牌 信息安全测试师 omg网络安全团队是什么 信息安全的层次化特点决定了应用 世界 网络安全 公司 微营销的目的 20个中国风网站设计欣赏 做网站汉口 网站建设发布 网络安全的概述 信息安全培训ppt下载 注册信息安全员有用吗网站怎么进入后台维护 佛山新网站建设平台 镇江网站制作 解放军信息安全方案 2017信息安全对抗赛 航空网站建设 全国专业信息安全服务资质证书,-1 深圳网站制作公司 信息安全 活动视频,-1 信息安全策略实施方案 网络营销app 北京网络安全与维护培训班 深圳营销网站 title:网站制作公司 powered by dedecms 网络营销开始先怎么做 网络营销产品定价基础 哈工程信息安全实验室 莆田做网站 镇江网站建设机构 国云科技 信息安全,-1 国云科技 信息安全,-1 全国专业信息安全服务资质证书,-1 信息安全售后服务方案 网络营销开始先怎么做 响应式网站 有哪些弊端 网络营销能力秀 网站建设com 广东省网络安全应急平台 微信营销推广案例 胶州做网站 网站互动 滴滴出行营销事件 信息安全培训ppt下载 国家网络安全的案例分析 北京网络安全与维护培训班 搜索引擎营销的功能 无锡网站建设原则 腾讯营销案例ppt 申请做网站 网络与信息安全等级 网络安全证有什么用途 微营销的目的 苹果支付网络安全 企业网站鉴赏 网站有哪些内容 网络安全技术是 病毒是营销怎么给网站添加站点统计 网络营销学哪一块好 整合营销 代理 2016信息安全专业排 国家网络安全的案例分析 网站变灰色 网站变灰色 申请做网站 昆明建个网站哪家便宜 病毒是营销怎么给网站添加站点统计 网络安全类证书 淘宝营销理念 网络安全 软件设计 郑州网站建设公司 西城网站制作公司 网络安全法 漏洞 建设通网站 2017信息安全发展趋势 滴滴出行网络营销策略 信息安全 活动视频,-1 网络信息安全举报 温州手机网站推广 网站建设项目 免费网站推广 蚂蚁营销在哪 网站代运营公司 做网站创意