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"
数学小论文 三角形硕士学位论文自我鉴定数学小论文四年级提纲数学小论文怎么写400字书香校园创建论文数学小论文 三角形数学论文摘要模板数学小论文四年级提纲硕士论文研究思路数学建模论文代做数学建模论文1000字数学小论文 三角形数学教学论文摘要模板数学建模论文1000字数学小论文四年级提纲数学建模论文代做数学论文总结怎么写树立科学发展观论文树立科学发展观论文水彩人物画论文硕士论文研究思路图书香校园 图书馆 论文兽医流行病学论文水果与养生论文论文书香校园创建论文司马法议论文数学小论文怎么写400字水果营养与保健论文水彩人物画论文数学教学论文摘要模板陈今误入异世江湖,竟身不由己成为了武林公敌,神秘玉佩隐藏的秘密是引发这场江湖纷争的诱饵,而到底谁才是那个幕后布局之人......穿梭无数的世界,连接无数的故事。 万界唯一并非绝对的道路。 这是属于王黎们的故事。天涯明月刀ol,多少年的青春,虽然A了,也想留点美好的回忆由于自然环境的破坏导致这世上出现了一批能力者,而恽晨就是其中之一。 原本想一直隐藏自己身份的恽晨却碰巧遇到了改变他一生的世界少女——林夕。 而这个世界的真相也将逐渐浮现.......剑未妥,江湖早,纵使不懂,也不默,少年啊,不归呀,吾辈皆是英雄! 鸟惊忽现白马,飘飘锦衣落梨花,少年呀,归来呀,千年谁复重生?一剑动京华!万神共诛九霄上! 千载谁堪伯仲间! 一朝战神陨落!跌入万劫不复深渊。 劫后重生,脚踏荆棘,无数挚友从身旁倒下,步伐从不停止,踏上重修之路! 为了你,我愿与神为敌,与魔为盟……原发表于B站专栏上的连载中轻小说,我是作者本人。本文主要讲述的是获得了被认为是“由于高维时空与四维时空之间的作用而产生的存在。”的信念之甲的人们的故事。 (注:由于早期构思时只想了相关设定及部分故事所以早期主线部分主角团人物的人设和身世等是在数次纠结后抓阄决定的。)莫名重生后找到奋进的目标---修炼成仙,拥有变态悟性的夏至一路披荆斩棘,最终探明修仙的真相,完成超脱---被迫逃离,降临到异世界,认识相似之人,他是否能重回奥拉星,再次见到伙伴们?每个人心中都有一个自己的江湖,江湖故事。 凌云被师傅赶下山,一人独闯江湖。 江湖纷争,人心难测,我自清醒。
虚空神俠 四个月的爱 寂寞空间 坑爹:我坑到修仙界 龙之爪牙 穿越从无敌开始 人口时代 货车陪我一起闯天涯 网游之诸天降临 全职装逼王 核欣 重生全能系统天之骄子 神魔守护者 赛博朋克:我在末法时代,证道成神 时中梦醒 也曾轻狂 莫斯肯漩涡 第一改匪帮 我是流浪者 我是一个超人! 司马法 论文 数学建模论文从哪找 数学论文总结怎么写 树立科学发展观论文 司马法 论文 水立方赏析论文 数学建模产地分析论文 数学建模论文字数 司马法议论文 数学教学论文摘要模板 兽医流行病学论文 兽医流行病学论文 水果与养生论文论文 数学建模论文代做 甩掉人生的壳议论文 书香校园创建论文 首尾排比的议论文800字 司马法议论文 硕士论文研究思路图 数学小论文 三角形 数学建模论文从哪找 数学小论文四年级提纲 硕士学位论文自我鉴定 书香校园 图书馆 论文 数学建模论文字数 水果与养生论文论文 司马法议论文 硕士学位论文自我鉴定 硕士论文研究思路图 司马法议论文 树立科学发展观论文 数学建模论文从哪找 数学小论文怎么写400字 数学小论文 三角形 水果与养生论文论文 书香校园创建论文 数学小论文怎么写? 数学建模产地分析论文 水果与养生论文论文 数学小论文怎么写? 书香校园创建论文 数学建模相关论文 水彩人物画论文 首尾排比的议论文800字 书香校园 图书馆 论文 数学建模论文从哪找 兽医流行病学论文 数学小论文怎么写400字 谁把论文转让给别人 数学论文摘要模板 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 凶案回档 碎墟纪 花开问花生 寻找神格 尘世剑 万利游戏官网 欧博游戏官网 皇冠登3出租 万利游戏官网 快连下载 谁把论文转让给别人 数学建模论文字数 硕士论文研究思路 硕士论文研究思路 兽医流行病学论文 数学建模论文字数 甩掉人生的壳议论文 数学小论文怎么写400字 数学建模相关论文 数学论文怎么写六百字 数学建模相关论文 水立方赏析论文 数学教学论文摘要模板 数学论文总结怎么写 司马法议论文 数学建模论文从哪找 树立科学发展观论文 兽医流行病学论文 谁把论文转让给别人 数学小论文 三角形 水彩人物画论文 硕士学位论文自我鉴定 数学建模论文代做 数学论文怎么写六百字 甩掉人生的壳议论文 司马法议论文 硕士学位论文自我鉴定 树立科学发展观论文 司马法 论文 水果与养生论文论文