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信息安全风险评估的重要性网络安全监督机构公安部网络安全通报网红网站建设官网黑龙江信息安全测评中心上海营销公司有哪些公司网站被侵权网络安全 实施目标信息安全提醒信息安全评估级别表网站方案网络营销师做什么网站国际化网站建设工作室长沙专业网络营销网络安全信息分析装修营销课程培训班移动公司信息安全培训互联网信息安全解决福州网站制作好的企业展示类网站企业网站的特点网络安全综合解决方案桂林网站设计互联网发展现状 网络安全杭州全网营销南京做网站信息安全技术 第二代防火墙安全技术要求,-1深化网络安全思考讨论这是一个神奇的世界,人们拥有着掌控元素的能力。这个世界有九大基础元素以及其他特别元素,乱世之中,欧阳伊凌降生,自幼父母双亡的她,披荆斩棘,逆天改命,踏了了复仇之路……然而,这条路上困难重重,她又该如何面对?圣灵大陆强者为尊 万千修仙门派自立 各种天才强者层出不穷 只有不断变强才能活下去!欺辱我的人,就不该在我的头上。南浮山中遇仙踪,医术通神济世人,快意恩仇谈笑间,红颜相伴乐逍遥。 他淡泊随性,不求长生不老,只愿一世逍遥。 他仁心仁术,救治病人不计回报。 他深明大义,为国效力从不退缩。 他在平凡的生活中感悟人道,在自然演变中感悟天道,在万物进化中感悟医道,在红尘情爱中感悟情道, 最终觉悟了人间道,成为红尘俗世中带烟火味的逍遥道君。 李艾魂穿灯塔国,成为阿肯色州高速公路小巡警艾里斯警官,身为ASP超级警员,不仅被上司盯上了,还被富家千金盯上了。世界遭到入侵,最强武道大帝力战而亡,重生在九千年后的世界,成了酒馆的店小二,并觉醒了全能系统。 通过系统,张易能够看穿世间功法、丹方和对手的缺陷。 为了抵抗即将而来的乱世,张易再次踏上修炼之路。 在他破格的实力下,对他心怀敬畏的人、闻名而至的人、求爱的人络绎不绝。 然而,就在他步步建造势力之时,那过去让世界陷入恐怖的危险,又开始在暗地里行动了……所思既所得 所想既所有——觉界所以屹立万界之巅,便因这独特而强力的位面法则。但当法则被撕碎,界灵被污染,又待谁来力挽狂澜?小小下界之子林韦,被迫卷入这场黑暗漩涡,又将翻起多少波澜? 长恨画戟不似月,一耀寒光洗九天。 大道唯我,无论道佛,一心为本,自在由我。 36位仙帝掌控仙域,瓜分世界果实强大己身,仙帝非圣贤,欲突破桎梏探索域外,仙域大乱,仙帝陨落。 且看叶林在机缘巧合之下获得魔尊残魂相助,最终踏上一段奇幻、动人心魄、荡气回肠的寻仙之路。 管你是神是佛,如不臣服,诸神灭佛。宇宙星河   无尽虚空   凌驾于天道之上   掌管无尽宇宙   不被任何人打败   她就是墨星玄他是青龙城乃至大明帝国的第一天才 她是大陆顶尖天才,是整个玄天大陆第一家族家主独女。 他的修行速度堪比天才,她更是天才中的天才。 然而,命运却让他们两个产生了交集,她遇到他,他也遇到了她! 他是一代天才,而她却是一代妖孽! 在大陆的顶端人群中,她是最耀眼的存在,而他却只是一颗微不足道的尘埃,她是一个光芒万丈的太阳,而他则是一颗灰暗的小星星。 从那一刻开始,他的目标只有一个,那便是追赶上她的脚步 她,是他一生的挚爱 她是一朵骄傲绽放的玫瑰,他只是那片花丛里的一个普通的花,一株微不足道的杂草,两个人,注定无法有结果 然而,他不会放弃,他不甘心,他要变强,他要成为最强者,他要站在她身边保护她,给她幸福和安宁! 他的崛起将引起整个大陆的震撼,他的强大会令整个大陆为之疯狂,他将取代玄天大陆唯一的神祇,他将成为玄天大陆数万年来唯一成功弑神的人类 他,一代传奇! 他叫墨知秋,他的名字和他的人生,从这一刻将正式拉开帷幕…
网络安全 内容安全 第八届中国信息安全博士论坛 全网整合营销解决方案 公安部网络安全通报 网络安全监督机构 网络安全 案例 上国外网站的dns 信息安全服务 北京市信息安全产业基地 2016网络安全座谈 2017网络安全大赛 wifi 网络安全 外贸视频营销 厦门网站建设要多少钱 关键信息基础设施网络安全检查方案 展示型网站建设流程 网站设计机构 信息安全行业协会 网站建设的好处 邢台建一个网站多少钱 网络安全测试与评估 外贸视频营销 网络安全大会2017ppt 云建网站许可email营销有哪些 网络安全监管系统 网站建设的好处 公司网站被侵权 上海营销推广 加建网网站 app营销策划案例 台州哪里做网站 email营销的优劣势 网站的需求 信息安全标准分为 网络营销的缺点 广东省网站建设 完美营销会 国家信息安全等级 网络安全的漫画 信息安全组织架构