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"
忘qq头像兔宝宝头像忘qq头像小水滴头像him头像头像墙jsh动态头像带??字头像头像物景韩红头像动画头像下忘qq头像土方帅头像联想头像带??字头像韩红头像媛字头像头像简笔头像简笔宝宝头像高草原头像男头像简笔头像物景马头像的车him头像圆框头像小水滴头像马头像的车宝宝头像高土方帅头像出来旅游的刘锋,接到了一个跑龙套的机会。 意外触发了神级扮演系统。 在剧组扮演某个角色,根据相似程度,便能获得角色相应能力。 【叮!本次角色‘特种兵’的契合度为30%,您获得特种兵30%的综合能力!】 【叮!本次角色‘学霸’的契合度为50%,您获得学霸50%的学习能力!】 【叮!本次角色‘王羲之’的契合度为73%,您获得王羲之73%的书法能力!】三界之中,战乱纷纷,人神魔三族互争霸权,四大家族中的墨家出现内乱,家主失踪,次子墨守诚发动内乱,墨守信被迫出走,却意外到了…顺天,逆天,世人,亲友,一个个选择,一个个风波,一个个劫难。这是一个灵气的世界,一个科技的世界,一个乱世的世界,请跟随我,随墨守信的脚步,去探寻这个世界研究生毕业孙淼回家种田,他家的猫咪会 说话,乌龟会爬树,鹦鹉会唱歌,带你见识一个从小山村走向巅峰的人生。少年张玄某一天偶获异能从此改变了他平凡的人生. 能够轻易撕裂敌人的利爪 一拳轰爆坦克的能量锤 自由翱翔在天空的滑翔 轻易摧毁飞机的鞭拳头 ...各种异能让他成就非凡! 让我们来看张玄如何收服众美女完美逆袭宁寒带着九份婚约从孤岛走出来,寻找自己的姐姐们。 大姐齐怀柔,著名科学家; 二姐林潇潇,国际影星; 三姐凌秋雨,冰山总裁; 四姐白月茹,歌坛巨匠; 五姐姬青莲,天榜杀手…… 诸如此类,我有一百零八个姐姐。”号外号外,大陆十大门派频繁失窃,大盗李命宣布对此负责!” “四大地下组织宣布从此归顺朝廷,竟是因为大盗?” “鸿蒙大陆公布十大最受百姓喜爱的人物,大盗居然上榜?” …… 地球一个普通窃贼,意外获得神秘功法,纵横诸天万界,探寻世界真相,要做那最逍遥的那个崽!浩瀚混沌之中存在五大混沌宝物,每个混沌宝物都带有一部混沌功法,能够修炼混沌功法的都是有大气运的人。洛豪,本是一个渺小的修士,偶然获得混沌书的青睐,从此踏上了漫长的修道之路,为了追求最强一道而努力磨练自己。【奇迹】第一高手,因战队成绩不佳,惨遭俱乐部逼宫扫地出门。 被扫地出门的他,来到一家游戏工作室担任打金人。 【奇迹】第一高手岂是普通的打金人?上到各大公会,下到小鱼小虾被他收拾的服服帖帖。 有人问,【奇迹】第一高手就这么沦为打金人,他真的心甘情愿吗? 他的回答是,这一次我要为自己战斗,也要在这里强势回归。 一场平行时空的三国江山权谋对弈,你是作壁上观?执白子?抑或执黑子?彼时的少年已经站在了成长尽头,回首过去,一切崎岖早已繁花盛开。
浪迹异星 学会球 艾斯兰德 武林公敌 卡牌大陆我的幸运值是满的 我就是大王 从前有座山海观 影视:我有一扇穿梭门 爷爷地府造反,我在人间直播 重生之我的未来不是梦 这个游戏玩不死你 卡牌者 我在异世界种田 龙神传说之新时代传奇 宇宙之上是什么 淘汰自己 表白校花,获得魔幻水晶果 胖爷升唐 灾源降临:开局重生 机甲里面有个仙 郑源头像 头像亲子 媛字头像 头像简笔 郑源头像 暗部头像 头像国旗 干呕头像男 圆框头像 土方帅头像 头像物景 兰兰头像 头像野性 头像亲子 头像墙js him头像 头像国旗 圆框头像 草原头像男 忘qq头像 头像亲子 带??字头像 兔宝宝头像 联想头像 韩红头像 头像野性 圆框头像 兔宝宝头像 草原头像男 圆框头像 him头像 头像亲子 辟邪的头像 忘qq头像 马头像的车 him头像 辟邪的头像 媛字头像 头像野性 带??字头像 小水滴头像 水粉头像男 留言头像 兰兰头像 联想头像 头像亲子 兰兰头像 小水滴头像 宝宝头像高 h动态头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 魔神净世 看那一弯新月 末日世界之异能觉醒 穿越大明当上将 我的傻丫头,偷听我的心声 澳门葡京官网 AG真人 快连下载 澳门葡京官网 欧博游戏官网 带问号头像 带问号头像 联想头像 小水滴头像 头像国旗 马头像的车 留言头像 头像野性 赵文卓头像 动画头像下 水粉头像男 赵文卓头像 兔宝宝头像 赵文卓头像 小水滴头像 兔宝宝头像 暗部头像 圆框头像 头像国旗 h动态头像 头像野性 头像简笔 头像亲子 动画头像下 头像墙js 兰兰头像 兔宝宝头像 忘qq头像 带??字头像 头像墙js