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"
怎么网站设计手机网络安全技巧公安部网络安全研发信息安全网络攻防就业2015年信息安全报告制度高校网络安全烟台网站优化进行公司网站建设方案网络安全与文明法国网络安全立场重庆 手机网站制作传言心门每名弟子都是门主,都是强者。 ……… 破天荒的,那个平时最冷漠的人出“门”了… ………东方曜穿越洪荒,投靠刚建立不久的天庭,成为一名扫地仙。 同时获得签到系统,只要在不同的地方打卡,就可以拿到系统奖励。 “叮!恭喜宿主遣云宫打卡成功!” “获得大道玉佩!” “叮!毗沙宫打卡成功,获得【八九玄功】。” “叮!五明宫打卡成功,获得圣龙仙丹!” “叮!兜率宫打卡成功,获得先天灵果一枚。” …… 就这样,东方曜在众仙无视中在天庭签到了几百年。 直到有一天,下界妖族举兵来袭,天庭无人能敌。 他们一路杀到了凌霄宝殿,遇到了正在扫地的东方曜……一次意外的事故,主角和同事流落荒岛,众人绝望之际,最后看主角一步步带领大家不断的从求生走向开拓...一本奇幻的书 打开了欲望之门 开启了平行宇宙 书说啊 只要虔诚作伴 你会遇到平行中的另一个你赵阳意外绑定可以往返现代与明末的传送门。 穿过传送门,对面是气势汹汹,向着他冲刺而来的八旗骑兵。 数次尝试都铩羽而归,赵阳直接上交传送门,与官方合作。 当官方看到赵阳展示的另一个世界后,整个大夏都为之轰动。 一个星球的资源,一个全新的未开发世界! 大夏官方第一时间下定决心,制定绝密计划,设置最高权限。 终于,再次踏入明末大地的赵阳。 身后,是一条蓄势待发的庞然巨龙……秦正穿越唐朝,竟因为一只鸟顾星辰,云锦山有史以来最年轻的天师,通阴阳明医术,占卜看相无所不能。五年期满,返回云镇,自此一代天师之名不胫而走。 风水堪舆,易如反掌;不治之症,一针救魂;牛鬼蛇神,一剑平之。 小小云镇,很快就成了首富大佬挤破头都想瞻仰的神圣之地。小小天师,畅游都市,只手定乾坤!万千种族的角逐,变异带来的无限能力,从母星到浩瀚宇宙的征程。纪元与文明的一次次更迭中,生命是否在不断进化?能否突破禁锢?抵达那虚无缥缈的终点。穿越武侠,李纯竟成了统领江湖的天下盟盟主,顺便觉醒了“天下第一盟主”系统。 可是看着盟内一众大佬,李纯顿时傻眼了。 雄霸、帝释天、铁胆神侯、邀月、左冷禅... 全是鼎鼎大名的魔头、大反派! 你让我当他们老大? 盟内牛鬼蛇神,家里也是恐怖至极。 他爹竟是李逍遥! 杀穿全局的江玉燕竟是自己未婚妻! 打铁匠竟是不死不灭的尹仲! .... 老天爷,这个世界师没好人了是吧! 一代冰皇的成长日记,接受黑暗之眼的男魔法师,在冰霜洗礼下成就阿拉德大陆最强冰皇
病毒式营销淘宝 进行公司网站建设方案 网络安全宣传报道 gb/t 20984-2007 信息安全技术信息安全风险评估规范 政府网站管理系统 展示网站和营销网站的区别 企业网站建站元素 网络安全事件2017 信息安全与对抗技术 廊坊网站推广 微网站建设包括哪些方面 网站方案 品牌营销平台 我要建立网站 国内网络安全问题 网络安全公开课2017 网络安全监测预警平台 网络安全培训机构有 蕲春做网站 常州网站优化 动态网站制作 2015年信息安全报告制度 开发网站的目标 建设官方网站云制造网站 深圳新媒体营销平台 无限动力网站 免费申请做网站平台 手机微信网站设计 上海高端建设网站 重庆品牌网络营销推广 专业网站设计哪家好 事件营销分类 网络营销经典案例 个人网络信息安全 内网信息安全行业现状 云建网站 网站建设收费标准报价 传统网络安全公司与新兴安全公司 手机微信网站设计 分栏式的网站有哪些 信息安全等级二级评测 重庆 手机网站制作 长沙网站制作哪家 2014网络安全大会 虹口专业做网站 微网站建设包括哪些方面 怎样网络营销 与信息安全相关的岗位 无网络安全win10 wifi 网站方案 网络安全协议与标准 南通wap网站建设 装饰公司网站建站 品牌营销平台 河南网站建设公 国家网络信息安全 网络营销体系都有什么意义 滴滴营销 中国网络安全宣传周 做软件网站 网络安全监测预警平台 2016网络安全大事件 信息安全等级测评网 网络安全以后去什么单位上班? 微网站建设包括哪些方面 进行公司网站建设方案 网络安全公开课2017 网站一跳率 网络安全管理横向联系 中国重大信息安全事件 网站一跳率 网络安全监测预警平台 珠海移动网站建设公司 网络安全审计读后感 参加网络营销的好处 信息安全保障协议书 系统 做网站编程 湖南长沙网站制作 做网站销售 东凤网站建设 信息安全等级二级评测 高校网络安全 商城网站主要功能 知名的网站设计公司 计算机网络安全讲座 天津网站建设怎么样 免费申请做网站平台 免费建网站家谱系统 中山建网站 做网站编程 展示网站和营销网站的区别 法国网络安全立场 信息安全网络攻防就业 网络与信息安全培训 滴滴营销 网络安全培训机构有 企业网站响应式 gb/t 20984-2007 信息安全技术信息安全风险评估规范 网络与信息安全培训 国内网络安全问题 与信息安全相关的岗位 网络安全治理与黑客 国内网络安全问题 福州网站建设服务商 重庆 手机网站制作 信息安全等级怎么划分,-1 企业网站建站元素 病毒式营销淘宝 徐州html5响应式网站建设 网络安全管理局张新 网络安全小组成员组成 虹口专业做网站 信息安全办公室,-1 响应式网站建设咨询 网络安全 认证 移动互联网 网络安全事件2017 天融信网络安全学院 武汉便宜做网站 网络安全事件记录表 广州网站设计 网络安全协议与标准 徐州html5响应式网站建设 行业平台网站建设 中国重大信息安全事件 网站内容 沈阳网站建设 高端全网平台整合营销 信息安全邀请赛上饶做网站 中国网络安全宣传周 无限动力网站 沈阳网站建设 深圳网站制作 东凤网站建设 重庆做网站重庆网站建设重庆网络推广重庆网络公司 深圳网站制作 常州网站优化 网络安全事件2017 营销外包服务协议 福州网站建设服务商 做网站销售 衡水移动网站建设 信息安全测评项目 信息安全风险评估标准 网络安全实时监控 seo营销技巧培训班