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头像马头像的车小水滴头像韩红头像头像墙js头像墙js兔宝宝头像h动态头像头像墙js土方帅头像赵文卓头像留言头像兰兰头像宝宝头像高赵文卓头像兔宝宝头像联想头像一名少年,到处游历。回来后,凭借着自己到处收养的宠物,从天庭打到冥界,上蹿下跳,称霸宇宙。当高等文明的科技繁衍到巅峰。 迈入到新的纪元历程。 玄能纪元历001年,借助庞大的宇宙资源能量合成改造系统。 高等文明的智慧生物,掌握了宇宙中不该被觊觎的玄能。 从此宇宙中开始频繁出现虫洞,导致时空错乱,平行世界相连! 被高等文明控制的宇宙暗物质暗能量,犹如细菌病毒,开始蔓延到宇宙的各个时空! 威胁程度足以波及到整个宇宙空间的浩劫随之而来……天龙国皇权覆灭后百年来有三个派系组成,士族派,中立派,变革派维持着整个国家的平衡。 但因为一个二三岁的男人改变了这种平衡,他为变革派代表,一心想要铲除世家门阀让国家成为一个人人平等的国度。什么叫管家? 管家就是有家的都归我管。 诡怪有没有家? 有家?有家那就归我管! 什么,你说有的诡怪没有家? 那就打到他承认自己有家。异界之中,宗门无数,强者林立,却受天道制裁,在天之下却无发比拟天道,在天道之下,我陈逸却要这逆天而行。 宣统元年,国祚倾斜,军阀、土匪、财主、恶霸 同室操戈、在这些动荡混乱年代,导致百姓严重怀疑国家制度。 这不信任的背后,是一场场无情的山洪冲击百姓心中对安定生活的渴望,是一汪汪污水吞噬百姓生命脊髓的悲哀,最终对生存国度彻底失望。 为天地间求一席生存之地,一群贩夫走卒奋起反抗,终于寻得一个崭新的生活。 他一人一剑,可诛天、杀神、斩妖、灭魔、镇佛!可他宁愿要一把木剑,也不肯拿这把剑成为至尊……天空突变,一次偶然的机会人类发现了比自己还强大的物种,贪婪的妄想却把沉睡千年的丧尸给惊醒了,不思考只听他人的人类征服选择了错误的选项差点毁掉世界,圣鹰小队能否侦破这起危机......过忘川,通彼岸,便是奈何之桥。往生之人走过奈何桥,回首望乡台便是道别,而喝了孟婆汤,则是与此生了却因果。当然地府不只有这些..... 无间地狱往往被世人误解为十八层地狱,阎王为地狱之首,属下十八位判官分别主管着十八层地狱。然而事实并非如此。地狱乃是十殿阎罗,分别掌管着十方鬼域。而这十殿阎罗以地藏菩萨为首,共同镇压着一只大妖,那就是曾经随唐三藏西天取经的孙悟空。仙路诡奇,人道卑微。 众生皆浮屠,仙心如寒霜。 少年方尘意外获得仙缘,心中却只有一愿:愿以手中仙剑,开万世太平!
我成为西泽尔了 大明偶像 新世界灵士生存指南 侠客的江湖 深夜的摊主 我将人生作游戏 我在蓝星修炼成仙 成为天师 战斗兵神 末日余烬 幕水萧萧浊酒寒 魔女图鉴 都市业余高手 我的重生没有系统 赤星降临 星海之纪:机械帝皇 地球陨落 零神 从史莱姆开始的异世界生活 万古魔尊 头像国旗 辟邪的头像 韩红头像 头像墙js 头像国旗 头像物景 干呕头像男 him头像 兰兰头像 联想头像 土方帅头像 水粉头像男 草原头像男 辟邪的头像 圆框头像 留言头像 干呕头像男 兰兰头像 h动态头像 暗部头像 辟邪的头像 马头像的车 媛字头像 忘qq头像 小水滴头像 草原头像男 兰兰头像 媛字头像 h动态头像 兰兰头像 留言头像 辟邪的头像 头像野性 暗部头像 赵文卓头像 留言头像 头像野性 韩红头像 草原头像男 马头像的车 宝宝头像高 头像简笔 郑源头像 水粉头像男 忘qq头像 辟邪的头像 水粉头像男 宝宝头像高 兔宝宝头像 头像亲子 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 三国之无双帝皇系统 水墨鄂州 皇天战尊 神谕末日 爷爷重生之少年大贾 快连下载 亚星管理平台 亚星游戏官网 快连下载 亚星管理平台 联想头像 忘qq头像 留言头像 水粉头像男 头像墙js 辟邪的头像 干呕头像男 小水滴头像 郑源头像 头像简笔 郑源头像 兰兰头像 圆框头像 头像亲子 头像野性 头像亲子 头像国旗 干呕头像男 头像亲子 郑源头像 干呕头像男 带问号头像 草原头像男 带问号头像 水粉头像男 媛字头像 辟邪的头像 宝宝头像高 him头像 头像物景