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"
北京厦门大厦酒店电话多少时间德国领事馆电话北京厦门大厦酒店电话多少时间廊坊佰元宾馆电话多少钱泰山到新乡大巴车电话号码沈阳南塔社区电话青州大汉火锅电话洪雅野鸡坪住宿 电话昆明新南站大巴时刻表查询电话成都环球中心购物电话号码贺州黄姚旅游专线 电话北京厦门大厦酒店电话多少时间陈埭交警中队电话号码良村食府饭店电话洪雅野鸡坪住宿 电话成都环球中心购物电话号码四方茶馆电话罗布人村寨联系电话罗布人村寨联系电话定海旅游集散中心电话设计泰国电话卡网络罗布人村寨联系电话昆明新南站大巴时刻表查询电话舒兰到法特客车电话泰山到新乡大巴车电话号码北明汽车站电话号码廊坊佰元宾馆电话多少钱舒兰到法特客车电话定海旅游集散中心电话陈埭交警中队电话号码由校园生活到奇幻旅途,从校园情谊到穿越时空来到奇异世界,书写一副人性的精彩史诗。本书有机甲也有修仙,有游戏也有武学。 胖子玩游戏很厉害,也会一点武学,只可惜时运不济。 人遭逢低谷,就会应合物极必反的定律,他遇到了仙。 机甲,意念控制的机甲,从游戏模拟训练开始,胖子一步一步走上最强机甲驾驶官。万峰穿越到了一个武道盛行的世界,同时这个世界妖魔盛行。 妖魔害人,鬼怪作恶…… 万峰觉醒系统,以一把刀在这个神诡世界杀出一条生路。 一刀劈开生死路,两脚踏出是非门。 蓦然回首,万峰发现自己已经横推了神诡世界。随笔诗词。在这个世界里,跨界石,是一种神奇的东西。相传上古时期,轩辕姬得之,拥有掌控南北两极之能,所以控磁场,造司南。大禹得之,拥有排山倒海之势,所以治江海。? ?...... 而觉醒职业和灵器,是这里每人都渴望的事。 雪擎,一个被祝福和诅咒同时缠上的少年,即将开启一段传奇之旅...... ?【2020末世科幻经典】 系列第一部《星神劫》。 穿越数百万光年,他居然又回到了出发的地方——地球。 “他”重返地球了,但没人认得。没人知道,这颗行星上文明的毁灭,正是拜他所赐。 他舍弃了种族和肉体,依靠附体三柱神强横的灵力,一步步操纵着文明的演化。 QQ群:926185550,欢迎进群讨论。异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。陈阳被困在了一个永远无法逃离的循环里,只要过了情人节的15点15分,他就会重新回到15天前。 陈阳发现他无论做什么,都无法打破这个半个月的循环,所有的一切都会重置。 在经历了震惊、刺激、狂喜、焦虑不安、绝望和痛苦等情绪后,陈阳开始各种作妖,决定把这个世界搅得天翻地覆。 陈阳开始学习各种技能和知识,利用它们去达到自己的目的,也完全不用考虑任何后果的恣意妄为,去成为世界的焦点。 尤其是针对那些为富不仁的富豪和权贵,更是让陈阳兴奋的难以自制。 直到有一天,陈阳掀翻了娱乐圈的时候,却发现循环忽然被打破了..... 蓝颜玉是智族的天才,天生智力无限,精神力初始三十级。在他十三岁时,离开了智族,入了阳暮言组织的拯救者奇团,认识了妖族的小公主美琥,金刚族王子艾果……在这其中竟还有来自异族的夜墨修,他是敌是友? 在剿灭异族的过程中,花界彼岸花——慕兮月与他相识、相知、相爱。之后的几次生死之战,导致拯救者大换血,面临着土崩瓦解,蓝颜玉是否能重振拯救者奇团?在世界即将要毁灭时,他又能否拯救世界?前世今生,爱恨情仇,梦未醒是非黑白无常,缘起因果,善恶有报,别以为挣脱就能逃亡。灵魂摆渡,几经轮回,黑暗中无处躲藏模样,魂飞湮灭,换骨涅槃,让爱在灰烬里灿烂重生。是千军万马驰骋疆场,是游离龙宫星驰电掣······
大清末年 山武大陆 焦土幸存者 天行渐 废土少年 我在新手村待了10年 卡牌者 剑指神路 CSGO之世界顶峰 魂穿大秦:我竟成了嫪毐 都市:校园武道高手 幻想之湖 洛阳剑行 诸天万界:我的挂开大了 胖爷升唐 天盈战神 异梦怪谈 云慕月 七步神灵 云源 武汉按摩保健会所上门服务电话 滦县到尖坨子班车电话 四方茶馆电话 罗布人村寨联系电话 武汉按摩保健会所上门服务电话 安庆中心站客运电话号码 杭州到杭州东站的公交线路查询电话 东莞去长沙的高铁查询电话 北明汽车站电话号码 陈埭交警中队电话号码 昆明新南站大巴时刻表查询电话 无锡新安邮政支局电话 南航北京机场电话是多少钱一个月 滦县到尖坨子班车电话 沈阳南塔社区电话 泰山到新乡大巴车电话号码 杭州到杭州东站的公交线路查询电话 北明汽车站电话号码 设计泰国电话卡网络 北京厦门大厦酒店电话多少时间 滦县到尖坨子班车电话 洪雅野鸡坪住宿 电话 德国领事馆电话 良村食府饭店电话 成都环球中心购物电话号码 南航北京机场电话是多少钱一个月 北明汽车站电话号码 德国领事馆电话 设计泰国电话卡网络 北明汽车站电话号码 泰山到新乡大巴车电话号码 滦县到尖坨子班车电话 临沂到枣庄电话号码 北京厦门大厦酒店电话多少时间 舒兰到法特客车电话 泰山到新乡大巴车电话号码 临沂到枣庄电话号码 四方茶馆电话 南航北京机场电话是多少钱一个月 洪雅野鸡坪住宿 电话 廊坊佰元宾馆电话多少钱 庆阳西峰旅行社电话 宁波帝豪会所电话 无锡新安邮政支局电话 良村食府饭店电话 滦县到尖坨子班车电话 无锡新安邮政支局电话 廊坊佰元宾馆电话多少钱 定海旅游集散中心电话 青州大汉火锅电话 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 忆往昔青春岁月 剑灵之洪门传说 重生之地产风云 末世之吞噬细胞 掠刀 万利官网 欧博官网 皇冠登3出租 万利官网 快连下载 泰山到新乡大巴车电话号码 杭州到杭州东站的公交线路查询电话 武汉按摩保健会所上门服务电话 携程怎么电话预订机票 宁波帝豪会所电话 连云港华驿酒店电话 携程怎么电话预订机票 罗布人村寨联系电话 北京厦门大厦酒店电话多少时间 北京厦门大厦酒店电话多少时间 南航北京机场电话是多少钱一个月 定海旅游集散中心电话 北明汽车站电话号码 泰山到新乡大巴车电话号码 成都环球中心购物电话号码 设计泰国电话卡网络 舒兰到法特客车电话 四方茶馆电话 德国领事馆电话 陈埭交警中队电话号码 定海旅游集散中心电话 昆明新南站大巴时刻表查询电话 泰山到新乡大巴车电话号码 泰山到新乡大巴车电话号码 德国领事馆电话 武汉按摩保健会所上门服务电话 无锡新安邮政支局电话 南航北京机场电话是多少钱一个月 北明汽车站电话号码 廊坊佰元宾馆电话多少钱