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"
写给好友的信英语作文熊猫的英语作文怎么写写姐姐的特点的作文写事英语小学作文写作文的几种写作类别写给好友的信英语作文写妈妈让我感动的作文写姐姐的特点的作文写森林作用的作文小学生看病人作文100字写春游的作文300作文写姐姐的特点的作文小学生的生活作文300字作文写春游的作文300作文写姐姐的特点的作文写描写名人的作文400字作文400字作文写同学友爱的作文400字写诚信的作文的开头和结尾写作文的几种写作类别写学霸的作文600字写树四季的作文600写诚信的作文的开头和结尾写森林作用的作文写自己喜欢的场景作文写一百字的植物作文写初中校园回忆的作文600字写一百字的植物作文写一编关于春天的作文300字写学霸的作文600字小制作橡皮泥作文50字林逍重生,这一世,他要成为十方至尊。 绝世的丹药随手炼制,罕见的异兽乖乖收服。 守护家人是他心愿,不断变强报仇雪耻是他的目标。 这是一个强者陨落的重生路,若触逆鳞,不管是何方神圣,定让你灰飞烟灭!内容提要:推荐新书《神魔霸体》http://www.17k.com/book/705692.html天地六界,远古鸿蒙。一个卑微的小人物毕凡,一步步修炼成长。闯魔域煞气冲天、战潜龙一鸣惊人、闯天下成就威名、夺宝库独占鳌头、入混沌翻云覆雨、踏六界唯吾独尊、斗鸿蒙逍遥至尊。动乾坤、踏六界、斗苍穹、破鸿蒙,诛仙逆天成就六道仙尊。爱恨情仇、兄弟义气、刀光血影,无穷无尽的宝物、灵兽、功法,尽在《六道仙尊》。喜欢的请加群:云霆飞书友群:177856368 YY频道ID:53771214 YY群:3209667大家点击作者笔名进去,记得‘崇拜下’、‘留脚印’、‘打酱油’,每天一个号都可以点击一次。谢谢!!推荐两本书《特工教师传奇》《重生之官路高升》一天晚上我的小女朋友想要我打电话给她讲故事,于是我便随口编纂了一个关于熊猫的故事,可没曾想第二天早上我竟变成了一只熊猫!!!在这之后我作为一只熊猫称霸世界的传奇故事就开始了......在这个世界,有一片大陆名叫普光大陆。 天地间充斥着命之气,每个生物都会觉醒命纹,命纹,是每个生物的强大的基础。 少年巧遇机缘,首次觉醒前所未有的三属性先天灵智命纹!肩负命之兽口中相言的“救世主”之责任。 与命纹配合,共创强大命技;闯重装之谷,打造出成长形神兵。 ...... 何虑万世,我终当隆逢,吾辈同体,我辈同源,自有异理,故吾终当一战,此亦吾身为宿命。 双子临世,自命初之源;续报重求,为如初!秦恒生?害人害己的家伙。   为什么上了年纪的人都喜欢坐在那儿发呆?他!也向往光明。黑暗的尽头那不存在的光明。本书又名【大明:我人皇的身份被女帝曝光】。 绝世凶人朱厌,穿越到历史爽文《大明劫》中,成为存在感微弱的配角。 他本想安稳度日,跟着书中主角团队吃香的喝辣的,结果被迫绑定系统,拯救濒临毁灭的大明皇朝。 狗作者……你干得是人事儿吗?挖坑不填我就不说了,居然还太监? 现在轮到这些坑都要我解决……你妹!!!我打碎了夕阳,夕阳要我赔偿,予我万般红尘,于此间水主沉浮. 大风泱泱,冒险即将启程,且看少年郎再次无双殿掀起新波澜歪路的科技终于走上了正轨,现在是大衍算时代。 布朗的分子无规则运动已经成为了过去,现在...... 是新的时代,分子有规则运动。 鸿钧造化玉碟已经不是一个想法,而是一个真实存在的...... 辉煌!我爷爷给我定了一个娃娃亲,就在结婚当天我才发现,我的老婆原来不是人!不爱写个人简介
沧梧 江湖分两半 凡人轶事录 末日求生之现实 我的修真游戏 梦行笔谈 爱在下一个世界复苏 无处的情歌 玄幻:做反派就要强无敌 创世经 撕裂的天空 万古第一邪魔 重生之逆岁月 修真仙械师 世不变界变 人类山海发展史 修仙证长生 黎明:收纳行动 穿越当主角吗 阴阳纵横五千年 写初中校园回忆的作文600字 写描写名人的作文400字作文400字作文 写保护地球的作文400字 写作文的几种写作类别 熊猫的英语作文怎么写 写一编关于春天的作文300字 写保护地球的作文400字 小学生的400字作文 小学五年级阅读作文辅导书 小学生的生活作文300字作文 写人的作文经典 写人的作文经典 写自己喜欢的场景作文 写描写名人的作文400字作文400字作文 写给好友的信英语作文 写一百字的植物作文 小学英语升学作文 写初中校园回忆的作文600字 写我爱我家作文400字 写姐姐的特点的作文 写描写名人的作文400字作文400字作文 写姐姐的特点的作文 写我爱我家作文400字 写诚信的作文的开头和结尾 小学生看病人作文100字 写夏日美景的作文 写初中校园回忆的作文600字 写我爱我家作文400字 写我爱我家作文400字 小学五年级阅读作文辅导书 写作文的几种写作类别 写儿童节的作文500字 写事英语小学作文 写给好友的信英语作文 写自己喜欢的场景作文 写一百字的植物作文 写事英语小学作文 写保护地球的作文400字 写自己喜欢的场景作文 写人品德的作文200字 写一百字的植物作文 小学生的400字作文 写学霸的作文600字 小学英语升学作文 写春游的作文300作文 写儿童节的作文500字 写人的作文经典 写一百字的植物作文 写夏日美景的作文 写同学友爱的作文400字 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 直播:我做网红那些年 破损乐园 命横 我真不是天道啊 关于我开局殴打系统这件事 皇冠登3出租 澳门葡京游戏官网 澳门葡京官网 皇冠登3出租 亚星官网 写儿童节的作文500字 小制作橡皮泥作文50字 小学五年级阅读作文辅导书 写给好友的信英语作文 写森林作用的作文 写自己喜欢的场景作文 写保护地球的作文400字 写姐姐的特点的作文 熊猫的英语作文怎么写 写儿童节的作文500字 写儿童节的作文500字 写事英语小学作文 写一百字的植物作文 小学生五年级考试作文题目 写姐姐的特点的作文 写夏日美景的作文 写春游的作文300作文 小学生的生活作文300字作文 写初中校园回忆的作文600字 小学生五年级考试作文题目 小学生看病人作文100字 写一编关于春天的作文300字 写同学友爱的作文400字 写姐姐的特点的作文 熊猫的英语作文怎么写 写儿童节的作文500字 写儿童节的作文500字 小学五年级阅读作文辅导书 写一编关于春天的作文300字 写我爱我家作文400字