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"
关于恐龙乐园的游戏关于火车的小游戏关于恐龙乐园的游戏关于老鼠闯关游戏规则关于礼仪方面的游戏关于恐龙化石的游戏关于皮卡丘游戏下载关于恐龙乐园的游戏关于切水果的游戏免费下载关于美容的联机游戏关于猫的游戏日本关于恐龙乐园的游戏关于皮卡丘游戏大全关于流氓的小游戏关于恐龙乐园的游戏下载关于美容的联机游戏关于破坏教室的游戏关于陵墓的游戏关于陵墓的游戏关于监狱逃脱的游戏下载关于过关的答题游戏叫什么关于陵墓的游戏关于切水果的游戏免费下载关于甲虫成长的游戏关于礼仪方面的游戏关于水滴的闯关游戏关于老鼠闯关游戏规则关于甲虫成长的游戏关于监狱逃脱的游戏下载关于皮卡丘游戏大全古语有云:小隐隐于野,大隐隐于市。身负家族绝学的少年郑朝安,在自己不断进步的过程中,与天下各路高手交流,以自己的眼睛,发现隐藏于世间的高手。武者、修士、匠师、剑修、魔法师、猎魔人·······全天下一直在隐藏着的高手,究竟有多少?迷茫之路,唯有剑骨陪伴。 房屋内先是响起一阵‘咕噜噜’的叫声,大约三刻钟后又是响起一阵摸索声,随后响起“咔咔”脆响声。 太阿纳闷道:“赵老夫人,肚子可是饿了,看你吃的这么香,请问你在吃什么?” 一阵沙哑略带嘶嘶音的声音传来:“萝卜!” 太阿见她吃的越来越香,“咔咔”声也越来越响。穿越大唐,意外成为李靖的第三个儿子。 因刚穿越的他按照系统指示逃婚,两年后,对突厥用兵的李靖与李世民发现了他的踪迹......然后他们就懵了,这是什么?没见过吧土鳖,这叫华子,可好抽了,老李,你今有口福了,来吹瓶啤酒。兄弟们,快来看。五个男主,五倍快乐。这会是你梦寐以求的爽文吗?上面五个关键词代表着五个流派,五个人在一起会有怎样的火花呢?听老人讲民间故事奇闻杂谈惊悚传说还有最终结果网游映射现实,大三学生江晓玩了十年的《神话》直到关服。 他把网游玩成了单机,制霸游戏各种榜单。 当别人还在打怪升级的时候,他已是满级存在,当别人拿着几十万战力炫耀的时候,他的战力早已超越一亿; 他是全服隐藏职业之首,精通所有职业技能,能随心所欲切换职业战斗形态。 且看江晓如何玩转灵气复苏的游戏世界。一个驻外星小士兵,偶得可以进化的智慧程序,跨入宇宙,逐渐接触到高等级文明,打造高端武器与战舰,血战星海,播撒炎黄民族神威。 本书为纯粹的科幻,预计四百万字,没有狗血剧情,没有打脸公式,仅有不断攀升的战斗智慧与铁血勇气。林洛在上班回家途中被异界召唤系统砸中所穿越的故事。世道不靖,民生皆苦。 黑暗里的幽灵,星空中的刺客。 天上地下屠魔弑神,只为创造一个美好的世界! 他是一个来自异世界的灵魂。 不甘心命运被安排,反感这个恶者逍遥自在,善者不得善终的黑暗世界。 为了实现理想,他一路苟着做人,努力积蓄力量,终于改天换日,重塑乾坤!这是一个称作《灵脉大陆》的神奇世界,这个世界没有魔法,没有武术,没有战斗力,却有着神奇的灵脉。这个世界的每个人在10岁的时候都会在灵脉大殿中,在灵兽师或灵斗士的帮助下进行灵脉觉醒。灵脉可以增强体魄,辅助人们的日常生活。有特殊天赋的人可以通过自身灵脉或召唤灵兽进行修炼并进行战斗,这些人被称为《灵斗士》和《灵兽师》 亡国遗珠沐岚(女主),一步步修炼灵脉,在灵兽(男主)望天君的辅佐下,由凡人之躯修炼成神界监察人界的使者判官,最终铲除了灵脉大陆上的邪恶力量,报了亡国之仇,成为了灵脉大陆上强者。
大宋:神级抽奖系统 重生过去成传说 宇宙真神 黑暗之中的光芒 魔尊游世传 乱世货郎 孤岛行 不为谁而作的故事 飞升之前 一壶酒,浮世三千 大宋王朝那些事儿 天罗神功 三界晃动 苍茫黄天之下 斗地情天 从满级开始的异世界之旅 万古第一灵帝 禁地 马良之我是笔仙 残剑异闻录 关于数字7的游戏 关于养一只小猫的游戏 关于破坏教室的游戏 关于礼仪方面的游戏 关于数字7的游戏 关于机器人的互动游戏 关于潜水艇的游戏 关于美术哪些小游戏 关于水滴的闯关游戏 关于皮卡丘游戏大全 关于切水果的游戏免费下载 关于切水果的游戏 关于监狱逃脱的游戏 关于养一只小猫的游戏 关于恐龙化石的游戏 关于礼仪方面的游戏 关于潜水艇的游戏 关于水滴的闯关游戏 关于过关的答题游戏叫什么 关于恐龙乐园的游戏 关于养一只小猫的游戏 关于恐龙乐园的游戏下载 关于火车的小游戏 关于流氓的小游戏 关于美容的联机游戏 关于监狱逃脱的游戏 关于水滴的闯关游戏 关于火车的小游戏 关于过关的答题游戏叫什么 关于水滴的闯关游戏 关于礼仪方面的游戏 关于养一只小猫的游戏 关于老鼠闯关游戏 关于恐龙化石的游戏 关于甲虫成长的游戏 关于礼仪方面的游戏 关于老鼠闯关游戏 关于破坏教室的游戏 关于监狱逃脱的游戏 关于恐龙乐园的游戏下载 关于老鼠闯关游戏规则 关于名字的小游戏 关于考古的游戏 关于切水果的游戏 关于流氓的小游戏 关于养一只小猫的游戏 关于切水果的游戏 关于老鼠闯关游戏规则 关于监狱逃脱的游戏 关于皮卡丘游戏下载 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 梵妮的旅行 明江一剑之尸疑 落花纷 死义生 飞来大财运 万利游戏官网 欧博游戏官网 欧博官网 万利官网 快连下载 关于火车的小游戏 关于专注力的小游戏 关于老鼠闯关游戏 关于过关的答题游戏叫什么 关于水滴的闯关游戏 关于恐龙乐园的游戏下载 关于机器人的互动游戏 关于皮卡丘游戏大全集 关于监狱逃脱的游戏 关于皮卡丘游戏大全集 关于猫的游戏日本 关于皮卡丘游戏下载 关于考古的游戏 关于切水果的游戏 关于恐龙化石的游戏 关于猫的游戏日本 关于恐龙乐园的游戏下载 关于恐龙化石的游戏 关于皮卡丘游戏大全 关于恐龙乐园的游戏 关于老鼠闯关游戏规则 关于名字的小游戏 关于礼仪方面的游戏 关于水滴的闯关游戏 关于流氓的小游戏 关于水滴的闯关游戏 关于切水果的游戏免费下载 关于机器人的互动游戏 关于美容的联机游戏 关于监狱逃脱的游戏下载