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"
周冬雨个性头像黑色黑暗系头像男生周冬雨个性头像头像女生带彩虹粉色炫舞情侣头像一生一世孙悟空红色衣服动漫头像一家三口图片卡通头像背影图片周冬雨个性头像意境文艺头像男非主流不带字男头像霸气纹身很酷的头像周冬雨个性头像头像 我喜欢上你了什么头像比较闷骚秋天的风景微信头像非主流不带字男头像霸气小左动态qq头像女生头像伤感霸气性感黑白女生头像伤感霸气性感黑白女带猫闺蜜头像个性网幽默搞笑qq动态头像女生头像伤感霸气性感黑白意境文艺头像男卡通头像 唐僧炫舞情侣头像一生一世萌小孩金色头发男可爱头像头像女生带彩虹粉色卡通头像 唐僧女带猫闺蜜头像个性网头像 我喜欢上你了世界遭到入侵,最强武道大帝力战而亡,重生在九千年后的世界,成了酒馆的店小二,并觉醒了全能系统。 通过系统,张易能够看穿世间功法、丹方和对手的缺陷。 为了抵抗即将而来的乱世,张易再次踏上修炼之路。 在他破格的实力下,对他心怀敬畏的人、闻名而至的人、求爱的人络绎不绝。 然而,就在他步步建造势力之时,那过去让世界陷入恐怖的危险,又开始在暗地里行动了……我叫陆晓宇,在和女朋友网恋一年后,她寄给我一本异界生存指南手册和一张地图,她明显就是想让我找她啊!于是我照着地图找到了一个隐蔽的山洞…… “大哥,然后我就被你们给抓住了,我发誓我说的都是真的!真不是来偷什么宝藏的啊!” 一群狗头人将陆晓宇团团为住,虎视眈眈的看着他胡扯。 少年成长之途,这路,通往未来的荣光,也连接了旁人的过往……三年前,他被迫前往北境当兵。三年后,他在战场封神,四海皆震。有一天,他得知自己还有一个女儿,随时会有危险,他不顾一切从战场归来,他是铁血战神, 他所到之处,必定又是一场腥风血雨。庙里烟火旺盛,众生祈求平安 神灵听着碎碎细语 抬眼便是风情万种的人间,闭眼是往昔 一年又一年 小镇里的云雾被一张大手揭开 嘘!别出声! 欢迎来到神灵的世界找回记忆,先去釜山!重回1998年,曾经暗恋的女孩青春正好,穿一条裤子的兄弟还没变成渣男,幸福美满的家庭也不像后来那么的风雨飘摇。 正是刚刚好的年纪,也正是刚刚好的时代。 起伏跌宕的九零年代即将逝去,波澜壮阔的新世纪即将到来,林白药走诡道,行霸道,悄然崛起……九世善人意外身亡仍单身,转世穿越成农场主 地狱开局,群狼环伺,战狼,战狼,战狼 爆装备-无量玉坠:普欲度脱一切众生 善心换功德,功德致富经开启 劝学,修路,赛马,放牛羊 蓝天,白云,亮星星, 老师,记者,网红,小明星 兰云天说:“乡亲们,等我先富起来,带领大家脱贫致富,共同富裕不是梦”。 别人开局要么神器在手天下我有,要么秒天秒地。 而苏辙开局女主直接跑路……于是为了追回女主苏辙开始了他的苦(装)逼之路…… 超脱,是永恒自在,逍遥无量,是法身净土,妙真如性…。是混沌无尽生灵历经轮回的万世追求,当徐衡超越了本有的命运,把命运一次次地打碎而后重立,最后一弹指间碎灭无穷命运,成为了真正的觉醒者,剥开了超脱的层层迷雾,发现了那超脱后竟藏着这世间的最不可言,徐衡把他叫“超 世 间”!
世无殇 荡世九歌 南风过境迁 遥远的桥 转生为自己小说的角色?! 九转玄龙经 人道圣尊 渡元 我只想安全的浪 今天做梦了吗 虚拟狩猎 梦断大千世界 樱花树下的罪恶 星穹之子 浮生六界行 日常朝夕 无情剑客有鞘剑 仙始修魔 大人,时代变了 七组的故事 什么头像比较闷骚 动漫撅嘴头像 孙悟空红色衣服动漫头像 win7系统自带头像狗 什么头像比较闷骚 qq狗头像戴眼镜 周冬雨个性头像 国外豪车帅哥头像 纹身很酷的头像 蓝球舞男生头像 女生网头像动态图片大全 秋天的风景微信头像 男生头像短头发背影 动漫撅嘴头像 忧伤霸气的网名女生头像 意境文艺头像男 周冬雨个性头像 纹身很酷的头像 炫舞情侣头像一生一世 一家三口图片卡通头像背影图片 动漫撅嘴头像 小左动态qq头像 女生头像伤感霸气性感黑白 幽默搞笑qq动态头像 萌小孩金色头发男可爱头像 男生头像短头发背影 纹身很酷的头像 女生头像伤感霸气性感黑白 炫舞情侣头像一生一世 纹身很酷的头像 意境文艺头像男 动漫撅嘴头像 女生网头像动态图片大全 孙悟空红色衣服动漫头像 卡通头像 唐僧 炫舞情侣头像一生一世 女生网头像动态图片大全 小左动态qq头像 蓝球舞男生头像 秋天的风景微信头像 头像女生带彩虹粉色 qq古董字头像 动漫头像女生婚礼 2017年成熟头像 什么头像比较闷骚 qq狗头像戴眼镜 2017年成熟头像 头像女生带彩虹粉色 蓝球舞男生头像 一家三口图片卡通头像背影图片 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 郭十二传 神秘纪 且慢,容我算上一卦 定命时代 逆命人守则:斩神! 万利游戏官网 欧博官网 皇冠登3出租 万利游戏官网 快连下载 女带猫闺蜜头像个性网 意境文艺头像男 炫舞情侣头像一生一世 炫舞情侣头像一生一世 黑色黑暗系头像男生 黑色黑暗系头像男生 2017年成熟头像 蓝球舞男生头像 萌小孩金色头发男可爱头像 头像女生带彩虹粉色 qq狗头像戴眼镜 win7系统自带头像狗 国外豪车帅哥头像 什么头像比较闷骚 黑色黑暗系头像男生 qq古董字头像 意境文艺头像男 2017年成熟头像 头像女生带彩虹粉色 头像女生带彩虹粉色 幽默搞笑qq动态头像 黑色黑暗系头像男生 微信头像汉子 意境文艺头像男 动漫撅嘴头像 国外豪车帅哥头像 孙悟空红色衣服动漫头像 男生头像短头发背影 微信头像汉子 女生头像伤感霸气性感黑白