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"
两个月的狗狗瘦了怎么办漯河哪儿给狗狗看病好两个月的狗狗瘦了怎么办啊两个月的狗狗温度是多少算正常两个月的狗狗温度是多少正常两个月的狗狗瘦了怎么办遛狗时狗狗总到处跑两个月的狗狗瘦了怎么办啊路桥狗狗办狗牌乐山狗狗怎么办狗证两个月的狗狗一直喝水怎么回事两个月的狗狗瘦了怎么办两个月大的狗狗跑步两个月的狗狗一直喝水怎么办两个月的狗狗瘦了怎么办啊乐山狗狗怎么办狗证柳州狗狗托运两个月的狗狗一直喝水两个月的狗狗一直喝水例假狗狗闻到味道买什么狗狗最好训练两个月的狗狗一直喝水路桥狗狗办狗牌满月的狗狗太丑怎么办两个月的狗狗温度是多少正常螨虫狗狗图片大全两个月的狗狗温度是多少算正常满月的狗狗太丑不想要狼是不是大狗狗两个月大的狗狗跑步暗的云,遮蔽了阳光,血的刃,阻断了去路,屈辱的忍耐,无奈的彷徨,痛苦的挣扎,悲愤的咆哮,不甘的死亡,一辈又一辈。 是个男女主一起成长的玄幻文,男主略带吐槽向,女主不是花瓶。文笔尚可。当书临闭眼准备接受死亡的那一刻 他觉得他太失败了 可再次睁眼 人生却………2011年12月7日,大宋抗金名将董先的墓碑在武汉东湖发现,揭开了大宋中层将领董先的传奇一生。董先,北宋生人,南宋抗金名将,岳家军五虎将之一,踏白军先锋统制官,官至荆湖南北襄阳府路制置司。董先出生贫寒,一生戎马生涯四十载,历经北宋末年荡寇剿匪、北宋联金灭辽、靖康之变、落草为寇、旋归南宋、随岳飞北伐九战九捷,成为南宋山地丛林兵法大师。晚年根据自己一生的战例,编写了山地丛林兵法《乱柳谈兵》留给后世。 董先生于乱世,儿时便父母双亡,妻儿又死于战乱,一生坎坷。董先做为宋朝中层将领的代表,代表了那个动乱年代的大多数将领的世界观,董先一生也遇到过非常多的人生抉择,有错误的选择,也有正确的选择,但历史最终给董先的评价还是——抗金名将。 本书详细记录了董先传奇的一生,所有的历史事件及人物均为正史记载,少量正史空挡期,辅以野史及作者根据史实推论而成。董先的戎马生涯非常精彩,屡次创造奇迹,实乃大宋“李云龙”!什么是江湖?江湖便是人心,人心恶,江湖险。江湖风气云涌,邪恶势力盘根错节蓄势待发,墨家机关术再现江湖,是正是邪?活人炼僵尸,野兽军团汹涌来袭。八臂观音走下神坛,海底神功刀枪不如倭寇大军更要如何抵挡?一把来历不明的纯钧名剑,一处富可敌国的稀世宝藏,一场身不由己的家国恩怨。更有儿女情长,爱恨纠葛,他该如何面对?一个好汉三个帮, 司马龙飞是一个走路都费劲的大胖子,遇见命中贵人龙飞而破茧 成蝶,两个少年嘻笑江湖,指点天下。不要在黑夜里高歌,怕惊醒那些沉睡在暗处的猛兽。 无穷浩瀚的宇宙,魔法,修真和科技并存。 这是一个探索未知的传奇,也是一首歌颂平凡的小曲。叶晓天,一个23岁的大学毕业生;《破晓》一款称作“第二世界”的游戏,第一世界的咸鱼在第二世界会是怎样的呢?欲望与愿望,仇恨与守护...... 名为“奇迹”的力量往往需要付出代价 这是关于少年北星河,不堪忍受命运的安排,通过“奇迹”逆天改命的故事。 诡成仙,天地变,乾坤倒转,天下乱。一代宅男,枭晓鑫,无端家中遭魂聚,阎官判我寿未尽,重返还阳又不行,打发我到诡界来,混吃等死再听宣。然而,殊不知,这一时的巧合之下,竟上演了一出精彩无比的奇幻演义! 狂妄野心家,欲在地球上称霸挑起世界大战,银河系几个有人类的星球统治者,贪婪地球美,虎视眈眈要占领,刮起战争风云。奇异事件层出不穷,形形色色的怪异人物,扑朔迷离的各种阴谋频频出现。璀璨星空风云变幻,弄得地球千疮百孔,银河系文明一片混乱。 天降大任绝代双雄,千锤百炼成“圣”,抗起正义的大旗,战胜邪恶,重新建立了银河系文明。
CNC苍蓝暮光 终末序列 天纪:靖帝本纪 班上不说话的怪同学 湘江战歌 药司 奥特曼之亚波人 我是昭阳 我是谁?我是,蜘蛛侠 全民御兽:开局天赋映照诸天 炎炎历险记 大国实业 原神:我会无想的一刀 向渊行 仙族长生 透视小农医 时空裁判所 初浮记 极品遗孤 镇天神帝 两个月的狗狗一直喝水 漯河哪儿给狗狗看病好 例假狗狗闻到味道 六个月的狗狗磨牙吗 两个月的狗狗一直喝水 两个月的狗狗一直喝水怎么回事 例假狗狗闻到味道 螨虫狗狗图片大全 两个月的狗狗一直喝水怎么办 满月的狗狗太丑 两个月的狗狗瘦了怎么办 两个月的狗狗瘦了怎么办 乐山狗狗怎么办狗证 漯河哪儿给狗狗看病好 两个月大的狗狗跑步 六个月的狗狗磨牙吗 两个月的狗狗瘦了 两个月的狗狗一直喝水怎么办 两个月的狗狗温度是多少算正常 两个月狗狗吃鸡蛋黄 漯河哪儿给狗狗看病好 两个月狗狗吃鸡蛋黄 两个月的狗狗温度是多少算正常 路桥狗狗办狗牌 买温顺的狗狗 乐山狗狗怎么办狗证 两个月的狗狗一直喝水 两个月的狗狗温度是多少正常 两个月的狗狗温度是多少算正常 两个月的狗狗一直喝水怎么办 六个月的狗狗磨牙吗 买什么狗狗最好训练 柳州狗狗托运 两个月大的狗狗跑步 两个月的狗狗一直喝水怎么回事啊 柳州狗狗托运公司 柳州狗狗托运 例假狗狗闻到味道 乐山狗狗怎么办狗证 遛狗时狗狗总到处跑 柳州狗狗托运公司 螨虫狗狗图片大全 两个月 狗狗不排便 六个月的狗狗磨牙吗 两个月的狗狗一直喝水怎么办 两个月的狗狗一直喝水怎么回事啊 路桥狗狗办狗牌 两个月的狗狗温度是多少算正常 狼是不是大狗狗 遛狗时狗狗总到处跑 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 哥的开挂人生 星夜永 开我大秦盛世 楚回的世界 勇者与那座大山 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 万利官网 两个月的狗狗温度是多少 螨虫狗狗图片大全 乐山狗狗怎么办狗证 乐山狗狗怎么办狗证 满月的狗狗太丑怎么办 满月的狗狗太丑怎么办 买温顺的狗狗 两个月的狗狗瘦了怎么办啊 例假狗狗闻到味道 两个月的狗狗一直喝水怎么回事啊 两个月狗狗吃鸡蛋黄 满月的狗狗太丑 两个月的狗狗瘦了 两个月 狗狗不排便 满月的狗狗太丑怎么办 柳州狗狗托运公司 螨虫狗狗图片大全 买温顺的狗狗 两个月的狗狗一直喝水怎么回事啊 两个月的狗狗一直喝水怎么回事啊 满月的狗狗太丑不想要 满月的狗狗太丑怎么办 漯河哪儿给狗狗看病好 螨虫狗狗图片大全 狼是不是大狗狗 两个月的狗狗瘦了 两个月的狗狗温度是多少正常 柳州狗狗托运 漯河哪儿给狗狗看病好 两个多月狗狗得了冠状