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"
黔江苏宁电器电话贵阳泉上餐厅招聘电话是多少钱一个月广州一台州汽车订票电话延庆龙海庄园 电话苏州北客运站地址电话是多少钱黔江苏宁电器电话西安咸阳飞机场电话广州一台州汽车订票电话石家庄航空售票电话阳光口腔电话蚌埠太熟悉餐厅 电话广州一台州汽车订票电话郑州到长治的火车大巴时刻表查询电话莱州烟台交运集团电话界沟到商丘跟车电话阳光口腔电话建水朝阳派出所电话长春库玛泰式spa电话长春库玛泰式spa电话铜陵到铜陵北高铁时刻表查询电话劳联车站电话长春库玛泰式spa电话石家庄航空售票电话广州电话6开头苏州北客运站地址电话是多少钱电话订票网上支付藁城公交电话广州电话6开头铜陵到铜陵北高铁时刻表查询电话郑州到长治的火车大巴时刻表查询电话黑暗君主利用强大的木马病毒控制了机器人,为了破坏黑暗君主的计划于是五位超人联合起来对付黑暗军团。五位超人得知荧光星有消除木马的方法于是他们前往荧光星。但是黑暗君主为了迟滞他们的计划于是派出黑暗五魔将前往荧光星阻止他们。一场光明和黑暗的战争又将展开!上古圣体天骄为弥补遗憾去除心魔步入轮回,不料轮回后毫无修道天资,不甘命运,为家族复仇,终踏上属于自己的道。 后重拾因果命运,阻止界外生灵侵犯六界,拯救六界生灵,立下无主之约,成无主之界。 童念承诺之前说的话,不再抛头露面,待在家里大门不出二门不迈,继续写侦探小说,保持当红女作家的地位。 后来,童念得知自己的父亲成为东署警局第二任局长,心里感到非常高兴。 童念借此机会,想把太叔劂介绍给自己的父亲认识,去了一家电影院,结果发生杀人事件。 《女侦探童念》系列小说的第二部!世界的争斗扭曲了形式 黑暗中的魔爪伸向大千世界 我,被选中的救世主,选择召唤最强战力:同班同学!玩游戏疯狂刷屏被系统硬是契约,好不容易安排了大半,偏偏天上掉下个屏幕把过去放了出来,系统你半路提升难度有没有搞错!什么?你自己也不知道?!无名古书落入杀手组织,不料竟将其满门被灭,唯一幸存的少年身藏古书,背负血海深仇,踏上复仇之路。与此同时北方三十六魔族蠢蠢欲动,意图南下,看少年又是如何迎魔而上,一路披荆斩棘,成神斩魔......此文集有散文、随笔、小说等多篇,内容丰富。其随笔纵谈人生悲欢苦辣,探讨生命及世界真谛,探幽发微,富于哲理,发人深思。其散文描摹天下至美,抒发真情挚感,很具审美感与感染力。特别需要指出的是,雪淞的文笔很具特色,优美、鲜活、细腻,轻松,令人看着很舒服、愉快。文集知识性也很丰富,作者博览群书,旁征博引,联通古今,使人在愉悦的阅读中获得很多知识。作者声明:喜欢本书的读者还可在本网站观赏作者长春雪淞的另几部作品:《无限青春无限爱》、《东方企业家》、《琵琶岛谋杀案》、《没有拆穿的谜底》、《少年维克之烦恼》、《蒋经国上海打虎》、都很好看。点作者的名字就可看到其它作品。【寂寞不谈爱,孤独不饮酒。】 女儿生日当天,我意外看到了妻子的手机,当谎言被揭穿的时候,我发现妻子真的很懂“生活。” 战场之上,他左冲右突,杀的敌军片甲不留。 铁鹞子,铁浮屠都不是他对手。 这,又是一场生存游戏。 胜者生,败者死。 穿越从来没有岁月静好, 只有适者生存。 且看他如何在这场残酷游戏中生存, 谁又是这游戏的幕后黑手。我的名字叫郭宗训,一天之前我还是二十一世纪的三好青年。 一觉醒来我来到了公元959年的7月26日的开封城。按照历史轨迹我父皇明天就要驾崩了。 之后我就即为皇帝了 然后被黄袍加身的赵大他们把江山给夺去了。 焯! 我要把这大宋扼杀在摇篮之中征伐契丹征伐各州节度使 起刀兵威震华夏 入朝治国还华夏一片安宁
恶魔之剑的诞生 玄冥榜 我本大明一赘婿 重生之地产风云 逆仙成魔传 维度之上 末日重生之前世今生 吾僵 三界无尘 阳春暮雪 内心的欲望 窥忆行道 至尊法师之龙的传人 破天易介 原神:我真不是魔神 救命!这药店不能待了! 仙鹤大人,爱上我 妖鬼退散:我来自英灵殿 我会踮起脚尖 武侠录传闻 依靠靓岛公司电话 稻城机场宾馆电话 建水朝阳派出所电话 苏州北客运站地址电话是多少钱 依靠靓岛公司电话 长沙开元大酒店电话是多少 建水朝阳派出所电话 北京帝凯乐电话 电话订票网上支付 万年码头电话 石家庄航空售票电话 自贡灯会联系电话 周洛大峡谷服务电话 稻城机场宾馆电话 黔江苏宁电器电话 苏州北客运站地址电话是多少钱 西安钟楼银泰电话 电话订票网上支付 商丘市酒店前台电话是多少 广州一台州汽车订票电话 稻城机场宾馆电话 界沟到商丘跟车电话 贵阳泉上餐厅招聘电话是多少钱一个月 莱州烟台交运集团电话 阳光口腔电话 周洛大峡谷服务电话 电话订票网上支付 贵阳泉上餐厅招聘电话是多少钱一个月 商丘市酒店前台电话是多少 电话订票网上支付 苏州北客运站地址电话是多少钱 蚌埠太熟悉餐厅 电话 延庆龙海庄园 电话 黔江苏宁电器电话 广州电话6开头 苏州北客运站地址电话是多少钱 延庆龙海庄园 电话 建水朝阳派出所电话 周洛大峡谷服务电话 界沟到商丘跟车电话 藁城公交电话 万年码头电话 北园路银座商场电话 西安钟楼银泰电话 莱州烟台交运集团电话 稻城机场宾馆电话 自贡灯会联系电话 藁城公交电话 周洛大峡谷服务电话 西安咸阳飞机场电话 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 末日基因兑换系统 异界兽医 随记空想 陨仙魔尊 一颗陨石给我的力量 葡京官网 欧博官网 亚星管理平台 葡京官网 皇冠登3出租 贵阳泉上餐厅招聘电话是多少钱一个月 稻城机场宾馆电话 稻城机场宾馆电话 苏州北客运站地址电话是多少钱 长春库玛泰式spa电话 北京帝凯乐电话 郑州到长治的火车大巴时刻表查询电话 自贡灯会联系电话 北园路银座商场电话 稻城机场宾馆电话 铜陵到铜陵北高铁时刻表查询电话 苏州北客运站地址电话是多少钱 长沙开元大酒店电话是多少 阳光口腔电话 广州一台州汽车订票电话 自贡灯会联系电话 西安钟楼银泰电话 万年码头电话 郑州到长治的火车大巴时刻表查询电话 蚌埠太熟悉餐厅 电话 阳光口腔电话 长春库玛泰式spa电话 建水朝阳派出所电话 商丘市酒店前台电话是多少 界沟到商丘跟车电话 蚌埠太熟悉餐厅 电话 周洛大峡谷服务电话 藁城公交电话 电话订票网上支付 阳光口腔电话