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"
包头到济南火车票查询电话丹竹头社康中心电话葛根塔拉旅游区电话香港Wi-Fi电话卡廊坊悦唐假日酒店电话包头到济南火车票查询电话肥城顺海电话葛根塔拉旅游区电话岐江印象中山菜馆电话镇远悠然居宾馆电话深圳东海朗廷酒店电话包头到济南火车票查询电话雨花西善桥工商所电话深圳东海朗廷酒店电话葛根塔拉旅游区电话镇远悠然居宾馆电话梦鑫岛宾馆电话海门富江华府电话海门富江华府电话广东汇一四季果园电话马龙客运站电话号码深圳东海朗廷酒店电话东京电话格式广东汇一四季果园电话外滩会馆电话九莲山漂流电话海门富江华府电话宽甸高价回收黄金电话汉阳医院体检咨询电话肥城顺海电话青春回忆类型。想写给一个自己暗恋过的女孩子。流水线工人意外穿越至异界,开启了他的一段传奇人生。 孟孑觉醒前世记忆,来到一个小山村,作为一个顶级剑修,他却拿起灵药,开始治病救人……但这一切都是为了前世的布置……“他,被称作民族脊梁。在风云变幻的民国时期,他进军教育业,创办无数中小学,以及顶尖大学,以一己之力使无数龙国少年获得良好的教育,使得龙国的科研水平走在了世界前列。” “他进军工业,招收无数流民,旗下无数家轻工业工厂,活人无数。” “正是因为他,龙国出现了遮天蔽日的坦克、舰船、飞机、大炮……” “短短十年间,他赫然已经完全改变了龙国的样貌。经济强大、工业强盛、科技先进……他自然已经成为世界首富!” 特约记者如此说! 而面对记者,林玄却不由得大吐苦水。 “我的成功,真的真的都是运气使然!” “我最初的目标,真的就只是亏钱而已啊!”每日一签,快乐翻倍,你将看到各种等级碾压的场景。 偶尔空闲,还给秘境主人当起了考核官,难度气哭百万修士。 随心所欲,随性而为。 看谁不爽,弄! 正派人士,直呼:好家伙,比魔道还魔道,简直不当人子。“这小丫头,又在作死了……”方若缓缓叹道……在一个平静的牧场里,奶牛们安心的吃着嫩草。可是就在遥远的宇宙,发生了一场悲惨的灾难。使小行星撞击了和谐星,因此导致了和谐星球的爆炸。所以和谐星球的基因碎片散落到了各个星球!其中有少量的基因碎片落到地球因此发生了基因突变……大千世界的战武司少宫主墨染,集万千荣耀于一身的存在,在自己十二岁生日时被战武司司主要求寻找自己的命运之人,尽可能解除死亡的诅咒。但让墨染没想到的是,这一去,来到了结界边境处一个落后位面,在这里,他……冰肤润玉骨,红唇柔抚媚。贝齿玉晶莹,淡妆怡安然。眉鞘湾流之,步莲似成镜。发痕映年轮,眸系悠光魅。恬笑微鸣意,轻踏绕指柔。若流浮生梦,昭华红颜诗。仙豢众生如彘,这是一个圈养与被圈养的故事!
星际探险:我让大夏国运滔天 鞶镇往事 双生境 器魂之路 穿越万界之开局只有打火机 湮灭洪荒 乱劫起 拾少年 我脑海中住着一只鬼 智能机器世界 开局靠骑单车致富 内心的欲望 道友,你手中法宝与我有缘 洛神赋英雄千金女 灵气世界之起始篇 书说先秦 道仙主 我自成山河 W语言 离雨 马龙客运站电话号码 美团毕节经理电话 梦鑫岛宾馆电话 海门富江华府电话 马龙客运站电话号码 东洲韩蒂宾馆电话 宝安19路车客服电话 机场大巴三号线电话 澧县瑞高电话号码 雨花西善桥工商所电话 长沙武警电话 长沙武警电话 龙凤山庄客服电话 镇远悠然居宾馆电话 汉阳医院体检咨询电话 廊坊悦唐假日酒店电话 宝安19路车客服电话 澧县瑞高电话号码 东京电话格式 包头到济南火车票查询电话 美团毕节经理电话 葛根塔拉旅游区电话 丹竹头社康中心电话 外滩会馆电话 机场大巴三号线电话 龙凤山庄客服电话 澧县瑞高电话号码 丹竹头社康中心电话 东京电话格式 澧县瑞高电话号码 海门富江华府电话 美团毕节经理电话 香港Wi-Fi电话卡 包头到济南火车票查询电话 龙凤山庄客服电话 廊坊悦唐假日酒店电话 呼和浩特青城公园电话号码 宝安19路车客服电话 龙凤山庄客服电话 呼和浩特青城公园电话号码 廊坊悦唐假日酒店电话 上海弄堂味道加盟电话 广东汇一四季果园电话 重庆七公里派出所电话 外滩会馆电话 美团毕节经理电话 长沙武警电话 香港Wi-Fi电话卡 宽甸高价回收黄金电话 肥城顺海电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 娱乐超级奶爸 末世?末世! 我转生成了啥 迪迦耀世 诡秘契约 欧博官网 亚星官网 万利游戏官网 欧博官网 澳门葡京游戏官网 岐江印象中山菜馆电话 东京电话格式 宝安19路车客服电话 龙凤山庄客服电话 葛根塔拉旅游区电话 雨花西善桥工商所电话 长沙武警电话 美团毕节经理电话 肥城顺海电话 海门富江华府电话 东京电话格式 上海弄堂味道加盟电话 宽甸高价回收黄金电话 宽甸高价回收黄金电话 肥城顺海电话 肥城顺海电话 机场大巴三号线电话 岐江印象中山菜馆电话 宝安19路车客服电话 龙凤山庄客服电话 澧县瑞高电话号码 雨花西善桥工商所电话 重庆七公里派出所电话 汉阳医院体检咨询电话 拱墅区送水电话 龙凤山庄客服电话 上海弄堂味道加盟电话 机场大巴三号线电话 龙凤山庄客服电话 长沙武警电话