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"
网站建设评判甲方信息安全合能营销公司北京网站建设公司美团外卖的网络营销网络安全问题有哪些一个空间建多个网站国家信息安全通知中心技术安全是网络安全做互联网营销执行钱小亮出身在一个叫钱家村的村子里,出身贫寒,原本钱小亮那可是都考上了大学了?无奈家里没有钱,所以,钱小亮那就直接回到家里,拿起锄头开始种地,我就不相信,自家承包地真的不能种出钞票来!好了,让我们接下来看一看钱小亮这个新一代的年轻人到底怎么去奋斗吧!结婚?还结什么婚,我要修炼!那年阳光正好,少年笑面如花,那年微风不燥,青春飞扬。 那年书海遨游。 那年,玩的没心没肺,也没有做不完的工作。 嗯…那年没谈恋爱… 诸君,且行且珍惜。我想救她们...我其实是想要救她吗? 我所建造的一切,永远都是我的...我为了她所建造的一切。 人类到底是恶还是善?只有她才是善! 为了你,我愿堕入永恒的深渊,成为一切一切的噩梦! 但我,还是想和她们在一起...因为我爱她...而她...就是她们... 噢!我想起来了,我只是想和她在一起而已...睁开眼,林浩强重生到和妻子离婚的当天。 上一世的他,五毒俱全,抛妻弃女。 弥留之际的他,得知老婆积劳成疾,早已亡故,女儿叛逆,十年牢狱之后,死于街头。 林浩强死不瞑目。 上天给了他一个重生的机会,还给了他一方小世界。 为了弥补上一世的罪孽,林浩强起早贪黑,拼命工作,把老婆和女儿宠上了天。堂堂华夏后裔刘镇宇一觉醒来,却发觉已置身异界:我的妈,我的个爹,好多狮子!还有斑马,哦,这是大象,犀牛,还有河马!…… 不!一一我要回家……华夏青年柳长如,一着不慎穿越仙侠世界长生天。 思乡之情使得他无时无刻不在想念华夏。 仙侠世界,万般皆有可能。 于是他下定心思,想要在长生天登临大道去寻找反穿华夏的一线之机。 而修仙于他而言,就只有两字——搞钱。 我的古董店今日又有客人说要听故事了,店里一个小姑娘却打碎了我最为珍视的照片,也罢,便讲个我的回忆好了......比别人的人心更可怕的,是自己的人心。关于回忆录,所谓回忆录,那就是什么时候想起来什么,什么时候更新好了.......四大域,二十八州之地;风云静,云谲波诡不定。 天上,地下;花开,叶落;剑来,鹤去;心远,路近。 清风徐递,豪肠荡气。 仙侠问天地,君子温如玉。 遨游四海洒酒意,静待杯中茶香溢。 游人笑,昤昽照,山河错落星火耀。 修行道,漫浩浩,几许世间不热闹? 人生几度,梦入星路。 所为何故?遗世万古。 夜暗终显天星辰,灯明始见一缕尘……公元2154年,一家工厂发生了核泄露,该核能可以把人感染成僵尸,联合国在世界各地建立了许多冷冻仓。主人公张博前往一个冷冻仓里冷冻。十年后,冷冻结束,张博前往联合国建立的军事据点,并且还当了一名士兵。可是好景不长,据点里出现了感染者,据点沦陷了。张博和据点指挥长前往一艘船上研究解药,但是由于没有帮手,他们只好前往另一个据点,途径一个小镇时得知那个据点早已陷落,并且最近出现有一个奇怪的帮派彩虹帮,并且这个帮派的彩虹破坏者决定攻打小镇,危机时刻,又出现了十万多僵尸。张博他们能抵抗僵尸吗?他们能否打败彩虹破坏者?他们能否能研制出解药,拯救世界呢?想了解更多精彩内容请看《僵尸之灾》。 (改编于作者"柯宇游戏"的《丧尸之灾》,已授权。)
网络安全:两小时破译无线路由器pin码算法获得路由密码 网络安全问题有哪些 菜刀 网络安全 泉州石狮网络营销推广 网站改了域名之后服务器正常程序正常为什么后台打不开呢 一个空间建多个网站 北京国际互联网科技博览会暨世界网络安全大会 特仑苏营销 河北省网络安全公司 互联网营销工具有哪些内容 信息安全技术博客 网络安全宣传周主题是 某某白酒进入南方市场请用4p营销理论为它制定销售策略 开展网络安全资阳建网站 网络安全防护技术应用如何建一个网站 2014 信息安全会议 山东省网络安全技能大赛官网 信息安全模型 南和邢台网站制作 枣庄网站设计 中华人民共和国网络安全法读后感 网络安全问题有哪些 中国网络安全管理局 2008网络安全事件 网络安全基础培训 信息安全云端攻击 营销型网站建设页面 搜索营销师 网络信息安全是智慧城市的基石 国家信息安全管理机构 网络安全技术应用期刊 哈尔滨网站建设公司 互联网营销工具有哪些内容 网站静态 中国网络安全信息组长 上海高档网站建设 网站改了域名之后服务器正常程序正常为什么后台打不开呢 做互联网营销执行 网络安全问题有哪些 网络安全与大数据 中国最好的邮件营销edm 特仑苏营销 佛山用户网站建站 重庆整合网络营销价格 中央网络安全管理小组 湖南高端网站制作公 网络营销词语 保定做公司网站的 外贸最热门营销方式 优秀网站设计 精彩营销事件 云创通营销手机多少钱 某某白酒进入南方市场请用4p营销理论为它制定销售策略 营销讲师介绍 工信部信息安全协调司 信息安全技术博客 深圳网站开发 网络安全百度网盘 白山网站建设 营销型网站建设页面 在线营销型网站制作 白山网站建设 云创通营销手机多少钱 网络营销外包推广服务商 全网营销包含哪些 网络安全产品资质 云南微营销软件 商务网站的网络安全 中新网络信息安全 餐饮业网络营销策划书2015亚太信息安全峰会 河北省网络安全公司 商网营销 湖南高端网站制作公 网络安全技术培训视频 南宁做网站朝阳网站建设 信息网络安全边界 甲方信息安全 昆明网站制作 网络安全威胁报告2016 洛阳做网站 技术安全是网络安全 网站改了域名之后服务器正常程序正常为什么后台打不开呢 上海市网络信息安全 网络事件营销优点 国家信息安全管理机构 北京网站建设公司 网络安全百度网盘 中新网络信息安全 网络安全防护技术应用如何建一个网站 中国信息安全等级测评网 高校网络安全建设方案 网站制做公司 网站建设评判 网络安全技术应用期刊 外贸网站制作时间及费用 网站换程序 网络事件营销优点 2014 信息安全会议 信息安全 标准讲解 服务营销网 国家信息安全宣传周 搜索引擎的营销流程 网络安全技术 杂志 网络信息安全是智慧城市的基石 昆明网站制作 信息安全有什么认证证书 山东省网络安全技能大赛官网 福田建网站 互联网营销工具有哪些内容 网络安全部队 信息安全等级推荐 2016年信息安全威胁 做互联网营销执行 网站建设策划 信息安全模型 下列哪项不全是防火墙的功能 防止内部信息的外泄强化网络安全性 公司网络安全管理方案 精彩营销事件 公司网站设计与制作 国家信息安全宣传周 中国联通 网络安全 杭州电子科大大学信息安全专业 大连营销外包公司怎么样 沈阳科技网站首页 青岛营销型网站建设 旅游业网络营销优势 hefei 网站制作 网络安全2017大检查 下列哪项不全是防火墙的功能 防止内部信息的外泄强化网络安全性 珠海品牌网站建设 营销课程 枣庄网站设计 网络安全 准则 美团外卖的网络营销 禅城区做网站策划 中国最好的邮件营销edm 营销型网站建设页面 it网络安全 合肥网站建设的公司 中华人民共和国网络安全法读后感 网站改了域名之后服务器正常程序正常为什么后台打不开呢 南和邢台网站制作 北京朝阳网站设计 大连营销外包公司怎么样 营销讲师介绍