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"
郯城到胶州北的火车荣城到烟台南火车海口市到贵阳火车票四川到枣庄火车站怎么走青海厦门火车票多少钱郑州回焦作火车时刻表长春到太平川火车票海口市到贵阳火车票平昌火车站到汽车站洛阳一长沙火车票查询系统长沙到上海卧铺火车票查询 百度郯城到胶州北的火车新疆叶城火车站丹东到长白山有火车吗海口市到贵阳火车票洛阳一长沙火车票查询系统邹城到沈阳北的火车卧济南到银川硬卧火车票济南到银川硬卧火车票小孩怎么坐动车火车票杭州到四川乐山火车站怎么走济南到银川硬卧火车票平昌火车站到汽车站满洲里至哈市火车站时刻表青海厦门火车票多少钱小金口火车站时间表四川到枣庄火车站怎么走满洲里至哈市火车站时刻表绵阳到武当山的火车站新疆叶城火车站 当你打开这幅历史的画卷,发现自己站在某个历史节点上回顾过去时你会看到: 一个伟大的人,一代伟大的人,无数代伟大或平凡的人,构筑了这个伟大的龙魂世代。 光明会驱散黑暗,希望会取代绝望,历史的韵律给人以跌宕起伏之感,抬起头向前看,见证一个伟大的精忠世代,聆听着历史的韵律 颓废的陆回穿越到20年前的初中,重拾激情。在他奋斗的过程中,历史也悄然改变。陆回不仅成就了一番事业,也获得了众多芳心。欲择一方安宁,奈何世事无常,纷争不断,谁可主宰浮沉,换得一世太平 少年李苏牧,自北地持剑而出。 为寻身世之谜,一人一剑,乱北荒,踏北洲,横渡冥海;闯东洲,撼东荒,决战天幕山。【无女主】、【剧情轻松】、【无系统】、【元素丰富】。 沈湛穿越到了蓝图集团开发的【剑魂】融合世界,成了圣罗娜王国的二王子霍德·泰恩。 距离全球降临时间还有10天。 昼夜颠离,他发现自己视线变得惊人的好用。 赤瞳银发的龙语者,又飒又美骑在巨龙的龙背上。 西境繁荣宏伟的圣城凛冬之傲,正在举行年度盛大的王国庆典。 以及,凭借一己之力,就敢迎击教会仲裁武士,纵使千军也难以招架的魔女超凡者。 最主要的是,沈湛成了“剑魂”世界,最先降临的领主之一。 是选择继续种田,还是对外发动战争,扩张领土?叶轩重生到高考一个月前 为了不让自己这个渣男伤害她的叶轩决定和她保持距离。 趁着这时候慕容雪没喜欢自己 叶轩准备透露点高考题目让她稳上青华 而自己去临安到时候天南地北,确没想到高考后看到她的录取通知书傻了眼错的不是我,而是这个世界! 那就以不被世间所理解的雷霆,去击碎这不理解我的世界吧! 直到——我停止心跳为止! 啪! 醒木一拍,道的是江湖风风雨雨人情世故,道的是少年鲜衣怒马快意恩仇。 道的是将军醉卧沙场处之泰然,道的是侠客借酒消愁一情难断。 道的更是那听书人听到深处意犹未尽,却只能听见一句: “欲知后事如何,且听我下回分说!” "三阴绝脉"者,史书所载;凡患此症者非但终生不能修武,并且几乎无一人能侥幸活过十三岁。命运关上所有的幸运之门,却开了一扇窗,令其在绝境中峰回路转,当其踏着尸山血海攀上巅峰之时,骇然发现一个惊天之秘。暮然回首,惊觉自己脚下的这片世界幌若恒河之沙粒,渺若微尘。何去何从……十三年前,李致在城郊梨花树下捡到一只垂死白狐。 十三年后,他开始被一个漂亮温婉的落难小姐倒追。 月夜之下战幕拉开。 李致翻手间剑光纵横雷霆天落,“我家夫人温柔贤惠娇贵可人,知冷热擅烹食……” 姜璃弹指间邪魔俯首山河崩坏,“我家相公谦谦君子文弱书生,温逊有礼好脾气……” 反派“……”
只为一个承诺 零充为王 娱乐:在封杀边缘疯狂试探 念凡纪元 铁血狂徒之呆妹淑怡是我妻 寒武纪元突变 逐山河 从三国开始修仙 洪荒再启 剑道狂人 凤鸣桂花香 饿狼传说之灭世狼皇 暗冬计划 :忆 都市逍遥医圣 斩神灭仙传 征城 大罗之上 游戏规则制造 一壶酒,浮世三千 庆安到浩良河火车 南宁至义乌的火车 邹城到沈阳北的火车卧 济南到银川硬卧火车票 庆安到浩良河火车 满周里到大连火车 蚌到新疆火车票价格 火车z字头k字头哪个快 小金口火车站时间表 新疆叶城火车站 平昌火车站到汽车站 长春至九台几点有火车 图们至延吉火车时刻表查询 洛阳一长沙火车票查询系统 郑州回焦作火车时刻表 青海厦门火车票多少钱 蚌到新疆火车票价格 小金口火车站时间表 杭州到四川乐山火车站怎么走 郯城到胶州北的火车 南宁至义乌的火车 海口市到贵阳火车票 荣城到烟台南火车 丹东到长白山有火车吗 洛阳一长沙火车票查询系统 图们至延吉火车时刻表查询 小金口火车站时间表 荣城到烟台南火车 杭州到四川乐山火车站怎么走 小金口火车站时间表 青海厦门火车票多少钱 南宁至义乌的火车 海拉尔到普兰店火车时刻表查询 郯城到胶州北的火车 满洲里至哈市火车站时刻表 青海厦门火车票多少钱 海拉尔到普兰店火车时刻表查询 邹城到沈阳北的火车卧 图们至延吉火车时刻表查询 海口市到贵阳火车票 四川到枣庄火车站怎么走 绍兴一张家界的火车票多少钱 小孩怎么坐动车火车票 长春至九台几点有火车 丹东到长白山有火车吗 南宁至义乌的火车 长春至九台几点有火车 四川到枣庄火车站怎么走 绵阳到武当山的火车站 长春到太平川火车票 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 大秦:这捕快能处,有事他真上! 弑爱如归 辰世尊 再无烦恼 柒夜百物语 快连下载 亚星游戏官网 亚星官网 快连下载 亚星管理平台 满洲里至哈市火车站时刻表 郯城到胶州北的火车 绍兴一张家界的火车票多少钱 长春至九台几点有火车 郑州回焦作火车时刻表 扬州通往上海的火车票 青海厦门火车票多少钱 杭州到南宁的火车时间 火车z字头k字头哪个快 图们至延吉火车时刻表查询 图们至延吉火车时刻表查询 扬州通往上海的火车票 扬州通往上海的火车票 洛阳一长沙火车票查询系统 平昌火车站到汽车站 长春到太平川火车票 满洲里至哈市火车站时刻表 庆安到浩良河火车 四川到枣庄火车站怎么走 蚌到新疆火车票价格 小孩怎么坐动车火车票 青海厦门火车票多少钱 满洲里至哈市火车站时刻表 火车z字头k字头哪个快 海口市到贵阳火车票 满洲里至哈市火车站时刻表 长春至九台几点有火车 新疆叶城火车站 小孩怎么坐动车火车票 满周里到大连火车