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"
官场小说 特异功能典心小说 姑娘魅魔 销魂 小说舞蹈房女生 小说阿耐的小说 艰难的制造官场小说 特异功能古代小说 男主打了女主板子魅魔 销魂 小说打昏 小说代写小说 自己定主角人设写小说的歌魅魔 销魂 小说男主穿红衣妖孽小说写小说的歌雨中下跪 小说代写小说 自己定主角人设小说 成熟漂亮老师楚王妃全文免费阅读 小说全集楚王妃全文免费阅读 小说全集超玄幻文明 小说淫在舰娘 小说楚王妃全文免费阅读 小说全集打昏 小说捆绑小说 古堡男爵夫人女主叫绿xx的小说跟军火有关玄幻小说有 花家 小绿女主叫绿xx的小说跟军火有关捆绑小说 古堡男爵夫人超玄幻文明 小说男主穿红衣妖孽小说中华大地,文化博大精深,源远流长,造就一批批的文人才子,王侯将相,普通大众,也就是再这样的情况下,成就今天的中华文化,中华精神。 从小民百姓到达官贵人,从富丽堂皇到乡野之地,从雍容华贵到下里巴人,在这里,我们将会一一领会 文王到始皇,汉高祖到唐太宗,以及王侯将相宁有种乎,都在这里尽情的展翅高飞,发挥属于自己的时代欲望与愿望,仇恨与守护...... 名为“奇迹”的力量往往需要付出代价 这是关于少年北星河,不堪忍受命运的安排,通过“奇迹”逆天改命的故事。 很认真的介绍:一本很普通的系统文(雾)清末,列强纷纷侵入中国,他们在中国领土上横行霸道,任意划分势力范围,中国民族危机日益加深,百姓生活在水深火热之中。伴随列强入侵的西方传教士打着传播福音的旗号,勾结官府,鱼肉百姓,招收了大量不法教民。在其庇护下,教民为非作歹,欺压良善,激起民众的普遍痛恨,民教冲突不断升级,以“扶清灭洋”为口号的义和团悄然兴起。戊戌政变后,保守派得势,他们迷信义和团刀枪不入的神功,欲借其达到排外的目的,在保守派的纵容和推动下,义和团迅速发展壮大,他们毁铁路、拔电杆、烧教堂、杀教民,逐步由山东直隶进入京师。列强大为恐慌,以保卫使馆和传教士为由,组建八国联军攻陷北京,慈禧太后携皇亲国戚仓皇西逃,留下千年古都被洋人蹂躏……武朝妖魔横行,天帝下令肃清人界妖邪,司法仙官林墨阳奉命除妖。 抓妖怪,谈恋爱。 笑看天地间掀起这场巨大波澜,芸芸众生万般命,一剑出鞘定乾坤!天龙国皇权覆灭后百年来有三个派系组成,士族派,中立派,变革派维持着整个国家的平衡。 但因为一个二三岁的男人改变了这种平衡,他为变革派代表,一心想要铲除世家门阀让国家成为一个人人平等的国度。武道一途,逆命而上! 人欲拦我,屠人! 神欲拦我,斩神! 天欲拦我,灭天! 道欲拦我,伐道! 命运蹉跎又能如何,三尺青锋,一剑斩之!王富贵一觉醒来发现自己穿越到一个破落户家里,一出门还白捡了个老婆,为了养活一大家子,王富贵不得不想方设法搞钱!设计时装、建造工厂,到后来居然连手机都有了……王富贵就这么成为大夏第一号大富豪,还顺便收个皇帝做小弟!一名少年天赋异禀,因被手足残害险些命丧他手,不曾想因祸得福在机缘巧合之下寻得仙界神兵。当绝世神兵再现,引仙魔觊觎之时,他又将迎来一场怎样的命运呢?生命就是一场经历。没了高中的紧张,大学里放松了很多。 思想上的经历,可以通过多读书来实现。但生活上的经历,只能是自己切身体会。 大学四年,在酒吧兼过职,处了舞蹈系最漂亮的女朋友,球场上跟体育生比过武,跟英语专业最牛逼的男生交了朋友,社团招新上出名全校,也受过其他学生的欺凌,看到过同学生命的逝去,也一直结识更多新的朋友。 小说来源于现实,现实又何尝不是一部小说。
重生:回到过去当医圣 外星有我八个妻 万道帝皇 神算异世 公转 血战匈奴 心道行 师姐请自重 万年屠尸录 忘川河下 极品遗孤 何以为家! 白羽沉梦洛星辰 真罪:永恒之时 半吊子闯红尘 光遇, 全民御兽:开局天赋映照诸天 娘胎:开局觉醒幽冥魔体,女帝护道! 从鬼灭开始穿越世界 重生敖丙之重振朝歌 小说 mps 十四福晋+佛清+小说 小说 成熟漂亮老师 阿耐的小说 艰难的制造 小说 mps 废才 古庸痴笑 小说 小说 成熟漂亮老师 黑暗之地 小说 玄幻小说有 花家 小绿 小说仕途迷情 特别护理 了却孽缘 乖摸摸头小说在线阅读 乖摸摸头小说在线阅读 叛逆的鲁鲁修小说 迅雷下载 十四福晋+佛清+小说 官场小说 特异功能 阿耐的小说 艰难的制造 重生人鱼的写手之路 优酸乳 小说 玄幻小说有 花家 小绿 主角善良 正直 小说 魅魔 销魂 小说 十四福晋+佛清+小说 雨中下跪 小说 典心小说 姑娘 写小说的歌 代写小说 自己定主角人设 叛逆的鲁鲁修小说 迅雷下载 玄幻小说有 花家 小绿 典心小说 姑娘 主角善良 正直 小说 玄幻小说有 花家 小绿 阿耐的小说 艰难的制造 河自漫漫景自端 之类小说 舞蹈房女生 小说 官场小说 特异功能 捆绑小说 古堡男爵夫人 阿耐的小说 艰难的制造 舞蹈房女生 小说 小说 成熟漂亮老师 叛逆的鲁鲁修小说 迅雷下载 雨中下跪 小说 女主叫绿xx的小说跟军火有关 小说仕途迷情 特别护理 了却孽缘 华晨宇的小说 重生人鱼的写手之路 优酸乳 小说 写小说的歌 十四福晋+佛清+小说 乖摸摸头小说在线阅读 女主叫绿xx的小说跟军火有关 叛逆的鲁鲁修小说 迅雷下载 古代小说 男主打了女主板子 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 我的前世记忆之太古山海 非同寻常的治疗 宇宙之上是什么 遗春楼:我撩尽天下美女 灭道一剑 欧博官网 亚星管理平台 澳门葡京游戏官网 欧博官网 亚星游戏官网 男主穿红衣妖孽小说 小说 成熟漂亮老师 古代小说 男主打了女主板子 写小说的歌 废才 古庸痴笑 小说 华晨宇的小说 河自漫漫景自端 之类小说 十四福晋+佛清+小说 写小说的歌 主角善良 正直 小说 十四福晋+佛清+小说 小说仕途迷情 特别护理 了却孽缘 淫在舰娘 小说 女主叫绿xx的小说跟军火有关 雨中下跪 小说 古代小说 男主打了女主板子 玄幻小说有 花家 小绿 捆绑小说 古堡男爵夫人 废才 古庸痴笑 小说 重生人鱼的写手之路 优酸乳 小说 楚王妃全文免费阅读 小说全集 代写小说 自己定主角人设 捆绑小说 古堡男爵夫人 淫在舰娘 小说 乖摸摸头小说在线阅读 魅魔 销魂 小说 打昏 小说 典心小说 姑娘 官场小说 特异功能 小说 mps