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"
招鸭电影盗墓秘术电影赌棍电影结局绿扁帽 电影电影两面睇风云决电影主题曲关于盗猎的电影赌棍电影结局美国电影盗火线剧情cg电影动画片董承瑞老电影招鸭电影贾晓晨的电影太空漫游电影赌棍电影结局cg电影动画片下课后电影版十字口理发店 电影十字口理发店 电影新郎不是我电影下载新城猎人 电影十字口理发店 电影美国电影盗火线剧情有关犯罪的电影电影两面睇朝韩特工电影绿扁帽 电影汪小茜的电影祝延平电影贾晓晨的电影 一个另类的足球天才,一群热血的足球人,一切从零开始,逐步成长,从弱小变得强大,从中国走向世界。 足球理想、足球智慧、足球商业、国家精神、民族气度,所有元素都在《影球者》中,既虚幻又真实,在中华民族伟大复兴的路上,谱写我们的足球传奇。 本小说献给为中国足球腾飞矢志不渝,默默奉献,勤奋耕耘的人们。一块骨,照亮成仙路。 一块碑,砸出无敌姿。 红尘争渡,借道成仙...... 御灵者,上古巨兽,兽人,人兽,异能者,素国武者,传说中的龙族,随着世界联赛的开始,背后的阴谋拉开了序幕……穿成一品镇国公府嫡子,谢勋以为从此金银花不尽,俏丫鬟环绕,袭爵,安安心心当纨绔。皇帝一道圣旨,他成了当朝红人,皇子拉拢,公主倒贴,却不知,危机就在眼前……我在妖界是条狗!远古的预言,灾厄的降临。光明的征程,一次又一次的奇幻经历。出生农村的我,小学出众,初中还行,高中普通,最后高考一个普通的211,不知为何,我回到了初三毕业的那一年……遇见了那个惊艳我今生的她《革命家》系列第一部。 阿楚是最普通不过的一名中专学生,所选汽修专业,身边围绕着一群狐朋狗友,原本普普通通的一年,准备把人生一了百了解决完安稳过日子,可是却迎来改变人生命运的机会。 阿楚等了十七年,终于等来了革命。虽然高杰米的年龄只有九岁,但是聪明伶俐。在经历案子的过程中,高杰米与犯人斗智斗勇,并且帮助四川警局抓住犯人,从此名扬四海。幽默穿越爽文,喜欢的朋友赶紧前来围观咯!首次在17K发表小说,还请大家多多支持!谢谢、谢谢、谢谢!(重要的事都要说三遍,呵呵!)
诸界仓皇 超凡教师 苦命浪子的复仇之路 从1997开始追凶 横行不霸道 秦始 极品透视小邪医 关于我成为了空这一档事 我谈着恋爱也吊打你们 无道圣人 玄幻:九生轮回 最后一只龙 我开高达砍真仙 身为杀手老师的职业素养 DC吃瓜兄妹 幻影毒魔 山狼 东厂恩仇记 中州造神记 朽谛 盗火线 电影 在线 末日邮差电影 下课后电影版 十字口理发店 电影 盗火线 电影 在线 镖行天下前传7(编外人选) 电影 岁月风云1(上海皇帝) 电影 明日记忆 电影 朝韩特工电影 贾晓晨的电影 美国电影盗火线剧情 黑暗终结者 电影 有关犯罪的电影 cg电影动画片 风云决电影主题曲 电影两面睇 岁月风云1(上海皇帝) 电影 朝韩特工电影 新城猎人 电影 招鸭电影 末日邮差电影 赌棍电影结局 盗墓秘术电影 太空漫游电影 cg电影动画片 有关犯罪的电影 朝韩特工电影 盗墓秘术电影 新城猎人 电影 朝韩特工电影 电影两面睇 末日邮差电影 电影天禁 招鸭电影 汪小茜的电影 电影两面睇 电影天禁 下课后电影版 有关犯罪的电影 电影天禁 电影两面睇 关于父母之爱的电影 新郎不是我电影下载 黑暗终结者 电影 太空漫游电影 末日邮差电影 美国电影盗火线剧情 绿扁帽 电影 祝延平电影 关于盗猎的电影 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星官网 风流毒公子 血染桃木 龀童晚乡 橘色年代 关于我穿越征服万族这件事 辰世尊 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 电影盗火线剧情 朝韩特工电影 明日记忆 电影 绿扁帽 电影 赌棍电影结局 下课后电影版 绿扁帽 电影 太空漫游电影 南方公园恶搞电影 太空漫游电影 有关犯罪的电影 末日邮差电影 美国电影盗火线剧情 新城猎人 电影 电影盗火线剧情 关于父母之爱的电影 招鸭电影 关于父母之爱的电影 电影两面睇 新郎不是我电影下载 有关犯罪的电影 cg电影动画片 祝延平电影 招鸭电影 末日邮差电影 赌棍电影结局 新城猎人 电影 绿扁帽 电影 新城猎人 电影 关于盗猎的电影