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"
病毒式营销消极方面工作中的信息安全推荐网站网页好未来信息安全规范真实实施信息安全 身份认证网络营销职业领域2017年网络安全宣传周外网网络安全网站写文案网络营销能力秀吧被迫害的李只能带着一对B去打NBA, 本来只想混两年就买只球队当老板, 没想到阴差阳错, 居然混到了总冠军。一场车祸,一枚神秘戒指,带着夏天穿越诸天。 我曾和张三丰坐而论道,与小龙女烹雪煮茶;曾掠夺斗帝异火,也曾迎战诸天神佛! 诸天万界,都藏于一枚小小的戒指中。 道听途说、亲身经历,供各位看客茶语饭后消磨无聊的时间…小说以多个单元故事呈现给读者,欢迎大家阅读。这是一个修炼玄能为主的世界,玄能就是这个世界的主旋律。 没有玄能的人就会生活在这个大陆的最底层。 等级制度:玄徒、玄者、玄士、玄师、大玄师、玄主、玄宗、玄王、玄皇、玄尊、 功法级别:日月星尘,每阶段九品,一品最次九品至高 玄器阶位:天地玄黄,每位分九阶,一阶最低九阶最高 一部揭露社会残酷现实的小说 夹杂着玄幻的色彩让整部小说变得更有神秘感,男主的从无到有从生到死在从死到生体会了人世间的酸甜苦辣后才明白这所有的道理...............。穿越到灵异世界后,林尘凭借着不同口径的真理,成功将正义砸进了各式鬼怪的脑子里。 但是,本该普通的除(火)灵(力)日(覆)常(盖)突然间变了一个模样,犹如末日的舞台一般,无数人鬼粉墨登场。 水库里的奇怪管理员、荒芜一人的李家村、山阳中学的神秘木雕、深藏在积雪下的冰尸..... 没有一个人能够独善其身,没有一个人能够幸免于难。 这次的故事,讲的是鬼,说的是人。 ...... 一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心特种部队猛虎作战旅的战士梁建华外号海蛇,在一次军事演习对抗中,因被对方的炮弹击中,无意间穿越回到百年之前的1910年东北,在匪患猖獗的环境中,制造现代化武器,尽显卓越能力,并且左右逢源,获取佳人芳心,收编其他武装,对抗国外侵略,最终成为一代英豪…偶遇二次元管理系统,我可以体验每个角色的故事,也可以成为其。狂三我当过,莱月昴我护过,武器我也做过,同性我也吻过。 狂三的弟弟,崇宫澪的哥哥,蕾姆的姐姐,黄马尾的主人,穹妹的哥哥,金古桥的master,啊啊,有过好多特殊的身份,不过... 你认为这是我自愿?不,并不是,是因为我这个系统,她,太妖了!
医疗保险营销方案 网络安全协议是https时 微信大营销 郑州电子商务网站建设 学互联网营销有用吗 什么是事件营销推广 傻瓜式网络安全套装有哪些 信息网络安全接入技术规范 网络推广咨询整合营销 营销型页面 企业网站制作设计 新的网络信息安全法 我身边的信息安全200,-1 佛山微信网站建设 公司网站域名是什么 互联网信息安全解决 外贸网站推 网络营销职业领域 信息安全等级保护标准体系遵循以下原则 全面性 系统性 先进性 网络营销课程感想 全网微营销 网络安全 主动出击 关于加强党政部门云计算服务网络安全管理的意见2g网络安全 网络安全法大赛 信息安全技术论坛 掌握网络安全技术 深圳市移动端网站建设 学校网站开发 美国信息安全战略 网络安全 主动出击 微电影营销 营销型网站建设sempk 网络推广咨询整合营销 网络安全事件响应 对可口可乐营销的思考 途牛网络营销 顺德手机网站设计咨询 灵动网站建设 郑州电子商务网站建设 第八届中国信息安全博士论坛 网络安全 湖南两会 网络安全案例题 微电影营销 什么是搜索引擎营销 展示型网站建 顺德网站制作案例价位 星巴克微信营销ppt模板下载 网站banner的设计要求 网站信息安全等级保护 申请网站 信息安全技术的销售怎么样 学校网站欣赏中文 深圳市移动端网站建设 信息安全 代码 数据信息安全审计 网络推广咨询整合营销 网络安全宣传情况 微信大营销 网站的权重 网络安全 主动出击 对可口可乐营销的思考 领袖型营销 钢琴网站建设原则 网络安全信息收集 公司网站域名是什么 数据安全与网络安全 途牛网络营销 郑州电子商务网站建设 中国国家信息安全漏洞库 cnvd 企业网站制作设计 营销型网站建设sempk 营销型页面 做网站一般用什么语言 网络营销师做什么360信息安全大赛题目 信息安全技术论坛 西安做网站 关于加强党政部门云计算服务网络安全管理的意见2g网络安全 信息网络安全接入技术规范 网络安全协议是https时 美国信息安全部门 邮件营销模板免费下载 网站更换太原建网站 响应式网站 南宁网站建设找哪家 网络营销教学软件 全网营销策划公司 成都社会化营销公司 长沙做网站的公司 中科院信息安全所 厦门网站制作 如何定位网络营销渠道 三只松鼠营销弊端 信息安全技术的销售怎么样 网络营销的作用价值 病毒式营销消极方面 网络营销有哪些劣势 信息安全检测包括哪些 专门学网络营销的app 网站站内优化 数据信息安全审计 网站的权重 网络安全事件响应 微信移动网站建设 顺德网站制作案例价位 西安营销型网站 太原网站优化 网站推广教程 长沙做网站的公司 营销型页面 网络营销职业领域 安徽合安房产营销策划有限公司怎么样 信息安全 代码 搭建网站 网页 江苏省网络与信息安全协调小组 信息网络安全管理培训 信息安全等级保护ppt 外贸b2c网站建设 佛山微信网站建设 途牛网络营销 信息网络安全管理培训 互动营销型网站建设 对可口可乐营销的思考 网站信息安全等级保护 互动营销型网站建设 响应式网站 石家庄网络安全公司 网络安全 读书报告 企业网站制作设计 搜索营销 深圳网站建设设计 网络安全宣传情况 成都社会化营销公司 展示型网站建设流程 网络营销宏观环境包括! 搭建网站 网页 信息网络安全接入技术规范 郑州电子商务网站建设 网络安全技术文档 公司网站域名是什么 怎样建立网站 深圳网站建设设计 展示型网站建 信息安全服务收费标准 全网营销策划公司 郑州网站制作公司关于网络安全的思考