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"
宝宝发烧四十度 有炎症宝宝发烧吃吲哚美辛宝宝发烧晚上磨牙宝宝拉绿屎大口吐奶宝宝拉荧光色大便宝宝发烧四十度 有炎症50多天宝宝有点干咳宝宝发烧晚上磨牙宝宝颧骨上有坑50天的宝宝需要喝水吗?宝宝老呛是什么原因宝宝发烧晚上磨牙50的宝宝能吃好娃娃吗宝宝老呛是什么原因宝宝放进水里就大哭50天的宝宝需要喝水吗?宝宝皮肤红白相间宝宝老穿纸尿裤好吗宝宝拉荧光色大便宝宝发烧能喝酸牛奶吗?宝宝发热 美林 没用宝宝老穿纸尿裤好吗宝宝颧骨上有坑宝宝发烧可以打麻醉吗宝宝拉稀成果冻状宝宝发烧肛门有水泡宝宝拉稀成果冻状宝宝发烧可以打麻醉吗宝宝发烧能喝酸牛奶吗?50的宝宝能吃好娃娃吗被人瞧不起的平凡少年叶修因见义勇为,濒临死亡之际得上古修真传承。悲剧命运大翻身,得上古十大神剑承影剑隐匿都市,因搭救富家女陈雨墨,治病救人,悬壶济世,惩恶扬善,身边美女不断,用自己超人的打造属于自己的地下王国。 凭一身修为,为窥破六道轮回奥秘,探寻神秘消失的鬼修、大破苗疆巫蛊、畅游修真昆仑圣地、寻访九幽神泉、追寻崆峒印、神农鼎、大战青丘千年狐妖,得上古神龙真传。历经九重雷劫,最终达到天人合一的境界。 卜慧书是一名落魄青年,嗜读书,被人成为“痴疯子”。无意功名,也不近女色。擅长办案,只因在义田获得银指环,上写“雅威”二字。之前襄阳镜湖湖口发现一具男尸,身上并无伤痕,可能落水而死。乡民发现后,就向地保报告了情况。地保请代言人撰写一纸呈文报官,代言人则索取1000两银子作为报酬。地保一则没有那么多钱,二则也不太愿意,故而只肯出200两银子。痴疯子便草草写了一张“镜湖口,发现浮尸一具”的呈文。后来情况如何?代言人如何处置?敬请期待....... 陈阳穿越到了高武世界,获得了一个能查看人生剧本的系统! 这人生剧本,能预知人未来,查看命格,甚至连对方的最近机缘都一目了然! “绝世机遇!?不好意思,我先收为敬!” 三流的主角等机缘。 二流的主角找机缘! 而陈阳:机缘在哪,我就在哪! 末日降临,仙凡佛圣人神难逃。 在人间历劫任务完成后,玉皇大帝的二皇子凤赫回归天庭。随之而来的是魔界入侵天堂,天庭自顾不暇,无力救援,从此掀起了天堂和天庭的大战。 末日降临,诸天陨落,诸世受难,诸神黄昏。地球人间成为各界的必争之地!因工作原因,我被调动到这片原始森林的周围,这里有数不清树木和同样数不清的故事,自认为受过高等教育的我对这些故事嗤之以鼻,没想到这趟旅行将彻底改变我对于这个世界的认知。 一个人被打造成武器,又不断变成人的故事一个大学生,毕业后竟然沦为宅男,每天沉迷于网络。当一天,他收到一个网站后竟然穿越到了一个神秘的朝代。网瘾少年林徉魂穿大武朝,凭借着网上冲浪的经历纵横武朝! 造纸?我会古法造纸; 赶海?这个季节的沙滩有很多花旦蟹; 行医?脸上出现蜘蛛斑,一抹无痕。 …… 一次善意的无心之举,一块看似普通的玉石 惨淡少年,命运的转折点 校园反霸,商界称王 扮猪打脸,纵横四方 萝莉御姐,高冷女皇 从此一路开挂,快意恩仇,踏上属于自己的最强之路! 天外来物,犯之地球,千亿之人,迎难而战
我与神皇在末世 一剑纵横 断剑成仙 饿狼传说之灭世狼皇 末世生存 : 新主 永恒浩瀚 326计划 入世仙 斜阳且落西 表与里之歌 日月扉 游戏小兵的日常 诡闻悬盗 仙影魔踪诛万魔 命运圣杯战争 苍云落日 诛神图 云山诀 地兽 苍穹诀 宝宝发烧到38.1怎么半 宝宝两个月了脸还是红红的怎么回事啊 宝宝皮肤红白相间 宝宝拉荧光色大便 宝宝发烧到38.1怎么半 宝宝发烧脚热手热 宝宝皮肤红白相间 5个月宝宝尿少怎么回事啊 宝宝发烧肛门有水泡 5个月大的宝宝体温37.2 宝宝掐奶吃什么回奶快 宝宝掐奶吃什么回奶快 宝宝发烧能吃奈普生吗 宝宝两个月了脸还是红红的怎么回事啊 宝宝发烧四十度 有炎症 宝宝拉荧光色大便 宝宝屁眼有个泡图片 宝宝发烧肛门有水泡 宝宝发热呕吐流鼻涕 宝宝发烧晚上磨牙 宝宝两个月了脸还是红红的怎么回事啊 宝宝发烧晚上磨牙 宝宝发热呕吐流鼻涕 宝宝老穿纸尿裤好吗 50天的宝宝需要喝水吗? 宝宝发烧能吃奈普生吗 宝宝发烧到38.1怎么半 宝宝发烧吃吲哚美辛 宝宝发热呕吐流鼻涕 宝宝发烧肛门有水泡 宝宝拉荧光色大便 宝宝脸颊有小坑 宝宝拉绿屎大口吐奶 宝宝发烧四十度 有炎症 宝宝发烧可以打麻醉吗 宝宝拉稀成果冻状 宝宝拉绿屎大口吐奶 宝宝皮肤红白相间 宝宝发烧能吃奈普生吗 宝宝放进水里就大哭 宝宝拉稀成果冻状 5个月宝宝尿少怎么回事啊 宝宝发烧频繁要喝水 宝宝屁眼有个泡图片 宝宝老呛是什么原因 宝宝脸颊有小坑 宝宝掐奶吃什么回奶快 宝宝拉稀成果冻状 宝宝发烧能吃奈普生吗 宝宝疱疹性咽颊炎预防 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我在阳间做收魂人 守望者:规则篇 神眷战纪 神算异世 文艺巨星奶爸 快连下载 亚星管理平台 亚星官网 快连下载 亚星管理平台 宝宝拉绿屎大口吐奶 宝宝发烧吃吲哚美辛 宝宝拉稀成果冻状 5个月大的宝宝体温37.2 宝宝老穿纸尿裤好吗 宝宝拉稀成果冻状 宝宝屁眼有个泡图片 宝宝拉荧光色大便 宝宝脸颊有小坑 宝宝皮肤红白相间 宝宝两个月了脸还是红红的怎么回事啊 宝宝发烧能喝酸牛奶吗? 5个月宝宝尿少怎么回事啊 宝宝发烧能喝酸牛奶吗? 宝宝发烧吃吲哚美辛 宝宝发烧频繁要喝水 50的宝宝能吃好娃娃吗 宝宝放进水里就大哭 50多天宝宝有点干咳 宝宝发烧吃吲哚美辛 宝宝皮肤红白相间 50多天宝宝有点干咳 宝宝发烧能吃奈普生吗 宝宝疱疹性咽颊炎预防 宝宝掐奶吃什么回奶快 宝宝发烧可以打麻醉吗 宝宝颧骨上有坑 宝宝脸颊有小坑 宝宝发热呕吐流鼻涕 宝宝脸颊有小坑