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"
横店七天连锁酒店电话号码上海尚途商旅客服电话普宁市公安局 电话西樵平沙岛电话源牌国际酒店 电话横店七天连锁酒店电话号码武汉天鹅恋酒店电话普宁市公安局 电话蚌埠老约翰蛋糕招聘电话中宁火车站的电话威海36开头的电话横店七天连锁酒店电话号码中国旅行社总部电话威海36开头的电话普宁市公安局 电话中宁火车站的电话祥聚商务酒店电话多少钱在英国拨打国内电话怎么打在英国拨打国内电话怎么打苏宁易购南浔店电话号码郑州市和平车售后电话号码打马来西亚沙巴电话丽泽桥浩沙电话贵阳机场售票处电话源牌国际酒店 电话栖霞桃村动车车站电话西樵平沙岛电话长春金都饭店客房电话苏宁易购南浔店电话号码中国旅行社总部电话叔孙豹的一段往事。取材春秋左传昭公四年一段往事。“很久以前,在兴远府景东郡徐家出了一个奇女子,她被誉为不世出得奇女子,然后......” “奶奶,那个奇女子该不会是你吧?”小女孩打断到。 “胡说,我怎么会自己吹嘘自己呢!” “切,你明明经常这样。” 小女孩撇了撇嘴,嘴里嘀咕着:“我都听了好多个版本的开头了,后面反正都会变成什么学院争雄,中州争霸,扫奸邪,荡妖族,一己之力拯救全世界,都是骗人的。” “哪有什么奇女子,这只不过是景东郡徐家女儿临死前的一个梦罢了。”小女孩如是说道。 “当真如梦一场啊。”那个声音叹息道。 在这异能者至上的时代,在这神秘充斥的时代,何者生存天界至宝天神之怒碎裂成两半,从此消失不见,天界由此陷入混乱。要想天界恢复秩序,必须寻回天神之怒。在天界遍寻无果之下,众天神不由束手无策。 来了我即使时间回溯,我们仍会重逢。《魔兽世界》无数人的回忆,无数人的青春。如果有一个机会,你来到艾泽拉斯,你会怎么做?在这危险且奇幻的异界大陆,是碌碌无为的度完一生,还是开启一场激情的冒险之旅? 看似平凡安逸的生活,实际却暗潮涌动,当原本其乐融融的潜在势力群雄并起时,这个世界能否像以前一样昂首挺胸的迈向未来的下一个篇章?一个偶然机会,我们成了忘年交。同时,在营山一餐饭机会,我们谈起了建筑文化。 恭喜绑定育儿成长系统 本系统因不可描述原因 受损程度78%,无法主动提供任何帮助 如遇危险请用爱感化对方 谢谢合作 简介?什么简介 作者已经被整疯了 哈哈哈 假的 假的 全是假的 去你的育儿系统啊啊啊啊!你知道宇宙的起源吗? 你想知道平行世界的风景吗? 体会未知的恐怖,快乐和爱恨情仇。 知晓前世今生的羁绊。 在这个危诡游戏里面,你又有什么期待。
忤道绝座 惊鸿轮回 天仙魔帝 血宴苍穹 怪诞狂想 天眼下 我来自系外文明 仙警局 有妖越界 跨界神石 神秘回忆录 洪荒:人间儒圣,口诛笔伐惊天地 投胎至三百年前 无尽:神明游戏 易水寒桃源篇 末日靳区 龙之谷英雄 巨龙绝境 峰峰的奇妙冒险 庆南吏 赵县赵州手机城电话 中宁火车站的电话 祥聚商务酒店电话多少钱 在英国拨打国内电话怎么打 赵县赵州手机城电话 天津武清交通队电话 铜川耀县出租车电话 天津大港新立起电话 栖霞桃村动车车站电话 中国旅行社总部电话 丽泽桥浩沙电话 丽泽桥浩沙电话 贵阳机场售票处电话 中宁火车站的电话 平潭德克士订餐电话 源牌国际酒店 电话 康定中谷电话 栖霞桃村动车车站电话 郑州市和平车售后电话号码 横店七天连锁酒店电话号码 西平到南阳班车电话 普宁市公安局 电话 上海尚途商旅客服电话 打马来西亚沙巴电话 天津大港新立起电话 贵阳机场售票处电话 栖霞桃村动车车站电话 上海尚途商旅客服电话 郑州市和平车售后电话号码 栖霞桃村动车车站电话 在英国拨打国内电话怎么打 西平到南阳班车电话 西樵平沙岛电话 横店七天连锁酒店电话号码 贵阳机场售票处电话 源牌国际酒店 电话 老石头会馆前台电话 铜川耀县出租车电话 贵阳机场售票处电话 老石头会馆前台电话 源牌国际酒店 电话 天津大铁勺招聘电话 苏宁易购南浔店电话号码 康定中谷电话 威海36开头的电话 西平到南阳班车电话 丽泽桥浩沙电话 源牌国际酒店 电话 铜陵到深圳北站高铁时刻表查询电话 武汉天鹅恋酒店电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 废物青年不会遇到兽耳娘 吾为万兽之皇 我是诸天之王 末日终结之废土求生 傲世苍穹之萧易传 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 赵县赵州手机城电话 郑州市和平车售后电话号码 老石头会馆前台电话 天津大铁勺招聘电话 武汉天鹅恋酒店电话 淄博客运监督询电话 在英国拨打国内电话怎么打 栖霞桃村动车车站电话 铜陵到深圳北站高铁时刻表查询电话 打马来西亚沙巴电话 威海36开头的电话 在英国拨打国内电话怎么打 蚌埠老约翰蛋糕招聘电话 威海36开头的电话 天津大港新立起电话 丽泽桥浩沙电话 老石头会馆前台电话 横店七天连锁酒店电话号码 中国旅行社总部电话 赵县赵州手机城电话 天津武清交通队电话 栖霞桃村动车车站电话 祥聚商务酒店电话多少钱 源牌国际酒店 电话 西平到南阳班车电话 天津武清交通队电话 丽泽桥浩沙电话 铜川耀县出租车电话 平潭德克士订餐电话 康定中谷电话