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"
鸡年邮票邮票收藏价格表邮票吧中国邮票中国邮票价格表文革邮票欧美群迅雷下载邮票互动网邮票价格女幽灵 百度网盘下载 迅雷下载 废土之上,人类社会秩序濒临崩溃。   异兽肆虐,一座座高墙拔地而起。   异能,成为人类对抗异兽的主要武器——异能者、异能材料、异能武器……   有人认为异能是一切不幸的源头,有人认为异能是上帝赐予的利剑,也有人认为异能是改变世界的契机!   这是一个充满希望的时代,也是最残忍的时代。   浩劫不止,王无终时…… 来自星辰的启示, 人与神明相抗争。 超前进化的智慧, 痴迷幻梦不愿醒。 败军之将,梦途惊醒,逆天改命,铸就新(醒)程。  前世,杨羽自暴自弃,整天鬼混,导致妻子女儿惨死眼前。   今生,杨羽仙帝归来。   有仇报仇,有怨报怨,守护妻女,所向披靡! 大明万历四十八年,陈操因为一次意外魂穿明朝,开启了人生霸业之旅伏尸千里,白骨成山,他站在山巅俯视众生…… 为朋友他可散尽家财,为道义他愿舍弃荣华,为国家能南征北战,为爱人他敢血洗黄沙…… 让我们追随旷世战神甄开心的步伐,一起斗恶霸、杀贪官、斩尸鬼、灭厉魂……我莫名的来了了一片大陆,这里可以有龙国的东风,也可以有西方的魔法。可以有激情的战斗,也可以有惨破的逃亡。还有…… 全书以第一人称的视角,以叙事的手法讲述故事。神与仙的比拼,妖与魔的碰撞,机器与人的厮杀,这里有最神奇的大陆,有最热血的青年,有最精彩的战斗, 让云岚带你开启星空的纪元之旅。双日凌空,神秘再现,在科技崩溃的废墟中,万物迎来了无限进化! 穿越而来的沈凌,激活了自己的无限世界模拟器。 只要是花费足够的能量,就能够获得在模拟世界中得到的修为、武功和物品! 于是,在小李飞刀的世界中,沈凌获得了小李飞刀! 在大唐双龙的世界中,沈凌修成了剑心通明! 在蜀山的世界中,沈凌拿到了化血神刀! 在洪荒的世界中,他夺取了诛仙四剑……作者bananana,12岁,爱创作的猫头鹰特战精英深入敌后昆捣毁了敌人的雷达站,在敌人的导弹轰击下昏迷被俘,从此开启了为被俘士兵雪耻,捍卫华厦掘起的征程。
邮票行情 生肖邮票 龙邮票 邮票吧 香港回归纪念邮票 邮票收藏价格表 鸡年邮票 中国邮票 邮票价格 邮票收藏价格表 文革邮票 邮票互动网 民居邮票 奥运邮票 邮票收藏价格表 中国邮票价格表 十二生肖邮票 第三轮生肖邮票 十二生肖邮票 邮票行情 文革邮票 南京文交所钱币邮票交易中心 香港回归纪念邮票 纪念邮票 邮票行情 邮票网 邮票价格 生肖邮票 邮票吧 龙邮票 十二生肖邮票 邮票市场 邮票吧 猴年邮票 邮票图片 鸡年邮票 邮票 邮票收藏价格表 邮票图片 龙邮票 诡道志异雷狼之旅我无限流玩成了都市文极道帝师孤夜辞十主传逍遥修仙长生传大纪西游掠刀太古第一神王仙帝途霸婿崛起龙踏青云自由不与我日破苍穹穿越多年我竟是反派?我老婆是快穿文女主超级人工智能兄弟,带我修仙黎明之末世纪元亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 【薇-電132-②⑧⑧⑧-8433】皇冠登3出租 【薇-電132-②⑧⑧⑧-8433】皇冠登3出租 【薇-電13228888433】皇冠登3出租 【薇-電132-②⑧⑧⑧-8433】皇冠登3出租 皇冠登3出租 薇-電 132-②⑧⑧⑧-8433 快连官网 - 上海曲德曲网络科技有限公司 快连官网 - 上海曲德曲网络科技有限公司 快链下载 - 上海曲德曲网络科技有限公司 Lets快连 - 上海曲德曲网络科技有限公司 快链加速器 - 上海曲德曲网络科技有限公司 快连官网 - 上海曲德曲网络科技有限公司 快链下载 - 上海曲德曲网络科技有限公司 快连官网 - 上海曲德曲网络科技有限公司 快链加速器 - 上海曲德曲网络科技有限公司 Lets快连 - 上海曲德曲网络科技有限公司