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"
4岁宝宝呼吸急促咳嗽26个宝宝走路总是跌倒4岁宝宝呼吸急促咳嗽宝宝7个月大了拉肚子一岁巴半宝宝头发稀少27周的宝宝图片彩超什么样的牛奶适合一岁宝宝喝4岁宝宝呼吸急促咳嗽宝宝不发烧哭闹还吐一岁宝宝大便脓细胞宝宝总是三天大便一次4岁宝宝呼吸急促咳嗽2岁宝宝能吃核桃粉吗宝宝老是打喷嚏流鼻涕八个月的宝宝脾胃不好怎么办一岁宝宝大便脓细胞四维彩超能看出宝宝长得像谁吗两岁半宝宝跑步像鸭子两岁半宝宝跑步像鸭子怀孕30周怎么才知道宝宝多重三周岁宝宝病毒性咳嗽打点滴吗两岁半宝宝跑步像鸭子宝宝不发烧哭闹还吐宝宝老是呕吐尿少一岁巴半宝宝头发稀少怎样才能让宝宝戒掉安抚奶咀宝宝7个月大了拉肚子宝宝老是呕吐尿少怀孕30周怎么才知道宝宝多重2岁宝宝能吃核桃粉吗和平安宁的世界被一场突如其来的盛大流星雨给彻底打破了。 丧尸、变异生物、来历不明的病毒席卷了全球。 二十二个塔罗教悄然出世,身蕴龙脉的华夏大地吐出了龙息。 这究竟是一场被精心策划的闹剧还是一次没有挽回余地的终末之诗? “嘿,听着。”唐南故的眼神里充满了坚毅。 黑色如鳞片的角质层如铠甲一般覆盖了身体的每个角落, 无数的红色丝线从左手争先恐后地钻出,飞快地凝聚出刀锋的雏形。 右手同样被坚硬的麟甲包裹,只是紧紧地握着腰间的一柄刀鞘漆黑的长刀。 神圣的金光从胸膛处喷涌而出,黑色的身躯被镀上了一层闪耀的光辉,此时的他就如同一位被圣光笼罩的黑暗骑士,矛盾却不违和。 来自远古的气息从他的身上散发出来,就连周围的草木都为之颤抖。 “在这个末世里,”他将深蓝神秘的刀刃从刀鞘中拔出,在空气中划出完美的弧线。 “我可是横着走的啊!”公司老总魏之善意外身亡,死者妻子九菲,在市公安局刑侦科科长杨军等人的帮助下,展开一场对死亡之因的调查。其间不仅是正义与邪恶的较量,智慧与计谋的比拼……生逢乱世,一个人人唾弃的乞丐,如今白发披肩,一袭血红长袍,手持森白骨剑,后背的长枪泛着令人望而生畏的红芒。惨白的月色下,纵身一跃便消失在了茫茫的夜色之中,留下的只有滔天的杀意。当高等文明的科技繁衍到巅峰。 迈入到新的纪元历程。 玄能纪元历001年,借助庞大的宇宙资源能量合成改造系统。 高等文明的智慧生物,掌握了宇宙中不该被觊觎的玄能。 从此宇宙中开始频繁出现虫洞,导致时空错乱,平行世界相连! 被高等文明控制的宇宙暗物质暗能量,犹如细菌病毒,开始蔓延到宇宙的各个时空! 威胁程度足以波及到整个宇宙空间的浩劫随之而来……我的网恋对象是一个外星人15年的旧文  太玄天威,大道煌煌!   意外来到天玄界的徐澈本想着安稳读书体会异界风景。   一起突然的怨尸事件,一只摄人精气的恐怖鬼怪,一位身份神秘的小镇杀猪匠,一本破旧的书……   徐澈突然发现,力量才是安稳的前提!   为了自保,本想着好好当一个读书人的徐澈拜师杀猪匠,而世界,从这天就开始发生变化……前世,剑仙林凡被人陷害至死,一度重生。今生,我林凡不求轰轰烈烈,只求以魔道扬名万古。“新手”男主生前被人暗算死亡,死后重生到所有事情开始的时候。
回忆频频扰 异変 末日节度使 恶魔契约引导的新生活 敢动我闺女,找死 医圣下山:开局打脸未婚妻! 神劫天罪 三国:做卧底,被董卓偷听心声 大明武林那些事 我真的不专一 偷盗诸天 沧桑百载重终是一场大梦 闪耀瞬间 剑域:万界提取系统 第七黑暗 异界最强户口本 诸星浩劫 契能巅峰 末世之神级暗影系统 留住青春一回眸 一岁半宝宝晚上磨牙怎么回事 宝宝8厘米脚长穿多大码 四维彩超能看出宝宝长得像谁吗 一岁巴半宝宝头发稀少 一岁半宝宝晚上磨牙怎么回事 28周宝宝出世的图片 一岁半宝宝拉屎屁眼好多血 宝宝呕吐放屁 怎样才能让宝宝戒掉安抚奶咀 2岁宝宝能吃核桃粉吗 宝宝不发烧哭闹还吐 1岁半女宝宝尿道口红 九个月宝宝头围42.8 宝宝8厘米脚长穿多大码 27周的宝宝图片彩超 一岁巴半宝宝头发稀少 一岁半宝宝拉屎屁眼好多血 怎样才能让宝宝戒掉安抚奶咀 三周岁宝宝病毒性咳嗽打点滴吗 4岁宝宝呼吸急促咳嗽 宝宝8厘米脚长穿多大码 八个月的宝宝脾胃不好怎么办 26个宝宝走路总是跌倒 宝宝老是打喷嚏流鼻涕 一岁宝宝大便脓细胞 九个月宝宝头围42.8 怎样才能让宝宝戒掉安抚奶咀 26个宝宝走路总是跌倒 三周岁宝宝病毒性咳嗽打点滴吗 怎样才能让宝宝戒掉安抚奶咀 一岁巴半宝宝头发稀少 宝宝8厘米脚长穿多大码 八个月宝宝拉肚子三周了 27周的宝宝图片彩超 宝宝老是呕吐尿少 一岁巴半宝宝头发稀少 八个月宝宝拉肚子三周了 四维彩超能看出宝宝长得像谁吗 九个月宝宝头围42.8 八个月的宝宝脾胃不好怎么办 宝宝7个月大了拉肚子 2个月宝宝老感觉渴怎么办 1岁7个月男宝宝 1岁半女宝宝尿道口红 宝宝老是打喷嚏流鼻涕 宝宝8厘米脚长穿多大码 1岁半女宝宝尿道口红 宝宝7个月大了拉肚子 九个月宝宝头围42.8 什么样的牛奶适合一岁宝宝喝 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 女友宅的无气家主 神秘复苏:我横练无敌 天源仙农 最狂兵王混都市 诸天无限:宿主请打卡 欧博游戏官网 皇冠登3出租 百家乐官网 欧博游戏官网 亚星管理平台 九个月宝宝头围42.8 2个月宝宝老感觉渴怎么办 八个月的宝宝脾胃不好怎么办 一岁半宝宝拉屎屁眼好多血 宝宝总是三天大便一次 28周宝宝出世的图片 怎样才能让宝宝戒掉安抚奶咀 宝宝呕吐放屁 2个月宝宝老感觉渴怎么办 宝宝老是打喷嚏流鼻涕 一岁半宝宝拉屎屁眼好多血 2岁宝宝能吃核桃粉吗 一岁半宝宝晚上磨牙怎么回事 胎盘小又厚对宝宝有影响吗 4岁宝宝呼吸急促咳嗽 什么样的牛奶适合一岁宝宝喝 宝宝老是呕吐尿少 八个月宝宝拉肚子三周了 一岁半宝宝晚上磨牙怎么回事 宝宝8厘米脚长穿多大码 27周的宝宝图片彩超 怎样才能让宝宝戒掉安抚奶咀 四维彩超能看出宝宝长得像谁吗 一岁宝宝大便脓细胞 宝宝呕吐放屁 宝宝老是打喷嚏流鼻涕 宝宝总是三天大便一次 宝宝7个月大了拉肚子 两岁半宝宝跑步像鸭子 宝宝呕吐放屁