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"
宝宝睡前伸腿怎么回事八个月宝宝吃米饭拉肚孑怎么办宝宝睡前伸腿怎么回事宝宝吃粥便秘一岁半的宝宝不吃奶粉有关系吗爸爸姓韦宝宝起啥名宝宝蛋蛋被指甲划红了一个月宝宝可以吃小可AD钙吗宝宝人瘦肚子却大是怎么回事2个月的宝宝老是干呕吐奶梦见宝宝吃蛇宝宝睡前伸腿怎么回事男人叫女人宝宝的原因七个月宝宝长牙趴着睡觉好吗一个月宝宝可以吃小可AD钙吗2个月的宝宝老是干呕吐奶两岁宝宝胃胀气怎么办宝宝吃花生粥的好处宝宝吃花生粥的好处怀孕32周宝宝动肚子走形一岁五个月宝宝可以吃食用醋吗宝宝吃花生粥的好处宝宝人瘦肚子却大是怎么回事四个月宝宝十月份用不用带帽子一岁半的宝宝不吃奶粉有关系吗宝宝多久换次奶粉宝宝吃粥便秘四个月宝宝十月份用不用带帽子怀孕32周宝宝动肚子走形男人叫女人宝宝的原因末世,人类一败涂地,直到出现异能者。 十年武当之旅,到底是为什么? 父母又去了哪里? 那深邃的黑暗,通向哪里? 立在天地之间的那块石碑,是守护,还是入侵? 农村小伙秦天继承太乙神针,身怀失传古医术,被誉为一代天医, 从此他时来运转,纵横天下。  “神医,首富已经在门外等了你几个小时了,什么时候给他看病?”   秦天躺靠美人怀,摆摆手说道:“让他等着……”“豺狗的天降陨石竟然在地面砸出一个百米大洞?恐怖如斯。” 杨开召唤战斗暴龙兽使用盖亚能量炮直接在地面砸出一个一公里的深坑。 “大佬?你这是什么魂兽?” 面对众人的震惊,杨开默默转身。 面对着奔腾而来的兽潮,一个金色的大门缓缓在天空中打开 哈哈哈哈哈,张越历经千辛万苦终于成了天行世界里法则一般的存在,他站在绝渺峰上睥睨世界,脚下亿万数的玩家朝他臣服,就在这时耳边突然传来一句系统提示:删档公测即将结束,正式服将在三天后全新发布。在那一天公司聚会陆游喝醉了,一觉醒来看着尸骨遍野的周围以为到了乱葬岗却不成想那是张角的黄巾起义。 至此他默默的加入了十八诸侯,看见了三英战吕布、见证了火烧赤壁败走华荣、也逢上了秋风五丈原、三家归晋。一个一个的离奇案件接踵而至。。 所有的真理只是还原案件的一个出发点, 如果你是一个审理着,你会怎么做? 带着你的好奇,你的想象力来跟我一起走进这场博弈的游戏 从这一刻开始,一切归零,一切历史一切的一切全都重新开始。这是末世,这是创世,这是天堂,这是地狱,这是一切的开始,这是一切的终结。不是意外,房东东因为幸运而被甄选,却只成为魔法星界的普通居民。设定小目标就是环游魔法世界,见识什么叫快乐星球。然而风云变幻,魔团会、族老会、真理会与皇经会几方势力暗流汹涌,无意身处其中自己也狼狈不堪。既然如此,那便是登上魔法的最高殿堂重权话事,宵小退散。叶子落了,一款全息网游出世,主角重生。 本人第一本书,文笔不好,轻点批评。
黄泉不死心 无限次元打工仔 天武医婿 都市界王传 鏖战蓝天 一剑破天城 重逢艾泽拉斯 绝世联盟 一道生万物 邪灵降临:我以肉身镇压诸天 剑魂神尊之帝 洪荒道临 听从我的召唤英灵 异类:弃之子 魔格星囚徒 我心重生 燹武录 出生即碾压无数天骄 优秀了我为什么找你 重返1982 宝宝肠堵塞怎么办 宝宝胎动正常 两岁宝宝胃胀气怎么办 宝宝吃花生粥的好处 宝宝肠堵塞怎么办 30周宝宝股骨长是50cm正常吗 宝宝脸上划破出血 5个月宝宝每天玩什么 宝宝多久换次奶粉 男人叫女人宝宝的原因 宝宝人瘦肚子却大是怎么回事 宝宝核桃粥的做法大全 宝宝磕到头总是哭闹 宝宝胎动正常 爸爸姓韦宝宝起啥名 一岁半的宝宝不吃奶粉有关系吗 宝宝脸上划破出血 宝宝多久换次奶粉 一岁五个月宝宝可以吃食用醋吗 宝宝睡前伸腿怎么回事 宝宝胎动正常 一个月宝宝可以吃小可AD钙吗 八个月宝宝吃米饭拉肚孑怎么办 七个月宝宝长牙趴着睡觉好吗 2个月的宝宝老是干呕吐奶 宝宝磕到头总是哭闹 宝宝多久换次奶粉 八个月宝宝吃米饭拉肚孑怎么办 一岁五个月宝宝可以吃食用醋吗 宝宝多久换次奶粉 一岁半的宝宝不吃奶粉有关系吗 宝宝胎动正常 宝宝头撞在门框起大包破皮 宝宝睡前伸腿怎么回事 四个月宝宝十月份用不用带帽子 一岁半的宝宝不吃奶粉有关系吗 宝宝头撞在门框起大包破皮 两岁宝宝胃胀气怎么办 宝宝磕到头总是哭闹 一个月宝宝可以吃小可AD钙吗 宝宝吃粥便秘 宝宝异常兴奋的原因 宝宝哪种吸吸鼻器好用 宝宝核桃粥的做法大全 七个月宝宝长牙趴着睡觉好吗 宝宝胎动正常 宝宝核桃粥的做法大全 宝宝吃粥便秘 怀孕32周宝宝动肚子走形 宝宝蛋蛋被指甲划红了 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 聊一个斋 肖恩同人集 我有一座天道馆 玄傲传 魔语星途 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 男人叫女人宝宝的原因 宝宝肠堵塞怎么办 宝宝哪种吸吸鼻器好用 5个月宝宝每天玩什么 30周宝宝股骨长是50cm正常吗 两岁宝宝胃胀气怎么办 宝宝睡前伸腿怎么回事 八个月宝宝吃米饭拉肚孑怎么办 梦见宝宝吃蛇 梦见宝宝吃蛇 30周宝宝股骨长是50cm正常吗 30周宝宝股骨长是50cm正常吗 一岁五个月宝宝可以吃食用醋吗 爸爸姓韦宝宝起啥名 宝宝磕到头总是哭闹 七个月宝宝长牙趴着睡觉好吗 宝宝吃粥便秘 宝宝蛋蛋被指甲划红了 怀孕32周宝宝动肚子走形 2个月的宝宝老是干呕吐奶 宝宝脸上划破出血 宝宝胎动正常 宝宝多久换次奶粉 宝宝蛋蛋被指甲划红了 宝宝胎动正常 宝宝睡前伸腿怎么回事 四个月宝宝十月份用不用带帽子 宝宝磕到头总是哭闹 八个月宝宝吃米饭拉肚孑怎么办 宝宝肠堵塞怎么办