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"
永楠足浴电话开平投诉电话成都到资阳路线查询电话达拉特旗站电话是多少有信能打老挝电话卡永楠足浴电话的士的电话成都到资阳路线查询电话北京到泰安的动车时刻表查询电话二郎巴山车管所电话宝鸡汽车西站票查询电话成都到资阳路线查询电话成都 绍兴 火车北站电话号码宝鸡汽车西站票查询电话携程网怎样投诉电话二郎巴山车管所电话保定易县交警电话是多少潍坊到北京汽车电话是多少时间潍坊到北京汽车电话是多少时间沧州到沈阳的快递电话泰国卡拨打泰国电话潍坊到北京汽车电话是多少时间北京到泰安的动车时刻表查询电话上海到潍坊火车票查询电话有信能打老挝电话卡上海火车站旅客查询电话西安 315投诉电话上海到潍坊火车票查询电话沧州到沈阳的快递电话成都 绍兴 火车北站电话号码天陆之上,唯我独强! 少年陆轩,岐灵山中历经危险,机缘下得到一枚古老玉璧,等待他的将是......让我们记住那些不幸遇难的小人物吧方源穿越到异界,发现自己身处牢狱,即将命不久矣。 幸好有着伴随他穿越而来的玄幻模拟器,让方源能够将意识投入到模拟器世界中模拟人生,获得超凡力量。 武道世界、巫师世界、诡异世界、修仙世界... 在无数个画风迥异的模拟世界中,方源意识投射诸界,在诸世界中漫步、横行…… 叶墨带着记忆重生,来到了明朝,只是这里却和想象中不太一样。 在这里,有江湖 在这里,有权谋 在这里,有恩怨情仇 在这里一切的一切都将重新开始。在这崭新的大明中,且看叶墨如何书写自己的奋斗史。一位家境贫寒的少年,经历了常人难以想象的苦难,磨砻砥砺,奋发向上。好不容易华丽转身,完成了人生意义上的大逆袭,一时平步青云,风光无限! 这期间,少年也先后得到了好几位绮年玉貌少女的青睐,演绎出许许多多荡气回肠,缠绵悱恻的爱情故事。其中的情与理,是与非,仇恨与挚爱,痛苦与欢乐,人性与心魔,交互编织成一道道直逼心灵拷问的风景,让人热血沸腾又扼腕长叹!七年征战,封七珠王帅。 怎料老婆被关鸭圈,被人绑走还要割走肾脏,女儿下落不明,动我妻女,诛杀九族!观天行,识阴阳,纳五行,万化生乎身,守本性。虽历经万难亦不忘福泽一方。且观天珩烟雨,守己之心,从容而行。虽然南宫基的成长有点慢,但这些都是他必须有的经历,要不如何能在各种经历和磨难中成长,又如何超脱,各位看官请耐心与南宫少爷一起经历,让经历成为财富,成功就在不远的地方等着你。 少年苏渊经历三次凝丹失败,机缘巧合拜四圣兽之一的青龙为师,踏入武道之途,并且开启自身龙族和凤族血脉,从此天高海阔,前途无量。 探索秘境,结天骄,诛邪魔。杨辰一朝穿越,回到东汉末年,成为杨彪的侄儿,弘农杨家的下一代家主。 开局杨辰就觉醒了气运图录系统,只要迎娶美人或者收服名臣武将就能激活气运人物图录,就能获得专属人物奖励。 汉室的根已经腐朽,杨辰决定离开洛阳,前往并州发展。 之后,杨辰一路壮大势力,灭了南匈奴、鲜卑、乌桓。 一年后,杨辰带着麾下并州强军,一路杀回洛阳,一举成为天下最强军阀。校园里的生活永远都是无忧无虑那么美好的生活,在学校里你的一举一动都影响着以后的生活,学习好的自然能上个好大学,上个 好单位,能挣很多钱,学习不好的,可能都毕不了业,匆匆忙忙步入社会,糊里糊涂过完自己的一生。 但是在校园里的爱情和友谊却是永远的,没有复杂的社会关系,彼此最纯真的年纪,认识一帮纯真的兄弟,这是永远无法换取的财富。
最后一代茅山派传人 玄幻:我养的宠物都成神了 战国成名录 笔下之物 男主集中营:五个气运之子 幕尘 绝仙道灵 洪荒:开局通天偷看我日记,自废圣位 当代酒神 我家娘子毁天灭地 我的系统被世界截胡了 单身狗修仙 最终净土 亲情暴力 我,皮卡丘,女帝的咸鱼伴生兽 妄想命运夜 垂钓诸天万界 当红日临空 大风漫漫 窃盗诸天 理县孟屯河谷住宿电话 乌鲁木齐怡家丽景电话是多少 保定易县交警电话是多少 有信能打老挝电话卡 理县孟屯河谷住宿电话 北京出入境电话咨询 保定易县交警电话是多少 查询太原至徐州火车票时刻表查询电话 上海火车站旅客查询电话 徐州迪欧咖啡订餐电话 北京全聚德和平门电话 北京全聚德和平门电话 贵阳12306电话 乌鲁木齐怡家丽景电话是多少 永楠足浴电话 有信能打老挝电话卡 上海到宁波火车路线查询时刻表查询电话 上海火车站旅客查询电话 洞庭路第二大街快递的电话 成都到资阳路线查询电话 乌鲁木齐怡家丽景电话是多少 携程网怎样投诉电话 开平投诉电话 宝鸡汽车西站票查询电话 二郎巴山车管所电话 贵阳12306电话 上海火车站旅客查询电话 开平投诉电话 洞庭路第二大街快递的电话 上海火车站旅客查询电话 有信能打老挝电话卡 洛阳至潍坊高铁时刻表查询电话 达拉特旗站电话是多少 永楠足浴电话 上海到潍坊火车票查询电话 有信能打老挝电话卡 达拉特旗站电话是多少 保定易县交警电话是多少 贵阳12306电话 携程网怎样投诉电话 西安 315投诉电话 徐州迪欧咖啡订餐电话 上海到射阳的随车电话号码 上海到宁波火车路线查询时刻表查询电话 宝鸡汽车西站票查询电话 乌鲁木齐怡家丽景电话是多少 北京全聚德和平门电话 西安 315投诉电话 贵阳12306电话 的士的电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星游戏官网 元:师 老子就是反派! 主角系统多亿点不过分吧? 泰坦王国 恶魔契约引导的新生活 万利游戏官网 欧博官网 皇冠登3出租 万利游戏官网 快连下载 上海火车站旅客查询电话 开平投诉电话 潍坊到北京汽车电话是多少时间 理县孟屯河谷住宿电话 贵阳12306电话 西安 315投诉电话 贵阳12306电话 上海到宁波火车路线查询时刻表查询电话 上海到射阳的随车电话号码 保定易县交警电话是多少 查询太原至徐州火车票时刻表查询电话 北京全聚德和平门电话 携程网怎样投诉电话 泰国卡拨打泰国电话 携程网怎样投诉电话 查询太原至徐州火车票时刻表查询电话 西安 315投诉电话 携程网怎样投诉电话 保定易县交警电话是多少 西安 315投诉电话 宝鸡汽车西站票查询电话 的士的电话 宝鸡汽车西站票查询电话 有信能打老挝电话卡 乌鲁木齐怡家丽景电话是多少 贵阳12306电话 洞庭路第二大街快递的电话 沧州到沈阳的快递电话 徐州迪欧咖啡订餐电话 乌鲁木齐怡家丽景电话是多少