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"
衡阳火车站到邵东杨桥春运团体火车票流程金华过桂林的火车票涪陵北到昆明火车时刻表查询武功火车站列车时衡阳火车站到邵东杨桥湖南到四川自贡的火车金华过桂林的火车票西宁到成都成都火车票太原-岚县火车成都到广元的k546火车金华过桂林的火车票安阳至合肥的火车佛山 拉萨 火车票广州南至江门火车票多少钱太原-岚县火车赣州有到湖南的火车吗郑州到新疆今天的火车票郑州到新疆今天的火车票新疆至北京火车票查询结果k7906次火车运行图郑州到新疆今天的火车票西宁到成都成都火车票西安到运城火车站武功火车站列车时祥云火车站至禄丰闽清到泉州的火车票西安到运城火车站新疆至北京火车票查询结果安阳至合肥的火车人的一辈子,是一段有去无回的单程旅行,遗憾、悔恨与一路上或多或少的美好,都会深刻在抵达终点时的记忆上。 大多数人没有机会弥补。 林琛,他有。 在冥界中里,若君颜作为个普通小鬼,普普通通的活着,等到二十岁高考毕业后去投胎。 可没想到高考成绩单出来了,自己虽然成绩过线了,但是由于上辈子玩游戏太菜,怨念太强,因果纠缠过深,被教导主任宣告前往第十九层地狱受罚。 而这第十九层新建的游戏地狱,作为若君颜梦魇般的存在,自己必须直播通关至少一百款游戏,才有投胎的希望。 直播毕业那天,望着来自全星域的数亿铁粉,若君颜突然发现,我这是被保送了?【轻松诙谐向+假太监+女扮男装的皇帝+假太后+种田+权谋天下】   孙羽意外穿越到了大秦宫内一个小太监身上,同时觉醒了超级大太监系统。   哄骗过净身师傅,孙羽带着茶壶嘴进了皇帝御书房当差,本来还打算找机会开溜的他,突然发现那个眉清目秀的皇帝,竟然是女儿身……   还有那个在内宫作威作福的太后,竟然也是假的?   看着系统给出的任务,孙羽犯起了难,他该兼收并蓄,还是该雨露均沾?    既然手持系统,自然要一步步向上,一步步站到最高,做最高的…太监太上皇? 叶天,修仙界绝世天骄,修罗战神,却因功高震主,惨死于庆功楼,魂穿来到地球,重生在一个废物大少身上。带着前世的修仙记忆,叶天强势崛起,血战强敌,逆天而行,纵横都市!他来自修仙界,终将破碎虚空而去!一个被予为天才的少年 一段被命运安排的人生 一场横跨万年的阴谋九州天下,门派林立,朝廷纷争!一个江湖小势力,生存于各个势力之间……这是一个小势力的发展奋斗史。一个被遗弃的少年,是如何一步步走上巅峰时空裂缝出现 人类必须躲避远古生物的抓捕 同时,大量未来生物来到现在 人类该何去何从 一代仙界丹师意外附身在一个豪门纨绔身上,成为一个插班生,以一身神奇仙术,混迹于美女丛中,在都市独领风骚! 每天三更,微信关注每满100加更一章!读者一群:233514189(已满) 读者二群:894706463 微信公众号:如墨似血 可悲的不是失去,而是失去后,无法继续前行。 这是一个冗长的梦,带你走进不一样的玄幻世界!
重生之开局伪装成大佬 偶像室友 神国时代:谁言九州无神灵 剑荡魔殇 永恒极致 星赐之缘 纨绔剑道 乡村赘婿神医 我可能不弱 重生魔祖之蚊道纵横 焚天之前 雾弥之音 铁血江湖:风云 原体:初现 善良的剑神 大靖枭龙 一个被修仙耽误的人才 从变天崛起 穿越时间的思念 我在斗宗大陆有铠甲 阿拉善到银川火车 成都到驻马店火车站 赣州有到湖南的火车吗 武功火车站列车时 阿拉善到银川火车 泰山有没有到青岛的火车票 兰州至长春火车票多少钱 火车票买硬卧下铺怎么买 祥云火车站至禄丰 新疆乌鲁木齐到济南火车票多少钱 西宁到成都成都火车票 火车票k866 广东省阳春市去广州火车 成都到驻马店火车站 衡阳火车站到邵东杨桥 武功火车站列车时 兰州至长春火车票多少钱 祥云火车站至禄丰 杨凌榆林的火车站列车时刻表 金华过桂林的火车票 成都到驻马店火车站 广州南至江门火车票多少钱 春运团体火车票流程 佛山 拉萨 火车票 太原-岚县火车 广东省阳春市去广州火车 祥云火车站至禄丰 春运团体火车票流程 杨凌榆林的火车站列车时刻表 祥云火车站至禄丰 武功火车站列车时 成都到驻马店火车站 涪陵北到昆明火车时刻表查询 衡阳火车站到邵东杨桥 西安到运城火车站 武功火车站列车时 涪陵北到昆明火车时刻表查询 赣州有到湖南的火车吗 广东省阳春市去广州火车 广州南至江门火车票多少钱 闽清到泉州的火车票 新疆乌鲁木齐到济南火车票多少钱 济南火车站到机场怎么走 兰州至长春火车票多少钱 佛山 拉萨 火车票 成都到驻马店火车站 火车票k866 闽清到泉州的火车票 广东省阳春市去广州火车 湖南到四川自贡的火车 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 枫落栈桥,跃上云霄 开局随机选择仙门2 逆势崛起之我能改命 极境1:孤命 秦朝鬼剑 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 春运团体火车票流程 济南火车站到机场怎么走 西宁到成都成都火车票 武功火车站列车时 西安到运城火车站 新疆乌鲁木齐到济南火车票多少钱 新疆乌鲁木齐到济南火车票多少钱 新疆至北京火车票查询结果 济南火车站到机场怎么走 泰山有没有到青岛的火车票 闽清到泉州的火车票 衡阳火车站到邵东杨桥 太原-岚县火车 湖南到四川自贡的火车 西安到运城火车站 广州南至江门火车票多少钱 石家庄火车几点到唐山 新疆至北京火车票查询结果 西宁到成都成都火车票 西安到运城火车站 泰山有没有到青岛的火车票 火车票买硬卧下铺怎么买 火车票买硬卧下铺怎么买 新疆至北京火车票查询结果 新疆至北京火车票查询结果 祥云火车站至禄丰 泰山有没有到青岛的火车票 济南火车站到机场怎么走 广州南至江门火车票多少钱 佛山 拉萨 火车票