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"
临沂到攀枝花火车时刻表查询系统d2697火车临沂到攀枝花火车时刻表查询系统南京到山东沂水火车山市至哈尔滨火车茶陵南到株洲的火车票有重庆至揭阳的火车吗临沂到攀枝花火车时刻表查询系统常熟到上海火车站怎么走安阳东火车站时刻表南昌西到j宿松的火车票临沂到攀枝花火车时刻表查询系统深圳至赤壁火车票六安到万源火车时刻表新县火车站扩建计划安阳东火车站时刻表淡水到东菀火车站大客北京能收到的火车频率北京能收到的火车频率绵阳到新疆火车路线合川一重庆火车票北京能收到的火车频率常熟到上海火车站怎么走楚雄至成都的火车票山市至哈尔滨火车五大连池市火车票代售南京到山东沂水火车楚雄至成都的火车票绵阳到新疆火车路线深圳至赤壁火车票平平无奇的少年龙杰在一次偶然额机会得到了一位大能的功法九转真经,本以为可以走上巅峰的他,不知道自己的好友也是来找这件东西的,最终二人反目成仇。最后心里的梦魇使得他失去了理智,选择了宁可毁掉也不让步,最终了结了自己的今身。再次醒来之时,他已经在九转真经内部,经过一系列的交流之后,他最终重生在一个充满谜团的少年身上,重新认识了这片大陆的一切。新的名字,新的旅途,新的开始,战天道,逆轮回。云游四海博览群书的少年误入仙魔界成为大佬,最后封神宇宙成为了他的一部分入狱五年,再回都市。 叶昭只得感叹世事无常。 前脚遭受前女友背叛,后脚江氏大小姐主动追求。 大小姐的脾气不好怎么办?爷乐意,宠着! 兄弟们喜欢搞事情怎么办?爷惯得,忍着! 左手悬壶救世,右手银针杀人,左右逢源,天下无双!本文主人公文春水,是个高考落榜的农村青年。本文主要写了文春水坎坷的人生,和他缠绵悱恻的罗曼史。他多才多艺,文静儒雅,一表人才。他为人正直善良,但命运坎坷,爱情多磨难……广袤3的玛法大陆天空出现异变,古老的遗迹和禁地随之发生躁动,神秘的天选者降临,这次会有什么不同吗?这次会改变界域战场人族和魔族的战争吗?(纪念那逝去的兄弟,纪念那些年的燃情岁月。)出入青冥非我愿! 人间沧桑数百年! 修仙路上独尊我! 万界天仙亦低眉! 一朝穿越,前路茫茫。 百年修行,方悟真道。 仙路漫漫,为我成仙!一个强盛的王朝,在烈焰中轰然倒塌。覆巢之下,人们挣扎在未尽的余灰中。许多人扛起了复国的渴望。可是,汹汹而来的鬼蜮伎俩,却将乱局搅动得愈加波诡云谲。好在,大智大勇者的神机妙算,最终冲破了鬼魅的阴霾。然而,一桩被掩藏了数十年的王朝秘事,却始终裹挟在迷雾之中,如今,它更是幻化成一张正缓缓地张开的血盆大口,誓要将这破碎的王朝一口吞下。 时代无情,岁月流逝。想要成为天地间最强大的存在需,勿忘初心,面对世间种种困难,不惧因果,敢于尝试,学会放弃。资深外科医生林陨,莫名穿越到九州大陆的玄月宗,成为了最被人看不起的一名上门赘婿,同时也拥有了一位美若天仙的宗主妻子。 幸得药神系统,无限速成神品丹药,修得上古肉身成圣之法。从此扭转悲惨命运,脱胎换骨! 阴谋毒害、冷眼嘲笑……一切都将成为过去。 纵横万古帝之道,我自剑来谁言轻? 哪怕是当赘婿,他也要当一名最强最狠的赘婿!林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!
麻神邵公子 月下祈光者 九鸣山外听仙道 我的世界之颠倒模组 秘法:从入门到贤者 天域牢笼 镇国神婿,重生老婆要杀我 天灵星海 魔帝归来1 十二城池 铭道录 沐雪情缘 西游灵明鸦 最强爱的系统 暗室:异度空间 符仙传人在都师 大明:重开一万次,开局吸功大法 大夏之江湖风云 厄祖之灵 穿越后死宅被迫震惊全世界 八仙捅到赤峰火车时刻 昆明地铁时刻 火车南站 淡水到东菀火车站大客 山市至哈尔滨火车 八仙捅到赤峰火车时刻 拉萨飞新疆火车 提前网上买火车票技巧 上海到阜新南火车票 五大连池市火车票代售 太原长治火车票 常熟到上海火车站怎么走 赣州去武汉火车 火车时刻表查询霍州到太原 昆明地铁时刻 火车南站 茶陵南到株洲的火车票 山市至哈尔滨火车 提前网上买火车票技巧 五大连池市火车票代售 长沙火车站不让进站 临沂到攀枝花火车时刻表查询系统 昆明地铁时刻 火车南站 新县火车站扩建计划 d2697火车 六安到万源火车时刻表 安阳东火车站时刻表 火车时刻表查询霍州到太原 五大连池市火车票代售 d2697火车 长沙火车站不让进站 五大连池市火车票代售 山市至哈尔滨火车 昆明地铁时刻 火车南站 盘锦至哈尔滨北站火车 茶陵南到株洲的火车票 楚雄至成都的火车票 山市至哈尔滨火车 盘锦至哈尔滨北站火车 淡水到东菀火车站大客 火车时刻表查询霍州到太原 新县火车站扩建计划 南京到山东沂水火车 太原长治火车票 永州至鹤壁火车 提前网上买火车票技巧 六安到万源火车时刻表 昆明地铁时刻 火车南站 赣州去武汉火车 南京到山东沂水火车 火车时刻表查询霍州到太原 有重庆至揭阳的火车吗 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 大结局了才发现我是穿越的 非主流战神 东山十狼 阿达卡之令 校园学霸风云之路 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 常熟到上海火车站怎么走 拉萨飞新疆火车 淡水到东菀火车站大客 临沂到攀枝花火车时刻表查询系统 d2697火车 南昌西到j宿松的火车票 南昌西到j宿松的火车票 拉萨飞新疆火车 拉萨飞新疆火车 长沙火车站不让进站 茶陵南到株洲的火车票 楚雄至成都的火车票 六安到万源火车时刻表 太原长治火车票 d2697火车 绵阳到新疆火车路线 安阳东火车站时刻表 五大连池市火车票代售 有重庆至揭阳的火车吗 d2697火车 长沙火车站不让进站 六安到万源火车时刻表 六安到万源火车时刻表 五大连池市火车票代售 拉萨飞新疆火车 合川一重庆火车票 长沙火车站不让进站 楚雄至成都的火车票 绵阳到新疆火车路线 盘锦至哈尔滨北站火车