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"
吉安501在汽车站台丹竹头到广州汽车澄海到郑州汽车站时刻表芜湖汽车站到泾县九江到武宁汽车票吉安501在汽车站台巫溪卧铺汽车有厕所吗澄海到郑州汽车站时刻表宿迁去东明的汽车上饶-常熟汽车电力汽车停靠站澄海到郑州汽车站时刻表星沙-汽车南站电力汽车停靠站开封有去孟州的长途汽车吗上饶-常熟汽车江苏港城汽车运输集团莱西到黄岛汽车站电话九江到武宁汽车票罗湖汽车客运站到佛山汽车站要多久时间龙岗到惠阳汽车客运站莱西到黄岛汽车站电话宿迁去东明的汽车南昌西到瑞昌汽车站时刻表泉港到泉州的汽车站时刻表上海至绵阳客远汽车泉港到泉州的汽车站时刻表投诉长途汽车电话号码罗湖汽车客运站到佛山汽车站要多久时间周口到铜陵汽车这个世界 灵气遍布 每个人都能通过修炼成为强者 同时 这个世界 冷血无情 这就是 现实古神大陆自诞生以来便流传着一个传说,命运之门会在一个时代结束时降临,得见命运之门者,可以登临神境,进入命运之门者,可获永生。 …… 杨凡天生道骨,却被家主算计和爱人偷袭,落了个修为全失,道骨被夺的下场,正当奄奄一息时,遇到了曾经见过命运之门的鬼圣阴无虚,并夺了对方的一身机缘…… 境界划分:炼体、苦海、神宫、仙台、破虚、同体、大圣、大帝、半神、神……明朝末年,张怀英在一场江湖纷争中失去了至亲,从此无依无靠,寄居伯父家,受尽同伴的冷嘲热讽。 直到某天,天边飞过一颗流星,将方圆五丈的树林夷为平地。 之后,张怀英从卧榻之侧立起,记忆零碎…… 从此在武当派崭露头角,随着等级的提升,张怀英开始问鼎中原。少年南弦意外获得全能系统,在之后的日子里,从此纵横都市。 需要什么技能,就学习什么技能,让敌人郁闷到死,他就是打破常规的妖孽。 他游走在黑暗世界,灭脚盆,杀猴子,虐棒子,横扫M帝国,让敌人闻风丧胆。身边还有各种美女相伴。一段沉封千年的秘密,一番罪恶与杀机,一座从来就不会出现的高楼,但没有人知道是谁建造。 古往今来,世间流传仙、神的传说,而时至今日,仙路缈缈,已然进入末法时代。 天空中,有人矗立,乌云压顶、身处雷电中心;海面上,有人漫步而来,由远及近,片刻却又消失不见,这些是海市蜃楼产生的幻觉? 有传言,海市蜃楼是连接另一时空的桥梁,聚现另一个世界正在发生的景象! 神话故事是否虚构,仙、神,真的存在过吗?六十年代未期,一批知识青年上山下乡,在偏僻的边境山乡所经历的匪夷所思的惊悚事件……当一个文明到了最后阶段会发生什么?死亡还是重生,要战争还是要和平。从银河中心的搜寻者带来的究竟是一个开端还是一个结束。子文明又如何尽快赶上对弈敌人的风口。“观察者先生,我们两个世界的发展,多谢有您”(这本书我尽量在讲主线的同时,会把基本和重要信息交代下,避免人物形象和情节不够完整)单亲家庭的沈飞在父亲离奇失踪多年后,准备以父亲在他儿时讲述的《光明战士》的故事为素材,创作一部新的动漫,在与主管苏洁商量如何修缮人物形象的时候,突然天降惊雷,沈飞和苏洁被吸入进了二次元的世界,蛋生在了一个叫马来西的王国并被赐名“洛克”,在遍布黑暗的二次元世界里,他结识了很多伙伴,收获了很多在现实生活中还没有体验过的人情冷暖,开启了一段奇妙的二次元之旅,旅途中沈飞(洛克)意外地发现了父亲的蛛丝马迹,这让他感到意外地喜悦,十几年了终于有了父亲的下落,沈飞(洛克)按图索骥开始了寻父之旅……某日全世界突然爆发未知病毒感染者无数,病毒将短时间通过血液循环全身,感染者将会失去人性化为一头嗜血的野兽,身体有些抵抗能力的幸存者感染后却会延迟些许时间转变.....远在n市住读职高的普通高中生四人在丧尸横行的世界里挣扎求生。文章主体以四人高中生在末世求生为主,贴切现实,无爽文情节。(新手写文,请多关照。)
疑与智斗 都市之云家枭雄 古诗歌欣赏 我的世界之安德兰战役 玩转三国:从华佗拜师开始 玄幻:我真不是剑仙 我不想当贼头 残阳末剑 舌尖上的神诡游戏 恒古龙尊 破碎的秩序:往年似事 给儿子上一课 星穹纪元 我穿成了反派富二代 今后,我来决定勇者的道路 这不是高能 携酒上吟亭 白墨劫 灵山有个人参娃 最完美的犯罪 恩施至乌鲁木齐汽车票 广州到茶陵汽车 天河到鹤峰的汽车 九江到武宁汽车票 丹竹头到广州汽车 投诉长途汽车电话号码 天河到鹤峰的汽车 玉林至柳州汽车 上海至绵阳客远汽车 星沙-汽车南站 成都到铜仁有汽车吗 成都到铜仁有汽车吗 漯河到明港有汽车吗 广州到茶陵汽车 吉安501在汽车站台 九江到武宁汽车票 成都到乐至最近汽车站 恩施至乌鲁木齐汽车票 芜湖高铁站坐汽车 澄海到郑州汽车站时刻表 广州到茶陵汽车 澄海到郑州汽车站时刻表 芜湖高铁站坐汽车 莱西到黄岛汽车站电话 上饶-常熟汽车 漯河到明港有汽车吗 恩施至乌鲁木齐汽车票 芜湖高铁站坐汽车 芜湖高铁站坐汽车 上海至绵阳客远汽车 九江到武宁汽车票 宁海到商丘的汽车站时刻表 芜湖汽车站到泾县 吉安501在汽车站台 南昌西到瑞昌汽车站时刻表 泉港到泉州的汽车站时刻表 芜湖汽车站到泾县 天河到鹤峰的汽车 南昌西到瑞昌汽车站时刻表 开封有去孟州的长途汽车吗 泉港到泉州的汽车站时刻表 玉林至柳州汽车 罗湖汽车客运站到佛山汽车站要多久时间 成都到乐至最近汽车站 电力汽车停靠站 宁海到商丘的汽车站时刻表 成都到铜仁有汽车吗 泉港到泉州的汽车站时刻表 漯河到明港有汽车吗 江苏港城汽车运输集团 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 没有人类的世界 一代潜龙 坠明 破碎帝国梦 界域自由人之替补器修 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 快连下载 漯河到明港有汽车吗 成都到铜仁有汽车吗 泉港到泉州的汽车站时刻表 泉港到泉州的汽车站时刻表 芜湖高铁站坐汽车 芜湖高铁站坐汽车 成都到乐至最近汽车站 南昌西到瑞昌汽车站时刻表 丹竹头到广州汽车 开封有去孟州的长途汽车吗 电力汽车停靠站 成都到铜仁有汽车吗 上海至绵阳客远汽车 莱西到黄岛汽车站电话 龙岗到惠阳汽车客运站 玉林至柳州汽车 成都到铜仁有汽车吗 成都到乐至最近汽车站 芜湖汽车站到泾县 芜湖汽车站到泾县 龙岗到惠阳汽车客运站 龙岗到惠阳汽车客运站 天河到鹤峰的汽车 成都到乐至最近汽车站 丹竹头到广州汽车 上海至绵阳客远汽车 海门到苏州长途汽车站时刻表 上饶-常熟汽车 江苏港城汽车运输集团 九江到武宁汽车票