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"
徐悲鸿奔马大邮票澳门古迹邮票邮票上的水果五四运动邮票价格编号邮票 工业产品 价格徐悲鸿奔马大邮票奥运不干胶邮票邮票上的水果1985年牛邮票1986t.108邮票1992年邮票年册徐悲鸿奔马大邮票朱?q邮票价格1992年邮票年册邮票上的水果1986t.108邮票中国古典园林邮票编号邮票 工业产品 价格编号邮票 工业产品 价格t139邮票价格民国邮票大全元世祖13年邮票价格1985年牛邮票天安门图案邮票海洋 邮票2012年壬辰龙年邮票年册五四运动邮票价格1997香港回归邮票t139邮票价格2008-13 曹冲称象 邮票清末民初是个动荡不安的年代,同样也是英雄辈出的年代。李氏家族由无到有,由兴盛再到衰落,时间鉴证了这一切。他们不屈不挠,拼搏奋斗的精神,将永远激励我们不断前行。威武华夏!一剑封神,一剑开天!公司老总魏之善意外身亡,死者妻子九菲,在市公安局刑侦科科长杨军等人的帮助下,展开一场对死亡之因的调查。其间不仅是正义与邪恶的较量,智慧与计谋的比拼……周辰穿越平行时空成为落魄歌手,机缘巧合获得《烈日灼心》中反派老大的试镜,觉醒影帝系统。 “叮!恭喜宿主,获得反派专业户天赋!当你饰演反派时,获得一千倍演技加成!” “叮!无论宿主饰演何种角色,在影视作品首映之后,宿主都能够抽取该角色身上的某种能力!” 获得影帝系统,周辰强势崛起。 他是《烈日灼心》中,平静淡漠,令人胆寒的反派老大! 他是《大人物》中,肆意妄为,到处买单的赵公子! 他是《电锯惊魂》中,精通机关,考验人性的竖锯! 他是《汉尼拔》中,沉默冷静,渗透癫狂的医生!亚斯是病毒,恶魔,是制造新冠病毒的元凶,为了对抗亚斯,以及不断变异的新冠病毒,自宇宙星辰之中,诞生出一位光之子,迪诺奥特曼。他是否能从病毒,恶魔手中拯救宇宙与地球?请敬请期待。王泽假期和父母在一次户外探险中发生事故,无意中进入了极点世界。极点世界竟然也是有人类生存,更奇特的是通过极点可以在三个空间通行,每个空间的大陆分成几大王国,王国之间相互贸易,相互竞争,每个国王都想统治整片大陆,然后通过极点进入另一个空间进行资源掠夺,积攒力量,最终探索寻找第四个空间,发现未知的文明。图书管理员穿越成废帝刘辩,没地盘没资源没人才,那又怎么样。手握超级召唤系统,文臣猛将会聚一堂,青梅煮酒论英雄。因为一场意外死亡穿越到全是机甲的异世界,在这个异世界的生活中,温馨平常而又惊险的生活。因为一个事件被卷入了王国与王国的斗争,也让主角遇到了许许多多的同伴。在这段生活中,主角与同伴互相相爱相杀也使主角的生活变的更加多彩。青年数学家叶小凡转生修仙世界,苦学功法,一心长生,科学修仙……地府算什么东西,你凭什么资格,赏善罚恶? 地府算什么东西?现在我就来告诉你! 你们洗不了的冤,由我地府来洗, 你们办不了的人,由我地府来办; 你们担不了的因果,由我地府来担。 一句话,是是非非地,明明白白天! 赏善罚恶,大道特许。这就是地府,够不够清楚?
暗星孤影 诡秘契约 超级人工智能 迷灵诡探 战国诛妖人 天空与大地 暗夜狂歌 以杀登顶 烬盛理想 人间华夏史 网游之修仙时代 离雨 五逆神诀 无敬 半州风云 穿越诸天当boss 酋长饶命 全球映射:我靠捡尸成大佬 虚面之影:主世界 两界杂货铺 澳门古迹邮票 1986t.108邮票 中国古典园林邮票 编号邮票 工业产品 价格 澳门古迹邮票 三国 邮票 t164邮票 邮票 t41m 三国 邮票 朱?q邮票价格 1988年邮票值多少钱 1988年邮票值多少钱 天安门图案邮票 1986t.108邮票 徐悲鸿奔马大邮票 海洋 邮票 孔雀邮票价格 2012年壬辰龙年邮票年册 91赈灾邮票 徐悲鸿奔马大邮票 朱德邮票价格 邮票上的水果 91赈灾邮票 13年邮票价格 邮票价格查询塔 t邮政储蓄邮票价格 2012年壬辰龙年邮票年册 91赈灾邮票 民国邮票大全元世祖 2012年壬辰龙年邮票年册 编号邮票 工业产品 价格 朱德邮票价格 五四运动邮票价格 徐悲鸿奔马大邮票 天安门图案邮票 海洋 邮票 壬申年猴票是剪纸邮票吗 t164邮票 天安门图案邮票 壬申年猴票是剪纸邮票吗 海洋 邮票 邮票 t41m t139邮票价格 孔雀邮票价格 1992年邮票年册 朱德邮票价格 1988年邮票值多少钱 海洋 邮票 t邮政储蓄邮票价格 奥运不干胶邮票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 噩梦重启 紫金之路:重生黄曼巴 哈利波特里的法王 千变修罗 另一个我! 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 欧博游戏官网 邮票上的水果 2012年壬辰龙年邮票年册 朱?q邮票价格 t164邮票 壬申年猴票是剪纸邮票吗 天安门图案邮票 三国 邮票 朱德邮票价格 1997香港回归邮票 新中国第一套普通邮票 13年邮票价格 新中国第一套普通邮票 1988年邮票值多少钱 邮票上的水果 邮票价格查询塔 2008-13 曹冲称象 邮票 朱?q邮票价格 海洋 邮票 澳门古迹邮票 海洋 邮票 2008-13 曹冲称象 邮票 13年邮票价格 海洋 邮票 1988年邮票值多少钱 13年邮票价格 1986t.108邮票 t164邮票 1986t.108邮票 新中国第一套普通邮票 邮票 t41m