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"
招商信用卡免费试用招商信用卡中石化88折招商信用卡免息分期付款买手机招商信用卡面审后招商信用卡那个卡种好招商信用卡免费试用招商信用卡网申面签吗招商信用卡免息分期付款买手机招商信用卡有什么金招商信用卡如何查余额查询招商信用卡全积分兑换招商信用卡免息分期付款买手机招商信用卡提前还款好吗招商信用卡全积分兑换招商信用卡免息分期券招商信用卡如何查余额查询招商信用卡溢出款取现招商信用卡取现变500招商信用卡取现变500招商信用卡铠要年费吗招商信用卡怎么停掉招商信用卡取现变500招商信用卡有什么金招商信用卡金卡照片招商信用卡哪个额度高?招商银标准信用卡额度多少招商信用卡哪个额度高?招商信用卡金卡照片招商信用卡铠要年费吗招商信用卡提前还款好吗  在校大学生萧凡,从网店卖书开始,逐渐成为影响世界的文娱大佬。      其所创建的大方集团也成为千亿级别的巨无霸,涉及影视、游戏、出版、互联网等多个领域,已深深影响着全世界的文娱走向。      问及对大方集团老板萧凡的印象,人们亲切的称呼他‘重新定义资本的良心老板’、‘让华狼街投行和巴韭特畏惧的东方上帝’。 所有人对大方集团的印象都是大方、有钱。      私下里,萧凡泪牛满面:“一开始我就是想花光几万块钱,我真的好想亏本啊!”   谨以此致敬高三的时光充斥混乱斗争的世界里,谁将引导时代的浪潮?魔力与异术并存,荒诞与诡秘的背后是谁在掌控? 旧日降临,克苏鲁即将觉醒。回归日之际,众生又将何去何从? 这是一段传奇神秘的故事。 灵气入体,滋养四肢百骸;魔晶融合,震动百里山河。 心念一动,可风起云涌;振臂一呼,可天翻地覆。敢叫沧海变桑田,敢叫日月换新天。 茫茫的“东华大陆”是修真者的世界,但是,修真者的数量却少之又少,大陆上生活着的主要还是普通人。除了人类,大陆上一直没有还能修行的生物,直到那件事情的发生……一个普通的大学生在下车后,莫名穿越到异界大陆,以假面骑士之力纵横四海踌躇满志考大学,不想2022高考竟是如此之难!考完英语那天下午,林易仰天长啸,痛哭流涕!无颜回去面爹娘,只能凭着手机缓解心绪,谁想一场奇异正向他驰来……很久以前,一个名为九州的世界,多有神仙鬼怪传说之事流传,这里妖魔作祟、龙蛇并起,鬼神之力通天,凡人命如草芥。 山川,河流,草木、动物,人类,世间万物均能借天地灵气修行,经历雷劫,突破桎梏,以万千形态,立于世间。 人族孱弱,为求庇佑,将这些诞生了灵性,异乎寻常,拥有超乎凡人力量的存在统称为神灵。 这些神灵有的受人们立庙祭祀供奉,靠着吸取众生念力香火修行,同时也庇佑着一方百姓。 而有的一边享受香火祭祀,一边幻化形体,混迹于人间,散播瘟疫灾祸,动辄伤人夺命,被人们被称之为妖。 不受香火,以人类为血食者,被称之为魔。 人族之中能够斩妖除魔,并借此强大自身者被称之为修行者。 修行者中有善养浩然气,言出法随的书院书生;气血旺盛,滴血屠魔的横练武夫;呼风唤雨,御剑而行的道门天师;擅长封印,一苇渡江的佛门高僧…… 其中佼佼者更是”能与传说中的那些强大神灵比肩。 这些修行者为庇佑人族,建立起强大的修行门派,以求守住人间太平。 公众人物被人刀了你敢信? 十世处男死废宅穿越到异空间一个被人用刀捅穿后心同名男艺人陈浪 身上。醒来之后被当做失忆。 面临品牌方的索赔,名导演的封杀,还有暗杀他的主谋隐藏身边。 陈浪一边要为生活所迫发展事业,还要寻找杀死他的真凶。 可当他了解前身为人的时候,简直离离原上谱到他自己都想给自己一 刀。 原来和前世完全相反的是,他不但不是个老实人,简直是个老司机。 但不管怎样他也没选择,既然如此…… 坐稳扶好!老司机开车!下一站娱乐圈! 我的网恋对象是一个外星人陈晨穿越到平行世界,觉醒娱乐系统,成为娱乐顶流。 本以为从此数钱数到手抽筋,系统却加以限制。 在捐够100亿之前,他每个月只能领到2000块的生活补助。 网友们惊奇的发现, “版权费几百万,陈晨居然还住在这么破的小区?” “跟女星一起出去,陈晨竟然请她吃地边摊。” “陈晨吃泡面他连火腿肠都不加!” 某天,捐款被发现,网友震惊。 “我们学校的晨曦楼居然是他捐的?” “振州特大暴雨捐了2个亿的居然也是他?” “原来,陈晨这么节俭只是为了做慈善。” 网友直呼,陈晨这明星真能处,有钱他是真捐啊。
我们的太平湖 都市之最强武帝修真者 我叫李元 道无心 全名转职开局转职黑暗法师 重生之规划人生 被绑架后,我多了一对老婆孩子! 海贼之大发明家 日星游记 路人系统之命运重生 仙尊系统,我重返仙界! 重活五万年 砯崖 特工孤儿院 数据代码 大唐:说书长坂坡,我带赵云杀疯了 龙女山传奇 黑暗序列 雄途: 养剑一千年 招商信用卡溢缴款 最低 招商信用卡哪个额度高? 招商信用卡耍卡 招商信用卡免费试用 招商信用卡溢交款 招商信用卡怎么停掉 招商信用卡耍卡 招商信用卡取现变500 招商信用卡有什么金 招商信用卡全积分兑换 招商信用卡提前还款好吗 招商信用卡提前还款好吗 招商信用卡中石化88折 招商信用卡哪个额度高? 招商信用卡金卡有什么好处 招商信用卡免费试用 招商信用卡提额多少钱 招商信用卡溢缴款 最低 招商信用卡溢出款取现 招商信用卡金卡照片 招商信用卡哪个额度高? 招商信用卡金卡照片 招商信用卡溢出款取现 招商信用卡免息分期付款买手机 招商信用卡那个卡种好 招商信用卡中石化88折 招商信用卡溢缴款 最低 招商信用卡溢出款取现 招商信用卡溢出款取现 招商信用卡有什么金 招商信用卡免费试用 招商信用卡面审后 招商信用卡铠要年费吗 招商信用卡免费试用 招商信用卡金卡照片 招商信用卡哪个额度高? 招商信用卡面审后 招商信用卡溢出款取现 招商信用卡紧急通知 招商信用卡免息分期券 招商信用卡哪个额度高? 招商信用卡耍卡 招商信用卡没反应 招商信用卡溢交款 招商信用卡全积分兑换 招商信用卡全积分兑换商城 招商信用卡溢缴款 最低 招商信用卡哪个额度高? 招商信用卡紧急通知 招商信用卡要存钱么 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 战你!七成把握 穿到自己的小说中逆天改命 逃避世俗带着小丽回宋朝 通灵纪元 我的婆婆我的妈 亚星管理平台 澳门葡京官网 葡京官网 亚星管理平台 万利游戏官网 招商信用卡怎么停掉 招商信用卡金卡有什么好处 招商信用卡取现变500 招商信用卡提额多少钱 招商银标准信用卡额度 招商信用卡全积分兑换商城 招商信用卡铠要年费吗 招商信用卡提前还款好吗 招商信用卡那个卡种好 招商信用卡怎么样啊 招商信用卡怎么停掉 招商信用卡全积分兑换 招商信用卡全积分兑换商城 招商信用卡面审后 招商信用卡提前还款好吗 招商信用卡如何查余额 招商信用卡有什么金 招商信用卡溢出款取现 招商信用卡紧急通知 招商信用卡耍卡 招商信用卡中石化88折 招商信用卡没反应 招商信用卡有什么金 招商信用卡那个卡种好 招商信用卡金卡照片 招商信用卡怎么停掉 招商信用卡提额多少钱 招商信用卡取现变500 招商信用卡全积分兑换 招商信用卡面审后