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"
武汉 网站制作青岛做网站360与中国国家信息安全网站设计与制作信息安全定级备案秒收网站青海网站建设外贸营销策划番禺微网站建设计算机网络安全实训报告创建网站公司 徐州山西网络安全公司排名国家计算机网络安全中心网络安全法第12条单位网络安全预警工作情况广西南宁公司网站制作深圳建科技有限公司网站首页网站的访问量国家网络安全宣传周主题多种成都网站建设网络安全公司排名江西网络安全设备介绍网站内页重庆营销网站建设公司华为网络安全认证费用石家庄做网站win10网络安全设置网络安全法第12条网络安全宣传周主题微信营销和网站建设网络安全扫描能够叶云儿,21世纪穿越到天苍大陆的一个普通人,原本要一辈子给星莲宗当苦力,但是系统到手的那一天起,叶云儿表示要将那些给他屈辱的那些人踩在脚底下。一个人、妖、魔共存的世界。平静的外表下危机四伏,各方势力蠢蠢欲动。中土、远东、极北、蛮荒、地下城等各方势力暗自角逐。整个世界即将破碎… 王星澜一个平平无奇的游侠儿,因他的到来加速了世界的破碎。但物极必反,他的到来也让即将破碎的世界萌生出来一次愈合的力量。 一次又一次的冒险中,王星澜加入了一个神秘的组织,结识了志同道合的朋友,同时也逐渐明白自己来到这个世界的目的,他所承载的使命…… 聪慧的游侠、内秀的术士和古怪的女盗贼。奇葩的伏妖小队终将成长为一方巨擎!重生成顾家世子,顾天宸为家族征战八方,血染沙场,却 不想回归之日,至亲妹妹被扒皮抽筋,生不如死。 顾天宸暴怒而起,妹妹所受之痛,必将百倍奉还! 恰逢仙武印记开启,打开肉身枷锁。 北冥吞天诀,吞天地万物,融万族血脉! 大日金钟罩,汲取太阳精华,铸九阳金身! 魔极龙象功,魔龙神象之力加身,碎日月苍穹! 这是一个混乱的纪元,苏元剑指九天十地,登临诸天 尽头,摘星辰,踏神魔! 活在这个动乱的年代,身为江湖大佬的许锐锋已经很疲惫了,当他准备相亲过点小日子时,没想到竟然相亲相回来一个间谍…… 她,深入敌营窃取情报; 她,组建底下情报网络向中央传递信息; 她,在敌后无孔不入,备受嘉奖。 当全世界都以为这个女人是王牌特工时,她,却矮下了身子正在给许锐锋洗脚。 因为她知道,没有这个男人,自己早死了成千上万回,而整个北满的日本人都在以抓到这个男人为荣。 他,就是北满第一杀手,左手枪王,北满地下秩序的统帅,大老许。在一块充满了灵气的土地上,一位少年开始新的传说吞噬万物,浩瀚终始,万古永恒!XX年间,天下大乱,群妖四起,官兵横行,百姓民不聊生。 天上众神,心疼百姓,特派紫微星下界,斩妖除魔,匡扶正义,救黎明于水火。 紫微星领命,下到人间,化身一名女子,隐居山间,观察人间百态,看遍民间疾苦,可悲可叹!我是谁?我在废墟残垣中醒来,人类和机器人的战争让世界都濒临毁灭,谁来救救我们?谁来救救世界?谁来拯救这次末日之战?不追求CP结合,架空历史的一部帮派穿越小说! 道上老大白楚阳,在一次斗殴中被人刺杀,结果直接穿越到数百年前的白氏家族。 为了能让自己存活下去,同名同姓的白楚阳,使出自己在现代混迹的所有本领,让这个古代的白氏家族,逐渐成为一方霸主! 为责任踏上修仙之路,一路鲜血离歌。无尽苍穹,莽莽神荒,何处大道巅峰?通望古今,风起云涌,叶少轩如同仙道命运长河里的一叶孤舟,风雨摇曳,又将通往何方?大道渺渺,一只无形的手推着叶少轩一路向前,探破神秘无尽,寻找宿命归途。? 一个时代,一段神话,叶少轩又将如何谱写属于自己的神话?
青岛做网站 信息安全媒体 广西南宁公司网站制作 关于信息安全的比赛 2014年网络安全市场 秒收网站 国家计算机网络安全中心 最新网上营销方法 西安信息安全培训 俄罗斯 网络安全机构 西安单独培训网络营销 互联网营销企业 网络营销软件 国家网络安全信息周 广东省网站建设 网站备案要多久 青岛公司网站建设 2014信息技术与信息安全 信息与网络安全监察 4.29北京市网络安全周 济宁做网站 佛山网站制作 北京信息安全中心 网站型营销 网络安全局头像 信息安全技术体系中的应用安全一般不包括,-1 网站的访问量 单位网络安全预警工作情况 苏州响应式网站建设 北京信息安全中心 日照网站设计 网络安全相关的规定 二级域名对网站帮助 域名和网站 网站设计与制作 北京信息安全中心地址 公司信息安全标准 4.29北京市网络安全周 网络安全法第12条 什么叫网站的空间感