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"
2018年狗邮票发行量大寨邮票价值多少外国动物专题邮票中国目前邮票行情二四节气的邮票2018年狗邮票发行量中国梦邮票市场价格外国动物专题邮票邮票怎么看真伪古代小版邮票图片中国书画名家邮票2018年狗邮票发行量中国邮票珍藏丝路华章中国书画名家邮票外国动物专题邮票别的人物邮票比利时邮票展二四节气的邮票二四节气的邮票澳门邮票厂标邮票中国梦发行量神州飞船 邮票价格邮票怎么看真伪大版猴邮票香港四先邮票唐诗三百邮票中国目前邮票行情欧洲各国邮票通用吗澳门邮票厂标邮票上的民间乐器的图片末世时代 隔离天道与银河 与地争与天齐的时代,在银河系早已经不负存在 时代一晃已然过去一千余年,天地灵气全失,最后一批修士,魔族,妖族举世界之力建方舟逃亡银河天谴之外,欲寻一线生机,自那之后世界中再无修仙者那一年周震仰望星空,有许多灿烂的梦,仿佛只要伸手,就能触摸。 当他触摸星辰之时,亦是梦魇降临的时刻。 神所在的地方那是天空的边际。但真的有神存在吗?谁都不清楚。修真为了什么?只是长生不老,还是到达顶峰?那又如何?脚下的路被杀戮染红难道自己的道就是一条血路?我要去改变这一切的一切,用新的的法则让每个人都有公平的路,而绝对不是杀戮。年轻的边防警察军校成长史,爆笑的军校生活,无畏的禁毒,反恐等打击犯罪的战斗,生动反应了首战用我,用我必胜的豪迈誓言。九州大陆,华夏历史上出现的巨大王朝,粉墨登场。 大秦嬴政,大汉刘邦,大唐李世民,大明朱元璋诸雄争霸! 嬴子夜穿越成嬴政第九子,躺平十年,刚踏入陆地神仙,就被天道金榜曝光! “武道资质榜第二:武当大师兄王也!” “武道资质榜第一:大秦九皇子嬴子夜!” 武当老祖宗:“什么?第一居然是祖龙之子!” 少林扫地僧:“这是个什么怪物?” 李世民:“此子,不能留!” 朱元璋:“派锦衣卫将嬴子夜除了!” 嬴政:“快让夜儿过来,寡人得好好问问他!” 嬴子夜:…… “我是真想低调,奈何实力不允许啊!” 这世上最好的事,是不要出生;次好的,是快快去死。穷困潦倒的大学生陈阳,在经历种种不顺后,意外获得传承,入赘豪门,从此有了开挂的人生……这是一个山海缘结,仙魔逆变的故事。 被迫遗落在尘世间的孩子,带着凡俗的认知,羁绊与名字,一步步走向修道巅峰。 他要带着红尘的枷锁,肩负着众生的希望,直面诸天仙佛。 人不为己,天诛地灭。刘洋穿越到汉灵帝私生子刘讼身上!携带系统的他剑锋所指所向披靡!镇物,也叫镇邪之物。在民间,镇物用于镇墓、镇宅等。 镇物用得好可以救人,而被心术不正的人利用,也能杀人于无形。
万道帝仙 大道界墟 本公子讲歪道理,你讲什么 最上是魔 九龙圣祖 剑道师的传说 一剑长空 天残补命录 一只骷髅的科研进化路 灵之摆渡 我变成了鬼! 天下八荒 龙吟五洲 十方境灭 那些天,我病了 九阳灵圣 系魂传 麻神邵公子 修仙,我有系统 黑白无常叫我小先生 二四节气的邮票 邮票 中国梦销售方案 澳门邮票厂标 中国最大的邮票 二四节气的邮票 中国书画名家邮票 澳门邮票厂标 唐诗三百邮票 神州飞船 邮票价格 特种邮票发行计划 2018年狗邮票发行量 2018年狗邮票发行量 别的人物邮票 邮票 中国梦销售方案 中国邮票珍藏丝路华章 中国最大的邮票 红楼邮票发行了几套 神州飞船 邮票价格 中国目前邮票行情 邮票上的民间乐器的图片 邮票 中国梦销售方案 邮票上的民间乐器的图片 中国目前邮票行情 老鼠邮票图片怎么画 大寨邮票价值多少 别的人物邮票 二四节气的邮票 香港四先邮票 中国目前邮票行情 神州飞船 邮票价格 中国最大的邮票 邮票中国梦发行量 比利时邮票展 中国邮票珍藏丝路华章 中国邮票交易平台 中国邮票2008年册 比利时邮票展 澳门邮票厂标 别的人物邮票 中国梦邮票市场价格 中国邮票2008年册 唐诗三百邮票 幼儿简单邮票设计图片大全图片大全 红楼邮票发行了几套 中国书画名家邮票 中国邮票交易平台 老鼠邮票图片怎么画 香港四先邮票 新加坡 邮票 哪里有卖 比利时邮票展 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 外围高手 生于春,凉于秋 笑展乾坤 神眷战纪 乱杀洪荒 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 万利官网 古代小版邮票图片 二四节气的邮票 比利时邮票展 幼儿简单邮票设计图片大全图片大全 邮票 中国梦销售方案 老鼠邮票图片怎么画 中国书画名家邮票 邮票上的民间乐器的图片 特种邮票发行计划 别的人物邮票 邮票 中国梦销售方案 中国书画名家邮票 神州飞船 邮票价格 大寨邮票价值多少 中国梦邮票市场价格 中国邮票交易平台 别的人物邮票 二四节气的邮票 神州飞船 邮票价格 古代小版邮票图片 中国邮票珍藏丝路华章 中国最大的邮票 澳门邮票厂标 香港四先邮票 特种邮票发行计划 2018年狗邮票发行量 邮票 中国梦销售方案 神州飞船 邮票价格 新加坡 邮票 哪里有卖 邮票上的民间乐器的图片