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"
高中作文怎样命题关于成绩和教育的作文关于生命的作文记叙文关于信仰为话题的作文素材关于最美的遇见的作文高中作文怎样命题关于遇见自己作文800字关于生命的作文记叙文关于同学获奖的作文关于旅游作文的题目关于小学襄阳的作文关于生命的作文记叙文关于拼搏的高中作文关于小学襄阳的作文关于时间的作文题目。关于旅游作文的题目关于作文春天的教案高中语文作文如何开头关于最美的遇见的作文高中英语作文邮件格式顾全大局的作文题目高中语文作文如何开头关于同学获奖的作文郭川作文素材超越自我关于语文的作文700字关于赛车的作文350字关于语文的作文700字郭川任务驱动作文事例高中英语作文邮件格式哈尔滨作文班哪里好滚滚历史俱往去,浪花淘尽英雄。他,身经百战,马革裹尸,战死沙场。他,枪神之子,竟然如此处境,难怪在历史中不留点墨。暮然醒来,他已变成了他,脑袋已如同一壶浆糊,所有的知识已凌乱残缺。她,貌可倾城的名校校花,不可思议竟成一人之下万人之上的圣女。他,京城纨绔,名门之后,因她而成为江东陆家之后。三套召唤系统降世,大地为之颤抖!枪神之子是否会有不一样的人生,是否会在历史长河中留下些许痕迹?黄巾起义是否会因她而有所改变?江东是否又会因他有不一样的局面?且看三个人三套系统会演绎一场怎样的画卷······且看历史群雄在乱世之中的演义······父亲车祸,为了挣钱的林飞,决定就任高二七班班主任。 正当他为这一年气走五个班主任的班级而惆怅时,系统到来。 纪律周卡,提升全班上课纪律! 疯狂抽奖,提升全班学习能力! 毕业典礼之上,看着全班同学不是保送就是状元,林飞无奈耸肩。 “我也不想的啊,我只是想转正涨工资,他们变天才,只是顺便的……”张启,一名高二的学生。母亲在一年意外去世了,父亲伤心过度之后被查出有精神疾病每天卧床不起。在很多地方都试过治疗父亲的病,却没有多大的效果。同时也欠下了许多债务。但张启并没有放弃父亲,周一到周五上课,周末有空就做做兼职,用来补贴家用,却远远不够。某一天,债主找上门来。知道张启没能力归还,便将他绑到小黑屋,准备咔腰子。但过了三天,却什么也没发生。于是张启变逃了出来,却发现大街上没有一个人。只见漆黑的夜空上。六道红光划过,从此张启的人生发生了巨大的改变。那些所谓的神灵,在外星人侵略我们家园的时候,他们在哪儿?在我们的亲朋好友,我们的战士在战场上抛头颅,洒热血的时候,他们又在哪里?现在他们高调的出现在我们的世界,什么狗屁人类存亡调查,人类的命运从来都是掌握在我们人类手中,就让我来守护这饱受摧残的世界,就让我岳龙跨越这天堑,神挡。。。我便杀神!武林绝学重出江湖,上到大门派,下到小刀客,都为之痴狂,且看破落门阀后人宁启如何快意江湖~双月同天,天机无限。 且看今夜,时空错现。 小人物来到双月大陆,开启了一段特别之旅,奇遇人生,红颜相随,在这个实力为尊,强者如云的世界,看他如何该生存下去。夏炙一觉醒来发现自己穿越到了平行世界。 这里的人竟然将游戏定位第九艺术,玩家为了玩到一款好玩的游戏出多少钱买都愿意,游戏设计师成为最热门的行业。 夏炙狂喜,因为上个世界的无数经典游戏,这里的人竟然都没玩过。 于是一名超级天才游戏设计师诞生了。 美女导师:“我不配做陈欢的导师,他的‘马里奥’足够让我学一辈子。” 游戏测评员:“‘塞尔达’是足以改变世界的游戏,陈欢领先了业界一千年。” 攻略大佬:“扶我起来,我要和苇名一心拼刀,别拦我我还能送!” 全球玩家:“夏炙快点出新游戏,多少钱我们都买。” 其他游戏设计师:“年度游戏还选什么,直接给夏炙算了。” 夏炙本人:“别急别急,在做了(新建文件夹)。”这是一部“男主 与女主不在一起的,是与男二女主 在一起 男主与女三的故事”。第一个求生副本:生化危机! 挑战者:四人副本! 奖励:按贡献度可获得转世重生,情报窃听,肌肉强化,幻术等奖励! 惩罚:求生副本中死去,随机剥夺自身能力,甚至是……生命! 一个声音出现在整个世界的云顶之上,犹如神明。 “现在……游戏开始!”喜欢这部作品的读者可以加QQ群:594509232。一起与作者和读者讨论剧情哦~ 黑暗降临世间,母亲意念魔女不敌四人的战力,致男主易恒与女主易贝儿与母亲离散。 转眼十年过去,他们将要面对的是全新的十二位天赋异禀的星座使教徒。 为了拯救妈妈和世界,他们做出着艰难的决定:改变! 异世界的故事,便是从这里开始的。。。。。。
仙垂死,我的妖父不容我 网游:系统送我神秘技能! 幽灵兵王在都市 我摊牌了 具象者们 星辰破千里 末日降临:我带着全族奔小康 异世界众横 洗妖录 综武:我在大宋当皇子 破宙之主 重生:我带着娇俏校花去修仙 一天一篇观后感 青春与热爱 乱世货郎 剑霞 立校高中 诡异调查录 选择罢工的系统和宿主 长安斩妖录 关于遇见自己作文800字 高中作文怎样命题 关于小学襄阳的作文 郭川作文素材超越自我 哈尔滨作文班哪里好 狗狗英语作文高中 关于小学襄阳的作文 关于时间的作文题目。 关于作文春天的教案 关于信仰为话题的作文素材 关于春天自信的作文 关于春天自信的作文 关于克隆人作文500字 高中作文怎样命题 高中作文怎样命题 关于最美的遇见的作文 寒假趣事四年级作文 关于你关爱他人的作文 关于长征的作文200字 关于生命的作文记叙文 关于春天自信的作文 关于生命的作文记叙文 关于长征的作文200字 高中语文作文如何开头 关于旅游作文的题目 高中英语作文格式范文 关于你关爱他人的作文 关于长征的作文200字 关于长征的作文200字 关于赛车的作文350字 关于最美的遇见的作文 关与写凉面的作文300字 关于信仰为话题的作文素材 高中作文怎样命题 郭川作文素材超越自我 关于语文的作文700字 关于信仰为话题的作文素材 狗狗英语作文高中 郭川作文素材超越自我 关于时间的作文题目。 关于语文的作文700字 关于母爱的作文题记的 高中英语作文邮件格式 寒假趣事四年级作文 关于小学襄阳的作文 关与写凉面的作文300字 关于克隆人作文500字 关于语文的作文700字 高中英语作文格式范文 关于作文春天的教案 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 论画饼,我是专业的 我有一座灵剑山 鏖战蓝天 末世:坏孩子军团 末世求生:我有千倍增幅 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 关于小学襄阳的作文 关于同学获奖的作文 高中英语作文格式范文 关于长征的作文200字 关于同学获奖的作文 关于信仰为话题的作文素材 顾全大局的作文题目 关于赛车的作文350字 关于生命的作文记叙文 关于赛车的作文350字 哈尔滨作文班哪里好 郭川作文素材超越自我 哈尔滨作文班哪里好 关与写凉面的作文300字 关于作文春天的教案 高中作文比赛写什么好处 寒假趣事四年级作文 高中作文比赛写什么好处 关与写凉面的作文300字 关于生命的作文记叙文 高中作文比赛写什么好处 哈尔滨作文班哪里好 关于生命的作文记叙文 关于语文的作文700字 关于母爱的作文题记的 关于语文的作文700字 关于赛车的作文350字 高中语文作文如何开头 关于你关爱他人的作文 关于克隆人作文500字