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"
2个月狗狗不会爬楼梯2个月的狗狗打喷嚏咳嗽2个月狗狗剪指甲怎么剪1个月的狗狗小便红1岁的狗狗爱睡觉没力气2个月狗狗不会爬楼梯4个月的狗狗注意事项2个月狗狗剪指甲怎么剪8个月狗狗打疫苗来月经3个月的狗狗不愿意走路300元的狗狗有哪些项目2个月狗狗不会爬楼梯3个月狗狗可以洗澡吗300能买到的狗狗2个月狗狗剪指甲怎么剪3个月的狗狗不愿意走路84拖地狗狗中毒怎么治20天的狗狗能断奶吗20天的狗狗能断奶吗2个月的狗狗突然尿频怎么回事1个月狗狗怎么刷牙20天的狗狗能断奶吗8个月狗狗打疫苗来月经2个月的狗狗死了1岁的狗狗爱睡觉没力气2个月的狗狗打喷嚏咳嗽吃什么药比较好1个月的狗狗小便红2个月的狗狗打喷嚏咳嗽吃什么药好得快2个月的狗狗突然尿频3个月狗狗可以洗澡吗本源时界前身,方天翼的第一世,复仇,背叛,卧底,尽忠,他该何去何从又名:乌云下的岛 我的前半生虽未结束,但我却时时不在缅怀。我的前半生是孤独的,也是有光的。我是一个矛盾的人,是一个病人,我渴望着温暖与救赎,却也享受着时常出现的孤独寂寞。青春不是某一瞬间结束的,而是在无数个悲痛的日夜中渐渐不再那么光彩照人,它会随着时间隐没在我生命的某个角落,在记忆中留下印记,陪伴我一生。 一个三无男青年和都市靓女们的平凡爱情故事圣界一绝世至尊圣帝,因获得天下第一至尊宝物混沌珠,被自己的好兄弟出卖,遭到圣界强者围攻,在杀死无数强者后,逃到圣山,因体力不支,实力大减,最终选择自爆与敌人同归一尽。意外重生异世天龙大陆杨家废才三少身上,从此开起无敌之旅,脚踏万千世界,威震八荒。一切敌人全部碾压,美女缘不断,宝物全部到手,终成万古主宰。《次元大陆:中星》原创小说,五年级小学生创建,每周日更新(可能会拖) 500年前,天动异象,祸从天降,生灵涂炭。 300年前,起义开始,外来之人,必将惨败。 300年后,外来的残渣仍然威胁着次元大陆,甚至还把魔爪伸向了别的世界。九位天选之子将带领这个世界上的所有生灵消灭残渣,为世界,宇宙带来和平。(因为我想写一个夫妻档的故事,所以前面铺垫比较长。这个一个用秘术较量的世界。) 每日四更 在九州大陆,皇城之巅,有一位传奇人物,他正是皇城之主,九霄神帝,也是九州大陆最强悍的存在之一。无数人类降临荒原大陆,成为领主! 每人获得一种初始随机兵种与一座英雄祭坛! 攻城略地,抵御怪潮,称霸无尽荒原! 方宇随机到了最无用的人族兵种......大夏人族。 “哈哈哈哈!我的兵种是黑暗骷髅,英雄是唤灵法师,我城里的怪比外面还多!” “还是没我的强,我的兵种是比蒙巨兽,强到没边!” 看着信息,方宇无奈摇头笑笑。 是啊,你们都挺厉害的。 不过嘛...... “大夏城从一方小城发展到了足以抗衡帝国的存在,那位叫做李世民的英灵功不可没啊!” “糟了!大家快撤!嬴政来了,这家伙一天到晚就想着统一荒原,再不走,箭雨就到脸上了!” “老子的思想遍布了整个大陆,大夏又出了位神阶圣人!这是继墨子、孔子之后的第三位圣人了啊!这还怎么玩啊?” “什么老子?靠!那是太上老君!快跑!” 那一日,万族震恐!原来最强种族还得是人族! 大夏人族!!!叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!仙域女帝姬如霜惨遭暗算,自爆而亡。 机缘巧合一缕神魂转世投胎下界仙朝! 复仇大业未行,却发现隔壁居然还有一个男婴。 “哼,不过是长生路上的累赘罢了。” 可接下来,女帝却发现自己的这个弟弟有些变态。 放弃神药灵液,居然让她觉醒轮回道体! 摸摸自己,居然让她修为翻倍! …… 面对哥哥的无限宠爱,女帝则是羞红了脸。 “哼,雕虫小技!” “复仇当前,本帝怎么可能屈服于这个男人的施舍。” “嗯,神药真香!谢谢哥哥!“一座图书馆,一本普通的书,一个平凡的大学生,在那一天之后,命运产生了翻天覆地的变化
问罪者 永夜 万物主宰者 驭心志 道门天师 大宋必须浪 战神陈庆之 荒星冢 十大动漫名场面:开局夜凯 湘江战歌 一眼万年ONE 活脱优雅 女帝的剑神赘婿 Minecraft:巅峰之路 海岛之王 天朝往事 九荒天庭 神逆之途 轮回的诅咒 灵异复苏之我的鬼宠是狗 2个月的狗狗打喷嚏咳嗽吃什么药 300元可以买什么狗狗 84拖地狗狗中毒怎么治 20天的狗狗能断奶吗 2个月的狗狗打喷嚏咳嗽吃什么药 2个月的狗狗打喷嚏咳嗽吃什么药好 84消毒和狗狗 3个月的狗狗打疫苗 2个月的狗狗打喷嚏咳嗽吃什么药比较好 3个月狗狗可以洗澡吗 8个月狗狗打疫苗来月经 84消毒液可以除狗狗 2个月的狗狗死了 3个月的狗狗不愿意走路 2个月的狗狗玩啥玩具 1岁的狗狗爱睡觉没力气 84消毒和狗狗 2个月的狗狗打喷嚏咳嗽吃什么药比较好 1个月狗狗怎么刷牙 2个月狗狗不会爬楼梯 300元可以买什么狗狗 2个月狗狗剪指甲怎么剪 2个月的狗狗打喷嚏咳嗽 300能买到的狗狗 3个月的狗狗不愿意走路 2个月的狗狗死了 2个月的狗狗打喷嚏咳嗽吃什么药比较好 2个月的狗狗打喷嚏咳嗽 1个月狗狗怎么刷牙 2个月的狗狗打喷嚏咳嗽吃什么药比较好 1岁的狗狗爱睡觉没力气 300元可以买什么狗狗 1个月的狗狗小便红 2个月狗狗不会爬楼梯 2个月的狗狗打喷嚏咳嗽吃什么药好得快 1岁的狗狗爱睡觉没力气 2个月狗狗没事就睡 84消毒和狗狗 2个月的狗狗死了 2个月狗狗没事就睡 1岁的狗狗爱睡觉没力气 3个月的狗狗要打什么针 2个月的狗狗突然尿频怎么回事 84消毒液可以除狗狗 300能买到的狗狗 300元可以买什么狗狗 8个月狗狗打疫苗来月经 1个月的狗狗小便红 2个月的狗狗突然尿频 4个月的狗狗注意事项 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 冰火山河 华南之剑 穿越秦朝之始皇是我兄弟 全民AR竞技 三国之大汉再起 亚星游戏官网 万利游戏官网 欧博游戏官网 亚星游戏官网 葡京官网 1个月狗狗磨牙怎么办 2个月的狗狗打喷嚏咳嗽吃什么药 2个月的狗狗打喷嚏咳嗽 40天狗狗粮吃多少 2个月狗狗没事就睡 300能买到的狗狗 2个月的狗狗打喷嚏咳嗽吃什么药 84消毒和狗狗 4个月的狗狗注意事项 2个月的狗狗突然尿频 84拖地狗狗中毒怎么治 8个月狗狗打疫苗来月经 2个月的狗狗死了 1个月狗狗磨牙怎么办 300元可以买什么狗狗 2个月的狗狗打喷嚏咳嗽 2个月狗狗不会爬楼梯 2个月狗狗没事就睡 2个月狗狗剪指甲怎么剪 2个月的狗狗打喷嚏咳嗽吃什么药比较好 3个月狗狗可以洗澡吗 2个月的狗狗打喷嚏咳嗽吃什么药好 2个月狗狗没事就睡 2个月的狗狗死了 2个月的狗狗打喷嚏咳嗽吃什么药好 300元的狗狗有哪些项目 2个月的狗狗打喷嚏咳嗽吃什么药好得快 2个月的狗狗突然尿频怎么回事 300能买到的狗狗 2个月的狗狗玩啥玩具