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"
制作网站婚纱摄影网站模板常州网站推广方法威海网站优化郑州网站设计网络营销最新书籍推荐网络安全扫描能够专注信息安全营销咨询服务内容简易的网站商城网站都有哪 些功能网络安全误区公司营销策划托管公司信息安全建议重庆专业网站搭建营销网站与传统网站的区别网络营销基础台州公司网站建设网络安全平台电话信息安全 银监会上海网络安全监察部门企业营销网站建设公司哪家好外贸免费建设网站制作信息安全技术信息系统等级保护安全设计技术要求,-1信息安全技术信息系统等级保护安全设计技术要求,-1深圳网站设计公司网络营销宣传方案网络安全的特色营销问答杭州网络安全公司 地址信息安全风险控制网站建设 小程序因为一次偶然的经历,郭逸尘获得了能够穿越到三国年代的古戒指,一夜之间,时空颠覆,郭逸尘穿越到了公元184年,黄巾起义的那一年....一位出生平凡的少年,经历了读书,实习,工作而面对现实中的酸甜苦辣,失去爱他的,保护他的人会是怎样的处境。从前有一座大陆,叫圣洛大陆。 大陆之上有一个域,叫南山域。 南山域有个宗门,叫仙痕剑宗。 仙痕剑宗之中有一位大师兄,叫君清尘,他似乎有亿点点强,而他的故事也是从此开始。少年天陨因为四年前的神罚之劫突破失败,被人暗算强行驱赶出月影大陆之外的蛮夷之地,且看少年如何逆天改命,相识知己红颜,踏破星河宇宙,迈入传说中的那一步。生命是什么?那或是一场奔赴尘世的旅行,每个人都身处荒野,仰望着星空。渺小的一切,终将化为黄土,随风消逝。可一切存在过的,都将成为被传颂的一首赞歌。世界变了! 不知何时,以前的妖兽需要度雷劫,修炼者没有雷劫,但现在反过来了。   以前的修炼者突破境界失败,养伤还能再战。但现在一旦失败,就是恐怖异变的开始,人不是人,鬼不是鬼。   整座天地好像都在打压人族,仿佛除了人族之外,一切种族都在突飞猛进的成长……(女帝,气运,悟道,天才,争霸) 瑶池圣女:手握日月摘星辰,世间无他这般人。 青莲剑圣:不会真有人觉得,世子大哥是凡人? 狠人女帝:不为成仙,不为成帝,只为在红尘中长伴君之左右! 君逍遥很难受。 他一句话,让女帝娘子,悟出了一念花开,君临天下。 他一首诗,让青莲剑圣,明了了绝世剑意,万古长歌。 他一幅画,让瑶池圣女,炼成了六道轮回,造化天功。 气运之子,一路高歌,一路横推,一路喊着世子才是真无敌! 君家世子,一直羡慕,一直苦笑,一直都是平平无奇小世子…… 终有一日,荒域大乱。 君逍遥破了老祖留下的世子不能出府的预言。 惊天动地的事发生了。 我为天子镇国门,血染江山亿万里! 不出世则以。 一出世必成天下第一! …… 万族林立,群英争霸,都是为了登峰之路达到顶峰,,且看他如何登峰,走出属于他的道路。这是一个属于灵力的世界。 境界划分 修血境(调动全身精血滋养己身,强身健骨) 开灵境(可将全身之力转为灵力,正式踏入修炼) 自然境(与自然万物呼应,增强实力) 极光境(与空间共鸣,可调动少量空间同属性灵力)大风境( 借助风提升灵力) 破天境(大量调动空间同属性灵力) 天一境(天人合一,有神的气息,实力远超破天) 日月境(真神,可吸收日月星辰之力) 长生(永恒)境(享受无尽寿命) 皇者(半步登峰)(几乎无敌) 帝者(登峰) (无敌) 在一个风雨交加的夜晚,一个来自东北的白领,因为一个误会而被人推下河里。浑浑噩噩的脑袋醒来之后发现自己变成了个婴儿,而且这陌生的女人是谁啊?抱着我晃呀晃的,人家电影里穿越都是当皇帝当高手,为什么我变成了婴儿啊啊啊啊啊!!!想说话都说不了。一个穿越后被恶魔选中的继承人,却是个无神论者。恶魔啊恶魔,你确定你选对人了么?【传统玄幻+无系统+剑修+无后宫+不无脑】 百年后,一位手拿残剑的少年走进了人们的视野之中,他笑看风云志,一剑破万象,开合之间竟然有当年那位的影子……
大连建网站公司 上海网络安全监察部门 网络安全工程师考试要求 网络与信息安全的建议,-1 营销产品定价策略 系统安全和信息安全 2015十大网络安全事件 网络与信息安全优秀员工 网络安全编程与实践 pdf 营销软件站免费 信息安全是指保护信息的 威海网站优化郑州网站设计 微博传播营销的特点 信息安全系统登记备案 怎么做微网站 四叶草 信息安全 银川网站建设公司 公司信息安全建议 什么是网站推广 网络安全工程师考试要求 营销网站与传统网站的区别 北京邮电大学 信息安全 中央关于网络安全 网络营销师的培训机构 注册信息安全员怎么样,-1 搜索引擎营销策略分析 端午节公众号营销 全国信息安全等级保护测评机构推荐目录,-1 国家信息安全局待遇 信息安全专业考证吗 德州网站优化 信息安全技术信息系统等级保护安全设计技术要求,-1 手机网站制作时应该注意的问题 网络安全攻击事件 淘宝营销知识 国家网络安全周竞赛 有互动性的营销案例 中国网络安全公司排名 企业建网站 建设手机网站包括哪些费用吗