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"
图片少女动漫图片大全可爱可爱卡通鸭子头像图片大全可爱小清新纹身头像高清头像大全图片大全图片大全普通男生系列图片大全图片大全图片欣赏学生动漫少女图片大全图片大全图片大全图片少女动漫图片大全可爱彩色圆形棒棒糖图片大全图片大全图片大全图片小清新纹身头像高清头像大全图片大全图片大全加油女孩子图片大全集小学生玩飞车图片大全图片大全图片大全小手指图片大全唯美图片大全小清新纹身头像高清头像大全图片大全图片大全不想发照片的表情图片大全图片大全图片大全图片大全雪男的情侣图片唯美图片大全瓶子里的女孩的图片大全图片大全小学生玩飞车图片大全图片大全图片大全欢迎老师的qq图片大全学校日常图片大全图片学校日常图片大全图片炫舞时尚大师的图片大全光头强全部图片大全集学校日常图片大全图片加油女孩子图片大全集女生纹身图大全图片大全图片大全图片学生动漫少女图片大全图片大全图片大全女生头像文字小清新图片大全可爱的情侣动画头像男生头像图片大全可爱图片大全图片女生纹身图大全图片大全图片大全图片炫舞时尚大师的图片大全雪男的情侣图片唯美图片大全穿越平行世界,参加选秀综艺,商献毫无意外成为偶像。 粉丝:明明可以靠脸吃饭,却偏偏靠才华,他重新定义了偶像! 商献:我不想做偶像啦,抄歌没有一点挑战性,想尝试去演戏! “人太帅,演什么都画风突兀,还是专心唱歌吧!” “这垃圾演技,安心当个偶像吧,演戏不适合你!” “演的什么鬼!差评!发首新歌我们才能原谅你!” ———— 多年后,当商献入选《时代周刊》年度风云人物,人们才恍然惊觉,这个偶像并不简单…… 年度风云人物评语:他创造了一个时代,在各种意义上!叶鑫是一名普通高中生,某天发现自己被惊悚副本选中。   副本只有4.3%存活率。   凉凉!无助!   叶鑫绝望时觉醒了人鬼皇系统:他能看破鬼怪生前!他能看见好感度!他还能使用鬼怪的武器!   从此以后,骚鬼如风,常伴吾身。神明与人同存的世界,人类反抗神明的故事全民都有武魂,唯独我没有? 穿越来到武魂大陆,叶俊遭遇开幕雷击。 不过好在觉醒好人系统,只要完成善事,便可获得武道点提升功法。 嗯? 没有武魂,功法无法提升? 没关系,我练的是大陆上古神文功法,不需要武魂。 啥? 上古神文早就没人认识,我不可能修炼? 叶俊疑惑的掏出本《降龙十八掌》,这不就是汉字嘛,小学生都认识。 …… 我是贾不易,真的不容易,好不容易读完大学找到高薪工作,却离奇的穿越了,穿越还到了个寒门,家里面就一个老妈,连余粮也没有了,没有经商头脑的贾不易,要怎样养活穷酸的家庭?由于我兄弟孟强的死,我走上了侦探之路,更是接触了很多喜气股改的事情,拐卖儿童、情杀仇杀,总结出了一条经验,不要挑战人性2002年的某一天,陈雨后突然接到了一个任务,来自华夏官方的任务。这为婷婷写的一些随笔,还望大家喜欢他经受了一次次灾难险情的磨砺,意外修成了一些神奇的本领,却不知由来。他如同脱胎换骨一般,斩妖除害,从一个普通人成为功高盖世的战神。末世时代 隔离天道与银河 与地争与天齐的时代,在银河系早已经不负存在 时代一晃已然过去一千余年,天地灵气全失,最后一批修士,魔族,妖族举世界之力建方舟逃亡银河天谴之外,欲寻一线生机,自那之后世界中再无修仙者
不装了,我就是宁采臣! 剑入仙道 温岭灵异事件 大明:败家?这玩意我会啊 大玄印 奥特胶囊系统 奇峰天邑 天御族1统筹 无人生还之迷雾森林 去地府做大佬 苍空冰城 末日生存之我的机器人军团 绝罪 这个捕快太行了 末世之军团帝国复兴 我是魏征,西游幕后的小卒 血色教导旅 夜灭使者 我的师傅茅十八 爱至深!爱至重 可爱萌女图片卡通图片大全可爱 小熊小表情图片大全 欢迎老师的qq图片大全 学生动漫少女图片大全图片大全图片大全 可爱萌女图片卡通图片大全可爱 女生纹身图大全图片大全图片 欢迎老师的qq图片大全 全球最漂亮男宝宝图片大全集 女生头像文字小清新图片大全 时尚婚纱手绘大全图片大全图片 加油女孩子图片大全集 可爱公主免图片大全 带字欧美复古文艺图片大全 小熊小表情图片大全 图片少女动漫图片大全可爱 学生动漫少女图片大全图片大全图片大全 可爱动画女孩图片头像女生图片大全可爱图片大全图片大全 女生头像文字小清新图片大全 广东表情包图片大全集 小清新纹身头像高清头像大全图片大全图片大全 小熊小表情图片大全 瓶子里的女孩的图片大全图片大全 可爱卡通鸭子头像图片大全可爱 雪男的情侣图片唯美图片大全 小学生玩飞车图片大全图片大全图片大全 带字欧美复古文艺图片大全 女生头像文字小清新图片大全 可爱卡通鸭子头像图片大全可爱 广东表情包图片大全集 女生头像文字小清新图片大全 学生动漫少女图片大全图片大全图片大全 小手指图片大全唯美图片大全 普通男生系列图片大全图片大全图片欣赏 图片少女动漫图片大全可爱 女生纹身图大全图片大全图片大全图片 学生动漫少女图片大全图片大全图片大全 普通男生系列图片大全图片大全图片欣赏 欢迎老师的qq图片大全 带字欧美复古文艺图片大全 瓶子里的女孩的图片大全图片大全 可爱的情侣动画头像男生头像图片大全可爱图片大全图片 时尚婚纱手绘大全图片大全图片 情侣头像男女黑白背影图片大全集 可爱动画女孩图片头像女生图片大全可爱图片大全图片大全 雪男的情侣图片唯美图片大全 小熊小表情图片大全 可爱公主免图片大全 可爱的情侣动画头像男生头像图片大全可爱图片大全图片 带字欧美复古文艺图片大全 彩色圆形棒棒糖图片大全图片大全图片大全图片 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 霓裳剑劫 天龙秘史 情院深深 大秦:开局欠始皇百万黄金 重生之修炼奇才 欧博游戏官网 百家乐官网 亚星管理平台 欧博游戏官网 亚星管理平台 带字欧美复古文艺图片大全 女生纹身图大全图片大全图片 小手指图片大全唯美图片大全 女生纹身图大全图片大全图片大全图片 情侣头像男女黑白背影图片大全集 雪男的情侣图片唯美图片大全 图片少女动漫图片大全可爱 加油女孩子图片大全集 瓶子里的女孩的图片大全图片大全 加油女孩子图片大全集 不想发照片的表情图片大全图片大全图片大全图片大全 光头强全部图片大全集 可爱的情侣动画头像男生头像图片大全可爱图片大全图片 可爱萌女图片卡通图片大全可爱 学生动漫少女图片大全图片大全图片大全 不想发照片的表情图片大全图片大全图片大全图片大全 雪男的情侣图片唯美图片大全 学生动漫少女图片大全图片大全图片大全 可爱公主免图片大全 学校日常图片大全图片 小熊小表情图片大全 可爱动画女孩图片头像女生图片大全可爱图片大全图片大全 小学生玩飞车图片大全图片大全图片大全 情侣头像男女黑白背影图片大全集 时尚婚纱手绘大全图片大全图片 情侣头像男女黑白背影图片大全集 可爱萌女图片卡通图片大全可爱 图片少女动漫图片大全可爱 彩色唯美动漫图片大全 普通男生系列图片大全图片大全图片欣赏