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"
资阳汽车客运站南阳到宿迁的汽车合肥至芜湖汽车票价永康到武义汽车时刻表上海到常熟的汽车多久资阳汽车客运站江苏汽车时刻表合肥至芜湖汽车票价缙云到泰顺汽车宁波到南昌汽车时刻表惠州到东莞石龙汽车站合肥至芜湖汽车票价常州到湖口汽车惠州到东莞石龙汽车站合肥至芜湖汽车票价宁波到南昌汽车时刻表南京桥北汽车客运站时刻表广东阳江汽车总站电话上海到常熟的汽车多久济南到招远汽车时刻表成都火车东站到昭觉寺汽车站广东阳江汽车总站电话缙云到泰顺汽车杭州到桐乡汽车票价菏泽到宿州汽车时刻表福鼎到福安汽车时刻表菏泽到宿州汽车时刻表潍坊汽车票网上订票济南到招远汽车时刻表东台到南通汽车本是千万富翁,却遭遇破产危机,结婚六年的妻子还送给我一顶大大的绿帽。 人生低谷,却无意间结识美女总裁。 为还自己清白,我重振昔日辉煌,不仅要手刃仇人,我还要让那些瞧不起我的人跪下来叫我爸爸。 人性是善是恶,争论千年无休止。 而我的故事就要从人性上开始说起…《从秀才到高僧》是部古代小说,叙事了一位纨绔少爷,在名师的教导下,喜欢观景吟诗。后受到朝政牵连,被逼出家做了和尚,成为名誉一方的世外高僧。鲛人无意中看到唐敖一行,见他们一个个风度翩翩、举止不凡,心中好生羡慕;又听说唐朝是个繁华富庶之所,心向往之,于是一段艰辛的奇幻之旅便开始了。地球停转,末日来袭。 灾难接踵而来,人类为了生存终于是暴露出潜藏在内心的阴暗。 欺骗,背叛让人与人之间最后的一层遮羞布被饥饿、求生欲狠狠的撕下。 别人为了一块面包,可以出卖尊严。 而我,坐拥一块地,守护着自己爱的人和爱我的人! …… 风云起变,万物乔迁。所谓和平,不过是用战争与鲜血换回来的。没有永恒的宁静,也没有永恒的存在。一生只为一个自由而战斗!战歌与鲜血,是历史发展的唯一途径。为何而战?为谁而战?或许最终的答案是尊严与荣耀。自从踏上那一条路,就不要回头,直到登上巅峰!一个是百龙之智,一个是无双国士!一个沥胆披肝为夺嫡,一个卧薪尝胆欲复仇!陆佐背负着灭门之仇,一路忍辱负重,大仇能否得报!荀谋肩负着家族使命,一心辅佐主公,霸业是否能成!一个皇族,三代人的纷争,最终谁胜谁负?谁又能翻云覆雨?谁又会沦为阶下囚?当江山遇到美人,是选择无上权利?还是选择美人相伴?故事里的每一个人都背负着自己的使命,都有自己的命运!“千古兴亡,百年悲笑,一时登览”几人真是经纶手!!!看着父亲被舅爷追打,头破血流,还不能顶嘴,目睹母亲含辛茹苦,为一大家操心劳累,叔叔、姑姑不仅不领情,还故意刁难,超华幼小的心灵,烙下深深的记忆。 他发誓,苦读寒书,通过高考获取功名,立志改变命运,出人头地,让欺负父亲的舅爷们汗颜,让不尊敬的叔叔、姑姑们忏悔。 然而,想法要变成现实,总不是一番风顺,他经历过大学苦难的历程,被卷入了企业复杂人际关系漩涡------ 在企业他在国企破产后,为了生活,被迫四处漂泊,历经沧桑,在险恶的职场,顽强拼杀,终于有了自己的一席之地。 沐辰高考落榜,受校花羞辱猝死网吧,重生九龙大陆亡国太子沐辰身上,在情急之下,修炼了“龟阴功”,成为一名天女国假太监。 为了不暴露自己假太监身份,他步步为营,将两世才华进展,赢得女帝和七位公主欢心。加官进爵,成为女帝个七位公主身边最风流的太监。也成就了九龙大陆巅峰人物,一统天下诸国以及各大门派。 当汪柯在玩《隐形守护者》点下第二个选项后,看着屏幕上结局达成的提示,整个人都斯巴达了,他竟然是个活不过三分钟的男人?带着这样的疑问,他被一个谍战求存直播系统丢到了魔改后的谍战世界,开始了他的求生直播。系统告诉他,他的任务很简单,只要活过一集就够了。一位特战队员在任务中摧毁了基因实验室,打破了“犼”的封印。在轮回牌的加持下接受了基因药剂地改造,由仿品昆仑镜送至过去。一步步在都市中积累财富与秘境寻宝中走向修行之路。万兽之祖的体魄融合各种生物的基因异能加上原始的符篆,他还会是平庸之辈吗?   本书纯属虚构,请勿对号入座!
十亿年生人生 无上双神 剑胆琴心有风骨 西游胡闹记 森林之子 名华依在 都市帝仙 求仙入世 逍遥武帝 末世召唤2 仙帝大道 放我离开 全能武王 我开高达砍真仙 万般皆下品,惟有读书高 全球末日:庇护所无限升级 我平凡人生 网游:国士无双 圣灵之魄 江湖:无奈扮虎吃猪 福鼎到福安汽车时刻表 汕头回广州的汽车 马鞍山汽车站到马和汽渡公交班车 上海到常熟的汽车多久 南阳到宿迁的汽车 潍坊汽车票网上订票 马鞍山汽车站到马和汽渡公交班车 黄江到东莞汽车总站 宁波到新昌的汽车 常州到湖口汽车 常州到连云港汽车 常州到连云港汽车 杭州到桐乡汽车票价 汕头回广州的汽车 资阳汽车客运站 上海到常熟的汽车多久 天津到唐山汽车时刻表 福鼎到福安汽车时刻表 广州广园汽车客运站时刻表 合肥至芜湖汽车票价 汕头回广州的汽车 合肥至芜湖汽车票价 广州广园汽车客运站时刻表 广东阳江汽车总站电话 宁波到南昌汽车时刻表 义乌有几个汽车站 福鼎到福安汽车时刻表 广州广园汽车客运站时刻表 广州广园汽车客运站时刻表 宁波到新昌的汽车 上海到常熟的汽车多久 东莞市汽车客运东站时刻表 永康到武义汽车时刻表 资阳汽车客运站 杭州到桐乡汽车票价 菏泽到宿州汽车时刻表 永康到武义汽车时刻表 马鞍山汽车站到马和汽渡公交班车 杭州到桐乡汽车票价 南通永兴汽车站 菏泽到宿州汽车时刻表 黄江到东莞汽车总站 济南到招远汽车时刻表 天津到唐山汽车时刻表 惠州到东莞石龙汽车站 东莞市汽车客运东站时刻表 常州到连云港汽车 菏泽到宿州汽车时刻表 义乌有几个汽车站 南京桥北汽车客运站时刻表 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 我女友可牛了 天卷遗梦 于我无益 人在娘胎:一脚踹飞重生女帝 凡人观天骄 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 欧博游戏官网 天津到唐山汽车时刻表 成都火车东站到昭觉寺汽车站 济南到招远汽车时刻表 广州广园汽车客运站时刻表 宁波到南昌汽车时刻表 福鼎到福安汽车时刻表 宁波到南昌汽车时刻表 菏泽到宿州汽车时刻表 黄江到东莞汽车总站 潍坊汽车票网上订票 江苏汽车时刻表 杭州到桐乡汽车票价 菏泽到宿州汽车时刻表 济南到招远汽车时刻表 杭州到桐乡汽车票价 汕头回广州的汽车 义乌有几个汽车站 资阳汽车客运站 东莞市汽车客运东站时刻表 合肥至芜湖汽车票价 济南到招远汽车时刻表 永康到武义汽车时刻表 成都火车东站到昭觉寺汽车站 南京桥北汽车客运站时刻表 广州广园汽车客运站时刻表 广东阳江汽车总站电话 南通永兴汽车站 广东阳江汽车总站电话 江苏汽车时刻表 东莞市汽车客运东站时刻表