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"
常见的信息安全威胁b2c网站建设长沙英文网站建设公司公司网站维护专业信息安全服务资质咨询,-1银川网站建设国家网络信息安全太原网站建设培训南京信息安全研究院有限公司温州手机网站制作推荐信息安全风险评估服务宝洁网络营销现状友情网站制作网盘建网站全网营销型网站网站怎么制作长春做网站电话两栏式网站网站域名网络营销能力秀贴吧营销价是什么网络安全 销售公司衡水高端网站建设贵阳网站建设公司营销步骤专业网站建设信息网络安全合格证信息网络安全合格证网站色彩的搭配原则有哪些网络安全分析方法网站美工人员主要做什么的李杰加入了密逃团,可以正式出道了。他会发生什么事情呢?徐通穿越洪荒世界,成为未来的圣人通天。 想到未来自己的悲惨命运,熟知洪荒剧情的徐通决定苟起来再说! 紫霄宫听道?不去! 创立截教?休想! 任他洪水滔天,我自稳健修行! 待我出关之时,一切腥风血雨量劫落幕。 至此,尘归尘土归土,天上飞天,地下入地,西方的和尚上西天!人生多故事,岁月不寻常。 一路风和雨,相逢在此时。 月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!(纯架空文) 邮轮失事,流落荒岛,危机四伏,当别人还在因为下暴雨无处躲寻的时候,秦渊已经在庇护所安稳的度过。 当别人饿肚子的时候,秦渊已经吃上了烤肉,海鲜。 失事船长:“我们要齐心协力,走出困境!” 秦渊:“不好意思,道不同不相为谋!” 有钱人:“兄弟,我花钱买你的肉,就让我吃一点!” 秦渊:“钱?在这岛上,就是废纸!” 当红女网红:“能不能分我们一口吃的?” 秦渊:“少跟我装可怜,这里是荒岛!”双日凌空,神秘再现,在科技崩溃的废墟中,万物迎来了无限进化! 穿越而来的沈凌,激活了自己的无限世界模拟器。 只要是花费足够的能量,就能够获得在模拟世界中得到的修为、武功和物品! 于是,在小李飞刀的世界中,沈凌获得了小李飞刀! 在大唐双龙的世界中,沈凌修成了剑心通明! 在蜀山的世界中,沈凌拿到了化血神刀! 在洪荒的世界中,他夺取了诛仙四剑……功成名就的李向东走上人生巅峰,可是大梦初醒,却被一脚揣回了90年代变成了一个人人嫌弃的烂赌鬼,不但输掉了家产,竟然连女儿都输掉了。 重活一回,赚钱都是小意思。 李向东不仅要登上财富巅峰,更要让妻女俩过上梦寐以求的好日子。上天界武魁之尊,为人所害,转生下界。 修神诀,斩敌首,一刀一剑,誓要杀回诸天上界! 至此,傲笑天地,镇压万圣,掌控寰宇,不朽不灭!重生在架空的大汉,刘贺一觉醒来,成了大汉的皇帝,原以为是穿越者的福利,殊不知…… 与历史上的汉废帝一样,刘贺将面对一千一百二十七条罪状,黯然离场! 环视群臣,刘贺表示心好累。 左相梁冀,右相蔡京,帝师司马懿,太师董卓,吏部尚书严嵩,刑部尚书来俊臣…… 武将有:大将军何进,义子其一安禄山,另一吕布,还有朱棣,孙权,鳌拜,以及四方将军赵括、马谡、邢道荣、李广利。 以及分封各处的异姓王:吴三桂、孔友德、韩信等…… 后宫阵容更是豪华:东宫太后赵姬,西宫太后吕雉,皇后芈月,贵妃杨玉环,昭仪苏妲己,才人武媚…… 以及历史上祸国乱政必不可少的太监团队:东厂曹正淳,西厂雨化田,中车府令赵高,十常侍张让等…… 更兼外敌如大元、大满等虎视眈眈。 境内诸如黄巾军、梁山等反贼势力丛生。 天下会、天门等武林势力与护龙山庄朱无视等对峙…… 地狱开局,刘贺有心杀敌,无力回天! 幸好,天命加身,得系统辅助,刘贺将借此,步步为营,成就千古暴君! 冥冥之中自有天意,穿越者何必天下无敌。人心正,自有天助。召唤师,万兽朝宗…… 战士等级:初级、中级、高级、青铜、黄铜、黑铁、白银、黄金、圣战士 法师等级:学徒、一级——六级、七级大魔法师、八级魔导师、九级圣魔导师 召唤兽法师:无等级区分
网站信息安全维护协议 视频营销的策略是 网络营销工资 阳江做网站 互联网信息安全评测认证 公司网站建设免费 网络安全知识有哪些 app企业网站 手机端网站开发 网络营销能力秀贴吧 2013 年国家信息安全专项大数据平台安全管理产品测评方案 南京信息安全研究院有限公司 网络通信与信息安全 服务类网站免费建站 国家网络信息安全太原网站建设培训 金融客户信息安全 网络营销的工具选择 南宁会制作网站的技术人员 网络营销网站怎样收费 北京大学网络安全专业 网盘建网站 网络安全行业公司 信息安全等级二级评测 骏域网站 信息安全第一的大学 企划营销包括 深圳购物网站建设 信息安全集成资质温州制作网站 飞鱼星 网络安全 网络营销工资 网络与信息安全 访问控制 微博营销的好处和坏处 网站怎么制作 信息安全集成资质温州制作网站 视频营销的策略是 SDN与网络安全 网络安全内部威胁 上海 网络安全 品牌情感营销案例 信息安全从业指南