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"
生肖个性化邮票构思常州收购邮票金砖国家峰会邮票神州系列 邮票发行量六运会 邮票生肖个性化邮票构思邮票上的画有那些金砖国家峰会邮票邮票合家欢乐的寓意我的邮票数的3分之2花灯邮票1981生肖个性化邮票构思2011年恭贺新禧邮票花灯邮票1981金砖国家峰会邮票我的邮票数的3分之2中国邮政图标邮票六运会 邮票六运会 邮票牡丹全套邮票价格表十二生肖邮票 设计陈1995年桂花邮票价值邮票合家欢乐的寓意蝴蝶邮票单张价格三轮猪邮票价格是多少钱长城之冬邮票神州系列 邮票发行量1994年的邮票价格表牡丹全套邮票价格表16年拜年邮票发行日期远古人类探索,揭秘古老遥远的史前世界!你相信吗,每一个让你内心悸动过的她/他,都会在你心里埋下一粒种子,种子可能不会接着开花,也不会渐渐结果,但它确确实实就埋在那儿,它是存在着的,在等待着缘份重新来过的时候,破土而生,熠熠生辉。作为一个光头,还被作者写成了丑男,这是一种什么体验?敌人是什么风格重要吗?敌人的背景强大重要吗?敌人是什么品种重要吗?敌人的血统重要吗?该有的咱都不缺,小心谨慎的......莽就完了!很合理吧?父母年老得子 思想观念落后 孩子极力表现自己 却没有等到母亲的肯定 两个人就相隔两界 刚飞升就被打落凡间,要不要这么惨啊? 诶,大家都落入凡尘了啊?那没事了...赵风穿越秦朝成为了始皇帝的第七子,嬴子歌! 原以为远离咸阳便能躲避灾祸,但赵高却找上门,好在系统如愿开启。 【神选一:接受始皇召令,卸下兵权,立即启程返回咸阳。】 【神选二:拒接始皇召令,立刻起兵,自立为王!】 【神选三:接受始皇召令,立刻回都,向始皇索要太子位!】 面对选择,嬴子歌选择了去向嬴政要太子之位。 至此,暴揍胡亥、疯斩徐福、莽破匈奴、凶伏百越..... 蒙恬:报始皇帝陛下,太子殿下率兵诛杀了匈奴二十万。 嬴政:...... 章邯:报始皇帝陛下,太子殿下已经诛杀了六国叛徒,这是刘邦与项羽的人头。 嬴政:...... 变成鬼后,我才发现有一只无形的收推动着整个世界天呐!一招大败鸿钧老祖!与大道大战九天九夜未分胜负的神秘人,竟然只是那少年的一道分身!   林凡穿越后荒古时代,天地灵力匮乏,身为五行霸体的他,竟然被人夺舍本源,沦为将死废人。   好在万念俱灰之际,他继承了帝尊传承意志。   从此林凡虽为一介凡体,欲可逆天崛起,纵横八荒,九天十地无敌手!   十万分身为我修炼,修为一日万里。   神通秘术晦涩难懂,我瞬间透彻!   天骄圣子,我一指可灭!   大帝古皇,覆手镇压!   洪荒大道,一念代之! 结束了吗? 从孤儿院出来在外漂泊十几年,却拒绝少年的请求离开了世界。 哈哈,不甘心, 如果上天再给我次机会, 我一定要好好活下去。 一个好汉三个帮, 司马龙飞是一个走路都费劲的大胖子,遇见命中贵人龙飞而破茧 成蝶,两个少年嘻笑江湖,指点天下。
Re:我与妹妹们的冒险关 在小说世界里穿行 网游修仙记 蛟龙问道 梦尽星河 洪荒:苟到无敌再出关 逃避世俗带着小丽回宋朝 战你!七成把握 突围:阿贼克深一生之敌 我真的只想苟着 明诀尊 末世之神级暗影系统 铠甲勇士之宇宙危机 寞路血郎 一剑凌尘西边来 神奇的杰克 新化道有情 乱世帝都 风云宝剑录 乾坤阴阳录 常州收购邮票 我的邮票数的3分之2 中国邮政图标邮票 六运会 邮票 常州收购邮票 94年邮票最贵的 关于人的邮票 和谐铁路邮票大版 94年邮票最贵的 2011年恭贺新禧邮票 邮票狗手绘简单 邮票狗手绘简单 蝴蝶邮票单张价格 我的邮票数的3分之2 生肖个性化邮票构思 三轮猪邮票价格是多少钱 八路军旧址纪念馆邮票 长城之冬邮票 红色精神邮票图片大全集 生肖个性化邮票构思 2002年牛邮票 金砖国家峰会邮票 红色精神邮票图片大全集 1995年桂花邮票价值 和谐铁路邮票大版 牛第一组邮票 长城之冬邮票 红色精神邮票图片大全集 十二生肖邮票 设计陈 长城之冬邮票 六运会 邮票 2002年牛邮票 神州系列 邮票发行量 生肖个性化邮票构思 蝴蝶邮票单张价格 三轮猪邮票价格是多少钱 蛇年邮票大小本票的区别 关于人的邮票 蝴蝶邮票单张价格 蛇年邮票大小本票的区别 三轮猪邮票价格是多少钱 1980年猴票仿制邮票 牡丹全套邮票价格表 八路军旧址纪念馆邮票 花灯邮票1981 2002年牛邮票 邮票狗手绘简单 三轮猪邮票价格是多少钱 牛第一组邮票 邮票上的画有那些 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 滇楚黔秦 傲世,修罗神 灵气世界之起始篇 幸运的灵魂 观世笔 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星游戏官网 2002年牛邮票 花灯邮票1981 国庆大阅兵邮票价格 邮票狗手绘简单 常州收购邮票 2002年牛邮票 蛇年邮票大小本票的区别 生肖个性化邮票构思 16年拜年邮票发行日期 金砖国家峰会邮票 三轮猪邮票价格是多少钱 2011年恭贺新禧邮票 六运会 邮票 94年邮票最贵的 花灯邮票1981 关于人的邮票 邮票狗手绘简单 八路军旧址纪念馆邮票 我的邮票数的3分之2 牡丹全套邮票价格表 和谐铁路邮票大版 邮票狗手绘简单 2011年恭贺新禧邮票 和谐铁路邮票大版 长城之冬邮票 1980年猴票仿制邮票 邮票上的画有那些 常州收购邮票 中国邮政图标邮票 三轮猪邮票价格是多少钱