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"
85年左右的邮票2017站台邮票2015年生肖金砖邮票收集邮票的方法岁岁平安邮票多少钱85年左右的邮票香港十二生肖邮票小型张2015年生肖金砖邮票沈阳哪有高价收邮票的福建土楼邮票图片t73年邮票报价85年左右的邮票黄果树瀑布群特种邮票金箔珍藏版t73年邮票报价2015年生肖金砖邮票福建土楼邮票图片弘扬井冈山邮票画2000年生肖邮票价格2000年生肖邮票价格民居邮票稀少2008年的邮票80分2000年生肖邮票价格2004年80分猴邮票价格台湾古画邮票拍卖会岁岁平安邮票多少钱怎样辨别邮票真假图片大全收集邮票的方法1998-3 邮票南京文交所邮票什么时间开盘黄果树瀑布群特种邮票金箔珍藏版mc方块人的一生,很无聊早年的麦世庭,干啥都不行,周围人没几个瞧得上他,几乎没有几个朋友。 而他也只想每天打打游戏,只满足于能够吃饱喝足。 直到有一天,他经历一些事,刺激到了他的自尊,从此以后他开始决定要做人上人,在以后的岁月里他也经历了一些他自己都没想到的传奇经历。轮回尽头的太宇古尸,太古尽头的无上存在,没有人能知道这世间的一切到底存在了多久,也没有人知道在无尽遥远的时光前究竟有多么强大的存在,这世间的一切都是个迷。这世间的一切究竟为何而生,这世间的一切存在到底有何意义?不,或许世间的一切本无任何意义……剑未妥,江湖早,纵使不懂,也不默,少年啊,不归呀,吾辈皆是英雄! 鸟惊忽现白马,飘飘锦衣落梨花,少年呀,归来呀,千年谁复重生?一剑动京华!您有没有遇到过,到某个陌生的地方,却有种曾经来过的熟悉感,感觉像梦里梦见过一般? 或是某条街道,或是某栋建筑,或是街边的某个橱窗。那种笃定曾经见过的信念,会吓自己一大跳! 但又实在记不起来,什么时候来过?或是通过什么方式真的见过?这又使得自己很迷茫。 酆都鬼门大开、黄泉河巨藤生长、富士山喷出拉普达城、达尔瓦扎坑洞崩塌、胡斯卡古堡发出怪笑声…… 世界大变,出现闻所未闻的怪物,人类生存堪忧,无知少年誓要揭开地球的秘闻,踏上金字塔顶峰! 【喜欢就点个收藏吧,各位看官】天上仙人,染指人间久矣。 今我大秦既立,大秦国土之上,当无仙人立锥之地。 大秦诸位臣民,朕,先走一步了。 吾,大秦太子,以大秦之名,携人间之力,倒卷天上,从此,再无天上人间之分。师父说他道心天成,生而近道,是天生的仙人;师兄说要收他做小弟,主角光环罩着他;小师妹让他小心神女龙女魔女妖女圣女,出门在外记得保护好自己;亘古不散的残魂说他是洪荒的幽灵,摊上大事了,别想安生…… 懒鬼师父且不说,洛清尘打定主意是要离大师兄远点的,以免出意外,毕竟大师兄的机缘总是很废队友。至于心怀不轨的小师妹,最应该提防的难道不是她吗? 本欲世外清修做个仙人,奈何大道锁途,万古的残梦未散,终是不得闲。洛清尘入世种因,出世讨债,斩道斩道,剑斩的既是凡尘枷锁,却也是自己的道。 “道友,交易否?童叟无欺,等价交换!”我的命运简单、荒谬,我家境贫寒,却并未因此自卑,这点倒值得研究。我不甘平凡,通过自己的努力最终改变了命运。 我一直希望能做块玉,也以为自己就是块玉,其实不过是自我催眠,我到底是个摆脱不了“铜臭味儿”的俗人。XX年间,天下大乱,群妖四起,官兵横行,百姓民不聊生。 天上众神,心疼百姓,特派紫微星下界,斩妖除魔,匡扶正义,救黎明于水火。 紫微星领命,下到人间,化身一名女子,隐居山间,观察人间百态,看遍民间疾苦,可悲可叹!
重返荣耀巅峰 云梦生 诸昏 异能一本书 万法升仙 无限穿梭世界的我掌控一切 破坏前 我往山上去 万妖归位 大乾:靖夜司 弑天炼神 xiao周周 带着宗门逃亡 玄幻:我能捡属性变强 封澜传 魔女游纪 史上第一败家子 我的兄弟是马超 出色魔术师不是魔术 天纵之下 malaysia邮票马来西亚 2015年邮票金砖是第几组 弘扬井冈山邮票画 2000年生肖邮票价格 malaysia邮票马来西亚 1990年后邮票有价值的 2000年陈云邮票多少 中国邮票珍藏纪念册 怎样辨别邮票真假图片大全 黄果树瀑布群特种邮票金箔珍藏版 2004年80分猴邮票价格 2004年80分猴邮票价格 台湾古画邮票拍卖会 福建土楼邮票图片 百团大战邮票价值 岁岁平安邮票多少钱 2000年陈云邮票多少 怎样辨别邮票真假图片大全 2008年的邮票80分 85年左右的邮票 2015年邮票金砖是第几组 2015年生肖金砖邮票 2017站台邮票 伪造邮票的处罚 中国邮票珍藏纪念册 台湾古画邮票拍卖会 怎样辨别邮票真假图片大全 2017站台邮票 2008年的邮票80分 怎样辨别邮票真假图片大全 2000年生肖邮票价格 2015年邮票金砖是第几组 收集邮票的方法 85年左右的邮票 台湾古画邮票拍卖会 岁岁平安邮票多少钱 2011邮票发行量公布 2000年陈云邮票多少 台湾古画邮票拍卖会 2011邮票发行量公布 岁岁平安邮票多少钱 邮票很快撕下来的方法 民居邮票稀少 2000年的世纪龙邮票 伪造邮票的处罚 2015年邮票金砖是第几组 2004年80分猴邮票价格 收集邮票的方法 南京文交所邮票什么时间开盘 香港十二生肖邮票小型张 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 信了吧!我带着高冷校花去捞尸 迦贡纪元 澧水悠悠梦 江湖有你才有传奇 扮演:人物都重新归来 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 1998-3 邮票 2011邮票发行量公布 malaysia邮票马来西亚 2015年邮票金砖是第几组 百团大战邮票价值 弘扬井冈山邮票画 弘扬井冈山邮票画 2015年生肖金砖邮票 2011邮票发行量公布 民居邮票稀少 t73年邮票报价 收集邮票的方法 下十年邮票中的黑马 2004年80分猴邮票价格 百团大战邮票价值 2000年生肖邮票价格 2000年的世纪龙邮票 2015年生肖金砖邮票 malaysia邮票马来西亚 百团大战邮票价值 民居邮票稀少 香港十二生肖邮票小型张 香港十二生肖邮票小型张 2015年生肖金砖邮票 2015年生肖金砖邮票 南京文交所邮票什么时间开盘 民居邮票稀少 2011邮票发行量公布 2000年生肖邮票价格 中国邮票珍藏纪念册