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"
信息熵 毕业论文家用多功能保安器 毕业论文博士论文摘要怎么写智慧城管 论文刑法相关论文信息熵 毕业论文论文副标题破折号博士论文摘要怎么写如何检索论文社会体育产业论文坐位体前屈论文博士论文摘要怎么写论文题目 破折号坐位体前屈论文建筑表现论文社会体育产业论文学会共同生活论文弄臣论文2000刑法相关论文谈谈空乘人员的素质论文社会工作范畴类论文弄臣论文2000如何检索论文济南 论文代写数学逻辑学论文华润苏果超市运营策略研究论文数学逻辑学论文个人在团队中的作用 论文谈谈空乘人员的素质论文艺术家的生涯论文清玄父母在小时候神秘失踪,为了解开谜团,他跟着师傅李闻道学习七年,直到一天师傅交给他一个任务,他的生活开始与过去接轨,事情的真相逐渐浮出水面,他也因此接触到了以往不为人知的世界,基因药剂,生物兵器,变异种族等事件不断出现,清玄以及他师傅又会怎么去应对呢…… 为了逃婚,他随便找了个美女合租,不料她竟是自己未见过面的未婚妻。 为了赚钱,他信手炼制了几枚丹药,不料竟做成了天下第一的医药公司。 为了修行,他顺手收了几个女徒弟,不料她们竟都有着惊世骇俗的身份。 为了救人,他甘愿自废一生之修为,不料所救之人竟是艳绝天下的女帝。 为了复仇,他勤修苦练至大功告成,不料最大的魔头之主竟是……在联邦星球,隐藏着无数个折叠空间,刘小浪像是一个行者,带着他的亲密小伙伴,在一个又一个神秘的元墟穿行......穿越到修仙世界,希望能活下去。魔种已经种下,恐惧终将成形,少年自异界杀出,一步步探清这乱像之源!当一个文明到了最后阶段会发生什么?死亡还是重生,要战争还是要和平。从银河中心的搜寻者带来的究竟是一个开端还是一个结束。子文明又如何尽快赶上对弈敌人的风口。“观察者先生,我们两个世界的发展,多谢有您”(这本书我尽量在讲主线的同时,会把基本和重要信息交代下,避免人物形象和情节不够完整)苍茫大地、璀璨星宇中,妖气、魔气、凶煞之气肆虐。 然,不论是若隐若现的妖气,还是翻腾不休的魔气,亦或是肆意弥漫的凶煞之气。 吾唯有一柄雷霆霸王枪横扫诸敌。一开始,穿成假太监的李易只想安分苟活着,但后来,看着高贵雍容的皇后,李易心思变了。 “江山你坐着,皇后我替你照顾。” 李易都跟皇帝打好了商量,奈何那把椅子,皇帝就是坐不稳啊! 前有狼,后有虎,奸臣又一堆堆,眼看国不国,家不家的,李易操起了屠刀……*****《流浪在仙界》的有声图书已经在喜马拉雅上架了,多谢各位多去关注。*****百里长青穿越到仙界后发现:地球的心法远不如仙界的功法,但地球的武技却远高于仙界的武技。 汉武帝以:“侠者,以武犯禁”为借口,将江湖上的大部分武林高手围剿斩杀。百里长青(原名郭解)和他的八个兄弟,四个婢女,七个徒弟,还有五千个生死兄弟,在卫青大将军的十万大军合围后,全部万箭射杀,最后被仙界大佬救下灵魂穿越到仙界的凡人界,要求他们去仙界完成一个非常重要的任务。 百里长青带着他的兄弟和徒弟在仙界杀进凡人界,仙人界,神界等一个又一个的大陆,破解一个又一个的惊天阴谋,最终尘埃落定! 三世为人,穿越到仙界后百里长青一切看淡,性格大变,游戏风尘,风趣幽默尽在本书中。 毕业直接就职保安,少走四十年弯路的陈煜,在救人的时候发生意外,一段精彩的旅途开始了。 第一世界-红楼
八荒群雄录 庄周刘禅 十二生肖战纪 超平时空 传奇天门决 我的团长,我的团 争权夺地 八大校草欢乐歌 三英乱世录重发 剑御苍穹 七轩 龙啸苍途 C界 梦卡兔波虫与梦 灯花落尽 寒门天子 长生三千事 王者止尊 再世魔尊 独居小镇 苏果超市论文 信息管理的论文 学会共同生活论文 刑法相关论文 家用多功能保安器 毕业论文 个人在团队中的作用 论文 学会共同生活论文 生命的价值和意义论文 华润苏果超市运营策略研究论文 论文题目 破折号 临床护理学论文 临床护理学论文 moodle论文 信息管理的论文 信息熵 毕业论文 刑法相关论文 软件工程论文 开题报告 苏果超市论文 大学生德育论文开题报告 博士论文摘要怎么写 信息管理的论文 博士论文摘要怎么写 大学生德育论文开题报告 弄臣论文2000 社会体育产业论文 moodle论文 苏果超市论文 家用多功能保安器 毕业论文 大学生德育论文开题报告 华润苏果超市运营策略研究论文 刑法相关论文 介绍荷兰 论文 智慧城管 论文 信息熵 毕业论文 济南 论文代写 数学逻辑学论文 智慧城管 论文 学会共同生活论文 济南 论文代写 建筑表现论文 数学逻辑学论文 生命的价值和意义论文 谈谈空乘人员的素质论文 软件工程论文 开题报告 坐位体前屈论文 介绍荷兰 论文 临床护理学论文 数学逻辑学论文 moodle论文 社会体育管理学论文 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 穿越异界,我乃天命主角! 系统:转生成狗也要当最强 灵能风暴中的收藏家 庆南剑吏 夺宝龙城复仇传 亚星官网 欧博游戏官网 澳门葡京游戏官网 欧博官网 亚星游戏官网 苏果超市论文 刑法相关论文 艺术家的生涯论文 坐位体前屈论文 刑法相关论文 如何检索论文 弄臣论文2000 社会体育产业论文 软件工程论文 开题报告 社会体育产业论文 生命科学毕业论文 论文题目 破折号 生命科学毕业论文 华润苏果超市运营策略研究论文 博士论文摘要怎么写 社会体育管理学论文 智慧城管 论文 社会体育管理学论文 华润苏果超市运营策略研究论文 软件工程论文 开题报告 社会体育管理学论文 生命科学毕业论文 软件工程论文 开题报告 社会工作范畴类论文 moodle论文 社会工作范畴类论文 社会体育产业论文 家用多功能保安器 毕业论文 信息管理的论文 数学逻辑学论文