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网络安全事例科大信息安全研究生中科信息安全共性国家工程研究院信息安全技术 路由器安全技术要求对信息安全技术的理解小米营销优势网络安全实验班玄武盾 网络安全信息安全技术 路由器安全技术要求石家庄手机建网站常德网站优化网站开发中网络安全的案件灵魂网络安全网站进度表智能电视信息安全常德网站优化活动营销网seo网站系统义乌网站制作万网站建设做网站责任无锡地区网站制作公司排名网站导航条代码大连做网站电话政府与机构类网站符合国家信息安全产品营销系统有哪些小人物阿云,痛并快乐的人生历程,学校生活的是是非非……天呐!一招大败鸿钧老祖!与大道大战九天九夜未分胜负的神秘人,竟然只是那少年的一道分身!   林凡穿越后荒古时代,天地灵力匮乏,身为五行霸体的他,竟然被人夺舍本源,沦为将死废人。   好在万念俱灰之际,他继承了帝尊传承意志。   从此林凡虽为一介凡体,欲可逆天崛起,纵横八荒,九天十地无敌手!   十万分身为我修炼,修为一日万里。   神通秘术晦涩难懂,我瞬间透彻!   天骄圣子,我一指可灭!   大帝古皇,覆手镇压!   洪荒大道,一念代之!天才。 百分之一是灵感,百分之九十九是汗水。 但那百分之一的灵感是最重要的, 甚至比那百分之九十九的汗水都要重要。 我一个穿越的废材。 觉醒了灵魂顿悟体。 灵感犹如滔滔江水,连绵不绝。 又如黄河泛滥,一发而不可收拾。 神魔横行,仙尊镇世!地星,是一个仙道大昌之地!然修行者只为一己私欲,破碎山河,湮灭了这繁盛的修仙界! 天道伤隐,灵气绝迹,地星进入了漫长的枯寂岁月! 数十亿年后,外太空超新星爆发,突然而至的神秘物质,引出了地星久违的天道,灵气出,武(仙)道现。 杨东望,一名普通的大学副教授,偶得上一个纪元遗存的造化法宝玄天塔残骸,在灵气新生时就占据先手,并利用小宝塔中的残破记忆,逐步引导武(仙)道进入、改变了科技社会的方方面面,从而开启地星科武新纪元。 小人物阿云,痛并快乐的人生历程,学校生活的是是非非……这是未来的某一天,唐亦格被卷入了一场异界比赛之中。这里是我的世界!欢迎各位来到神的游戏!一旦进入比赛将无法回头,除非你在这个看似混乱的世界中成为唯一的胜利者……为了回去,为了朋友,为了正义……很久很久以前,有位伟大的君王…21世纪,麻雀终于在中国成为现象级运动。2015年,世界冠军邴燮于事故中丧生,并被世界遗忘。为了找出母亲事故的真相并冲击麻雀的顶点,一度放弃麻雀的亓兑和加入了灼华中学麻雀部,向2020年的全国大赛进发。自古天生大气运者,无不是天生富贵,步步生莲,奇遇不断,可为什么,我却天生霉运,是个魔王,每天等着勇士,来砍我?星空无垠,大劫将至。 即使是代表永恒的宇宙也会有衰落的一天,武者当自强,担负重振荣光的使命。 于是豪杰并起,开始了他们的征程,横跨宇宙星辰,无畏地向吞噬宇宙的黑暗发起挑战,这是一条永无止境的求生之路。 唯有历经万重劫难,方能通往明天。 后世称其为:万劫通天!
信息安全等级保护2017 网站建设com 什么是网络营销产品策略 网络安全qq群 工控信息安全峰会,-1 网络营销实训课程设计 深圳手机网站设计 直播营销节 公司信息安全组织架构 上海企业网站建设报价 炫酷的网站 网络安全qq群 郑州网站设计 常用的网络安全技术有哪些 策略营销 小米营销优势 国务院负责统筹协调网络安全工作和相关 信息安全意识培育研究 网络安全实验班 南昌seo网站开发 企业网站的特点 青岛公民信息安全,-1 提供网站建设设计 电商平台 信息安全 中国信息安全中心评级 云南网站建 互联网营销是什么 义乌网站制作 网络营销培训 搜索引擎营销的营销过程 建网站的公司 太原网站建设 公司信息安全组织架构 网站建设费 网站导航条代码 桂林网站制作 cisp ppt 中国信息安全测评中心 信息安全等级保护2017 公司信息安全管理办法 上海网站建设的价格