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"
菏泽车到巨野汽车电话是多少宁波到威海汽车时刻表查询菏泽车到巨野汽车电话是多少从西安到临沂的汽车票河源汽车到深圳深圳海岸城附近汽车站中山至义乌的汽车票价查询贵阳有到草海的汽车吗海口到湛江西汽车江门汽车103的时间表乐昌汽车站时刻表菏泽车到巨野汽车电话是多少江西吉安到宁波汽车票多少钱台州到杭州汽车要多久贵阳有到草海的汽车吗江门汽车103的时间表郑州到固原市汽车铜陵到杭州的汽车时刻表铜陵到杭州的汽车时刻表从吉首到铜仁的汽车票多少钱南宁到重庆万州汽车要多久铜陵到杭州的汽车时刻表海口到湛江西汽车下元到建南汽车站公交车站河源汽车到深圳天柱到东阳汽车从西安到临沂的汽车票下元到建南汽车站公交车站从吉首到铜仁的汽车票多少钱江西吉安到宁波汽车票多少钱前世他是军方安插在金三角缅北地区的一名线人,没想到一觉醒来却魂穿到了异世界一名放牛娃的身上,还要去完成各式各样层层升级的任务。 这瘦弱的小身板,战五渣的战斗力,在这强者恒强,弱者愈加弱的世界他究竟要如何生存下去?! 面对毫无头绪的任务,他要如何才能一步步探索完成下去,最终他能武魂飞升,回到原来的世界吗? 且让我们拭目以待,看这战五渣林凡是如何在这异世界披荆斩棘达到武魂巅峰的吧!有少年和尚,喝酒吃肉,醉卧美人膝,由魔入佛…… 有少年道士,一只青驴、一名女鬼相伴,朝着道祖行进…… 有少年儒生,提笔写下传世之作,誓要做天下万灵的夫子…… …… 有人问少年:“你是谁?!” 白衣少年摸了一下腰间钝剑,仰头喝了口酒,咧嘴一笑:“吾名叶天,叶子的叶,天帝的天,来自秦国荒城,是一个天才丹师,更是一个天才修炼者……” 浮浮尘世,君子道长,小人道消,反之则反是。 当代996青年江易见义勇为,勇斗街头混混救下女孩,却终因寡不敌众被混混捅成重伤,即将昏死之际,一道阴阳八卦轮盘突然浮现于他身下...... 浮浮尘世,前途未卜,预知后事,且行且看。 道在何方,道在天涯。天上地下,唯我独尊。 我王天在此质问诸天万界,何为道,何为仙,何为至尊! 诸天万界没有答案,我便自己创造! 灵兽人程森屮(che四声)十一岁丧母,十三岁遭灭族。程森屮,程猖,程狂兄弟三人幸存。一年后大哥程猖却操纵程森屮杀死小时密友和程猖,心灰意冷的程森屮消失了三个月后在长安佚名“山狼”靠杀人赚钱。两年后,“山狼”声名崛起无意间认识权门高氏二公子和洌氏二公,这时有人叫杀死两人。山狼不从,没曾想那人正是大哥程猖。几经挣扎后,山狼坠于程狂和卫天兰坠落的黑鹰崖。 十年后 顶级杀手——山狼,再次出现在高风舌眼前。 正义也许会迟到,但永远不会缺席。王浩,小时候被爸妈抛弃,后遇到好心人收留,在他17岁以前,每天都给人打工,直到遇到落叶,而改变他的一生四国并起,正邪对立,上古世界虽然过去,但少年武灵已然被其拣选,他将改变人们心中的成见。 谁说出身于平凡的人不能崛起? 谁说身处逆境中的人不能觉醒? 他将诠释武道的作用之大。 他既是护国之手,同时也是使命行者。 究竟是邪恶的冥界先将正义吞灭,还是以他为首的正义重铸天地秩序?李长歌穿越了。 开局家徒四壁,一贫如洗。 只有一个相依为命的姐姐。 好在这是一个“小说家”的世界。 在这个世界,只要写小说,便能获得非凡的力量,甚至能够依靠小说成圣! 看着这个世界普遍流传的小说著作,李长歌表示就这啊? 《神雕》出世,“侠之大者,为国为民”被千万人追捧! 《三国》出世,无数谋臣直呼原来计谋还能这样玩?! 《西游》出世,无数人惊叹天庭是不是真的存在! 《水浒》出世,就连皇帝也坐不住了! …… 某一天深夜,李长歌看着身边美貌温婉、娇艳无俦的李采薇,义正辞严的道:“姐姐请自重,我要写小说了!” 这是一部剧情完整的末世文,主角荒辰慢慢发育,在未世中成长。
玄幻:这个炉鼎太逆天 龙凰乱世 末世蜕变者 特战姐妹之我在都市当女警 偏执大佬不好惹 都市:我有复制拿来吧你! 寒武纪元突变 炎帝! 司令前传 在校成神 重生神猿,我能掠夺别人气运 我是孙笑川 储天神婿 大奉金店 全球进化:无敌从重生开始 一品圣臣 神祇:独步仙魔 废物青年不会遇到兽耳娘 论小废物的自我修养 成为道士的那些事 咸阳到宝鸡汽车电话号码 榆林到宁夏的汽车站 郑州到固原市汽车 铜陵到杭州的汽车时刻表 咸阳到宝鸡汽车电话号码 镇江至北京汽车站时刻表 莱芜至滕州汽车几小时 济南到潍坊汽车站时刻表 天柱到东阳汽车 江西吉安到宁波汽车票多少钱 海口到湛江西汽车 聊城到福州的汽车时刻表查询 奉化汽车保养 榆林到宁夏的汽车站 深圳海岸城附近汽车站 河源汽车到深圳 莱芜至滕州汽车几小时 天柱到东阳汽车 南宁到重庆万州汽车要多久 菏泽车到巨野汽车电话是多少 榆林到宁夏的汽车站 贵阳有到草海的汽车吗 宁波到威海汽车时刻表查询 台州到杭州汽车要多久 江门汽车103的时间表 奉化汽车保养 天柱到东阳汽车 宁波到威海汽车时刻表查询 南宁到重庆万州汽车要多久 天柱到东阳汽车 河源汽车到深圳 榆林到宁夏的汽车站 滨州到大年陈汽车票 菏泽车到巨野汽车电话是多少 下元到建南汽车站公交车站 河源汽车到深圳 滨州到大年陈汽车票 郑州到固原市汽车 奉化汽车保养 贵阳有到草海的汽车吗 从西安到临沂的汽车票 涟水到海安的汽车站时刻表查询 万盛有直达沙坪坝汽车站时刻表 聊城到福州的汽车时刻表查询 台州到杭州汽车要多久 榆林到宁夏的汽车站 聊城到福州的汽车时刻表查询 从西安到临沂的汽车票 从吉首到铜仁的汽车票多少钱 中山至义乌的汽车票价查询 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 我能掌控诸天秘境 他朝若是同淋雪 抗日狙击手 奇幻:我继承了九州神明鼎 焚天古神 快连下载 亚星游戏官网 亚星官网 快连下载 亚星管理平台 铜陵到杭州的汽车时刻表 铜陵到杭州的汽车时刻表 宁波到威海汽车时刻表查询 咸阳到宝鸡汽车电话号码 海口到湛江西汽车 漯河到济南的汽车票多少钱 天柱到东阳汽车 下元到建南汽车站公交车站 菏泽车到巨野汽车电话是多少 涟水到海安的汽车站时刻表查询 聊城到福州的汽车时刻表查询 乐昌汽车站时刻表 深圳龙华到江门汽车站 河源汽车到深圳 漯河到济南的汽车票多少钱 济南到潍坊汽车站时刻表 奉化汽车保养 奉化汽车保养 宁波到威海汽车时刻表查询 宁波到威海汽车时刻表查询 聊城到福州的汽车时刻表查询 海口到湛江西汽车 中山至义乌的汽车票价查询 下元到建南汽车站公交车站 菏泽车到巨野汽车电话是多少 济南到潍坊汽车站时刻表 莱芜至滕州汽车几小时 台州到杭州汽车要多久 江西吉安到宁波汽车票多少钱 从西安到临沂的汽车票