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"
扣扣姐妹头像卡通萝莉情侣头像牵手一前一后海边2017最新女生可爱动漫头像微信头像 非主流一个男生头像张开手.扣扣姐妹头像卡通萝莉头像冰糖葫芦女生2017最新女生可爱动漫头像qq头像思念图片大全唯美伤感头像男生三七叛逆美女头像扣扣姐妹头像卡通萝莉撒娇动画头像叛逆美女头像2017最新女生可爱动漫头像社会光的头像黝黑皮肤男生卡通头像一个男生头像张开手.一个男生头像张开手.动漫逗比头像图片大全霸气头像女生超拽冷酷卡通头像女生头像qq头像图片男生动漫头像大全qq头像思念图片大全唯美伤感唯美头像姐妹头像带字图片大全集老款头像q版背影头像卡通人物微信头像 非主流圣诞漫画头像可爱动漫逗比头像图片大全猫和狗的闺蜜头像 当一颗天外陨石坠落,给生物带来的是毁灭还是新生? 当冷司烈从噩梦中醒来,天赋正式觉醒。 面对铺天盖地的敌人,他不屑一笑 “我!就是太阳!” 单手向日! 烈阳!焚尽万物!陈晓穿越大唐贞观初年,继承了家中位于长安东市的酒楼。 哪知那唐皇李世民化名李二哥,成了酒楼的常客。 推杯换盏之余,李世民的问题也越来越奇怪: “陈掌柜,突厥屡屡南下劫掠,可有一劳永逸的办法?” “陈掌柜,蝗灾荼毒天下,朝廷应当如何应对?” “陈掌柜,天下之大,我大唐铁骑如何能雄霸天下?” 陈晓有些头疼,我就一开饭馆的,你总问我这干啥? 关键是,大唐铁骑怎么还真雄霸天下了? 【玄幻脑洞】+【剧情流】 燕十三穿越玄幻世界,成功觉醒神级宗门系统。 只要完成系统发布的任务,就可以获得奖励。 随着系统的挖掘,燕十三招收的弟子一个比一个惊艳。 有门派弃徒,却身负天剑之体的白宇! 有丹帝转世的丹尘! 有大帝重生的叶神! 有仙骨被挖的王昊! 有退婚流弟子,有凡人流弟子! 更有仙之巅,傲世间,有我元阳便有天的风元阳! 当无数主角模板的弟子汇聚在浩然宗,整个玄天大陆都震惊了! 众天骄:玩屁啊!潜龙榜前五十名都被浩然宗的弟子给占了。不行,我也得拜入浩然宗! 【简介无力,请移步正文!】这是最坏的时代!这是好的时代!这是人类为刍狗的时代! 这是崛起的时代!崛起还是死亡?他会如何选择呢!在一片大陆之上,国家繁多,相互征伐,国家更迭极快,更多武林之士,更愿意依靠盟派的庇护由此,练武成仙的热潮兴起,致使人间霍乱频发。在天虞中有一人,出身不凡,却喜好游历各地……淳朴的三口之家惨遭灭门? 严肃的军训基地半夜打炮? 高中校园夜间有裸男游荡? 少女野外方便被老人偷窥? 关爱迷途妇女的少年一蹶不振? ...... 这一桩桩事件的背后,到底是人性的扭曲还是道德的沦丧,请让我们跟随少年王候的脚步,慢慢去揭开这一幕幕惨案背后的真相吧。做人总得有梦想。我的梦想就是我的榜1。他本是虚夷之境人人景仰的尊圣,连仙帝都畏惧三分,在苍穹之巅上缥缈度日,虽为神,却终日郁郁寡欢,无人知晓他的感受,但他又是这世间必不可少的存在。千百年的时光,终将消磨掉他的信念。于是,他便就此陨落,虚夷之境也再无一位至尊。 后天,先天,宗师,大宗师,圣人,尊神,尊圣 (初境,小成,中境,大成,圆满 )一个21世纪的失意少年,不幸失足落水。灵魂穿越到了一个仙魔共存的时代,重生在一个修真世家里面。看他如何一步步反转,走上巅峰!我本齐天孙大圣,打落人间入凡尘 生老病死贪痴嗔,碌碌半生血犹温 今朝纵歌拔剑起,九州光寒荡鬼神 天若有情指天问,最难消受美人恩
魂穿之竟然是个废柴 刀剑天武 永恒圣剑之天之痕 末日余烬 恒石 星河破苍穹 午夜诡梦 仙罹 毕加索的交流 杂乱无章之红斑 红楼:开局便娶秦可卿 万古绝顶 情义山泉 音乐道士 无我非我 手能伸进动漫?拿出至尊骨 六界 传说 清净世界 丧尸国度:生存之道 裔魁 唯美头像姐妹头像带字图片大全集 撒娇动画头像 qq头像思念图片大全唯美伤感 社会光的头像 唯美头像姐妹头像带字图片大全集 动漫逗比头像图片大全 霸气头像女生超拽冷酷卡通头像女生头像 头像冰糖葫芦女生 人物q版头像女生 qq头像大黑 情侣头像牵手一前一后海边 情侣头像牵手一前一后海边 扣扣姐妹头像卡通萝莉 社会光的头像 扣扣姐妹头像卡通萝莉 老款头像 眼镜 卡通男头像图片大全唯美图片大全 q版背影头像卡通人物 最酷的动画头像图片大全 2017最新女生可爱动漫头像 sd娃娃伤感唯美头像 2017最新女生可爱动漫头像 最酷的动画头像图片大全 qq头像图片男生动漫头像大全 头像男生三七 人物q版头像女生 q版背影头像卡通人物 最酷的动画头像图片大全 霸气头像女生超拽冷酷卡通头像女生头像 情侣手绘黑白漫画头像 一个男生头像张开手. sd娃娃伤感唯美头像 微信头像 非主流 扣扣姐妹头像卡通萝莉 唯美头像姐妹头像带字图片大全集 老款头像 微信头像 非主流 qq头像大黑 唯美头像姐妹头像带字图片大全集 微信头像angelababy的 老款头像 漫画小绵羊头像 动漫逗比头像图片大全 眼镜 卡通男头像图片大全唯美图片大全 叛逆美女头像 sd娃娃伤感唯美头像 最帅的小情侣头像图片大全 老款头像 人物q版头像女生 黝黑皮肤男生卡通头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 狼战于野 九皇一帝e 沉仙剑祖 黑渊术士 两界开端 AG真人 欧博官网 亚星管理平台 AG真人 皇冠登3出租 一个男生头像张开手. 人物q版头像女生 猫和狗的闺蜜头像 撒娇动画头像 qq头像大全小孩 扣扣姐妹头像卡通萝莉 圣诞漫画头像可爱 一个男生头像张开手. 2017最新女生可爱动漫头像 漫画小绵羊头像 qq头像大黑 人物q版头像女生 微信头像 非主流 黝黑皮肤男生卡通头像 qq头像大全小孩 qq头像思念图片大全唯美伤感 人物q版头像女生 唯美头像姐妹头像带字图片大全集 撒娇动画头像 撒娇动画头像 qq头像大全小孩 qq头像大全小孩 圣诞漫画头像可爱 唯美头像姐妹头像带字图片大全集 扣扣姐妹头像卡通萝莉 微信头像angelababy的 叛逆美女头像 最帅的小情侣头像图片大全 情侣手绘黑白漫画头像 头像冰糖葫芦女生