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"
青州天气记录株洲2016年天气统计山东省枣市天气预报2月18日昆山天气情况2月18日昆山天气预报青州天气记录上海沙家浜天气预报山东省枣市天气预报中 央天气预报上海昆山一周天气预报今天秦安天气预青州天气记录昆山10月1日8日天气预报今天秦安天气预山东省枣市天气预报上海昆山一周天气预报泰州大营天气长沙天气10月30日长沙天气10月30日昆山天气预报10天预报株洲15日天气长沙天气10月30日苏州历史天气气压昆山5天气2月18日昆山天气预报株洲6月29日天气情况2月18日昆山天气情况昆山2017年10月天气昆山天气10月18温度昆山10月1日8日天气预报末日来袭,地球上的植物与水源全部枯竭衰败。 世界陷入恐慌,秩序与人性崩碎。 食物与生存,再次成为新世纪之后人们最关心的话题。 米面成为奢侈品,唯有富豪才能享用,菜蔬更是身价暴涨万倍,有价无市! 然而就在此时,有人捡到了一部手机,偶然打开之后,手机内的视频令世界震惊。 甘甜的菜蔬滚入火锅之中,散发着诱人的绿色! 烤的金黄的羊腿滋滋冒油,沾上芝麻般的孜然! 鲜美的鱼汤炖的宛若牛奶一般纯白,撒上翠绿的葱花! 饭桌旁,一名粉雕玉琢的小女孩咬掉半颗草莓,哀求道:哥,我真的吃不下了!! 功成名就的李向东走上人生巅峰,可是大梦初醒,却被一脚揣回了90年代变成了一个人人嫌弃的烂赌鬼,不但输掉了家产,竟然连女儿都输掉了。 重活一回,赚钱都是小意思。 李向东不仅要登上财富巅峰,更要让妻女俩过上梦寐以求的好日子。这是一个以御兽为主体的世界,人们与动物,机械,恶灵,花草树木契约,灵兽的力量如此强大,可最大的问题仍在人与人之间在禽与兽的探索中走向自己的人生巅峰武道崛起,江湖与朝堂的纷争喋喋不休…… 乱世之中,且看他如何一人一拳横行其中!魂穿崇祯却发现自带华夏图书馆,整顿吏治,训练新军,平内安外,科技强国第一步先从留住魏忠贤开始。 东林意图众正盈朝?可曾问过厂卫刀还利否? 鞑子于辽东意图糜烂中原?可曾听闻枪与火炮轰鸣? 东瀛时常滋扰海防?与其日日提防不如给大明添座石见银山? 知识改变世界,放牧北美,开矿澳洲,殖民印度,脚踩东欧。 枪炮铸我铁血大明,科技铸我宏图盛世。 朱由检:海内诸国,皆为臣属,有明一朝,日月不落。网吧厕所墙上的联系方式千万不要随便加。叶锦年本以为自己运气爆表遇上了学姐交友,两人共处一室时,学姐的男朋友却找上门来...... 在学校被欺辱,就要反抗!拳头,不是为了欺负弱小,而是为了守护自己在意的东西而挥动。面对强敌,从不退缩,因为我的体内,有着那股能在瞬间被点燃的热血。 晴空破开乌云,象征着胜利的光辉照下,唐一吟的神情空无,手中轻握住脖颈上挂着的项链,脑中的回忆在此刻彻底翻涌而出,忽的他读懂了,那时,那个眼神中的意思。 /:你身后恨意滔天/:你身后背负不属于你的罪责 //:放下吧 /:放下?我也想/:放不下,这是与我相关的历史 //:为什么? //:因为我不能 任凭时间改变一切,世间变换翻转无常 //:我仍爱你,为此不变 唐一吟重新问了一遍,以回忆的形式…… 他不过是想重整世界。朋友圈里发不出的无聊日常 会被嫌啰嗦的想说的话
网游:纪元征程 恒石 乌云未晞 我就是一个做白事的 快穿之填坑路上磕cp 网游之修仙时代 三国最强小才子 幻日 朔夜微茫 中天稗史 jojo的奇妙冒险:花样年华 八荒古帝 神与棋局 苍玄神典 我在殡仪馆玩推理 世界间 霍格沃茨的抽卡欧皇 重生我再也不会啃老了 恐怖复苏:我以肉身横推诸天! 灵气复苏一千年后 黑色余火 株洲48小时天气 山亭区历史天气查询 泰州大营天气 长沙天气10月30日 株洲48小时天气 昆山10月6日天气 查一周阳高天气 十月份至一月份昆山天气 株洲6月29日天气情况 昆山10月1日8日天气预报 苏州历史天气气压 苏州历史天气气压 昆山5天气 上海昆山一周天气预报 秦安十天内天气情况 2月18日昆山天气预报 查一周阳高天气 株洲6月29日天气情况 株洲15日天气 青州天气记录 山亭区历史天气查询 山东省枣市天气预报 株洲2016年天气统计 江苏昆山天气预报六月十号 十月份至一月份昆山天气 昆山5天气 株洲6月29日天气情况 株洲2016年天气统计 株洲15日天气 株洲6月29日天气情况 长沙天气10月30日 山亭区历史天气查询 2月18日昆山天气情况 青州天气记录 昆山5天气 2月18日昆山天气预报 山亭历史天气预报 查一周阳高天气 昆山5天气 山亭历史天气预报 2月18日昆山天气预报 天气预报山东枣庄山亭 昆山天气预报10天预报 全国城市最热天气排行榜 江苏昆山天气预报六月十号 山亭区历史天气查询 苏州历史天气气压 2月18日昆山天气情况 昆山天气10月18温度 上海沙家浜天气预报 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 万古第一魔帝 都市猛兽侠 岩门村的传说,龙英的传说 一天一个选择题 这个捉妖师有些不正经 欧博官网 百家乐官网 亚星管理平台 欧博官网 亚星管理平台 天气预报山东枣庄山亭 上海沙家浜天气预报 昆山10月1日8日天气预报 长沙天气10月30日 株洲6月29日天气情况 昆山天气10月18温度 江苏昆山天气预报六月十号 今天秦安天气预 长沙天气10月30日 中 央天气预报 今天秦安天气预 十月份至一月份昆山天气 全国城市最热天气排行榜 山亭历史天气预报 青州天气记录 昆山10月1日8日天气预报 株洲2016年天气统计 昆山10月6日天气 株洲6月29日天气情况 泰州大营天气 2月18日昆山天气预报 今天秦安天气预 昆山10月6日天气 全国城市最热天气排行榜 查一周阳高天气 秦安十天内天气情况 全国城市最热天气排行榜 苏州历史天气气压 昆山5天气 中 央天气预报