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"
家居头像鹿头像图姓吴头像杜鹃花头像网图头像女家居头像梦到画头像姓吴头像头像半情侣美女做头像姓代头像家居头像探探用头像姓代头像姓吴头像美女做头像玄幻的头像军人狼头像军人狼头像那是头像污病男头像军人狼头像铁塔头像微信头像路网图头像女卡通鸭头像杜鹃花头像小时候头像深夏头像探探用头像一个宅男穿越到日本战国时代,逢凶化险,不断适应成长的历险故事。 一声枪响,彻底打破了海天市的宁静。一起持枪杀人案就这样发生了,案发之后,海天市公安局立即展开侦破工作。于是,就开始了一场正义与邪恶的较量。从上个世纪八十年代到本世纪二十年的,四十年的半州,已经经过了风风雨雨。四十年河东,四十年河西。人,只有慈悲心,感恩心,恭敬心,才能善终。 平淡的人生,又或许能够不一样? 太多开挂,天赋变态小说 试试用凡人视角看待异世,主角穿越异世啥都不会混到了成年 机缘巧合跟着天骄才俊 一起修行。 一念之间,主宰至尊,我竟然穿越到游戏里了… “这里是哪里?” “我穿越了?” 穿越遇到兵灾,城外人食人。 世道兵荒马乱,我只想和逃难来的小婢妻努力活下去。 穿越到灵异世界后,林尘凭借着不同口径的真理,成功将正义砸进了各式鬼怪的脑子里。 但是,本该普通的除(火)灵(力)日(覆)常(盖)突然间变了一个模样,犹如末日的舞台一般,无数人鬼粉墨登场。 水库里的奇怪管理员、荒芜一人的李家村、山阳中学的神秘木雕、深藏在积雪下的冰尸..... 没有一个人能够独善其身,没有一个人能够幸免于难。 这次的故事,讲的是鬼,说的是人。 ...... 现代都市和平生活并未持续多久。当平行的世界被人们挖掘到信息,位面重叠,世界重启。这里变成了修行者的世界。无尽的尸海,广阔的荒漠,万族林立,百家争霸,无情的杀戮将一切虚幻斩断,而何处才是人类栖息之地?都市里灯火辉煌,未有一盏为我留灯。都说情场失意职场得意,可现实总是不尽如意。累了吧,那就开始新的人生吧
沉睡千年被挖出后,无敌 八荒古卷 操盘手札记 云定弦 体坛:从奥运百米决赛开始 神秘复苏:我横练无敌 斗篷大帝重生之崛起世纪 寻天界 逍遥小医圣 清宫皇妃 枕月狼王 仙道唯心 龙城战歌 无敌神婿 魔神净世 我的青梅竹马让我去捉妖 唯境 送货小子的逆袭之路 九 影 太上剑魔 兔耳男头像 卖车人头像 玄幻的头像 军人狼头像 兔耳男头像 张三丰头像 信长字头像 穷二代头像 卡通鸭头像 探探用头像 铁塔头像 铁塔头像 微信头像路 美女做头像 头像长照片 网图头像女 信长字头像 卡通鸭头像 污病男头像 家居头像 卖车人头像 姓吴头像 鹿头像图 眨眼头像女 穷二代头像 微信头像路 卡通鸭头像 鹿头像图 污病男头像 卡通鸭头像 军人狼头像 卖车人头像 杜鹃花头像 家居头像 微信头像路 网图头像女 婆字头像 信长字头像 微信头像路 婆字头像 网图头像女 暖头像卡通 那是头像 闭字大头像 眨眼头像女 卖车人头像 铁塔头像 杜鹃花头像 深夏头像 梦到画头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 look up 仰望 灵魂大烧烤 超时空隐杀 一本医书闯天下 民间怪谈诡事录 澳门葡京游戏官网 葡京官网 快连下载 澳门葡京游戏官网 欧博游戏官网 梦到画头像 探探用头像 微信头像路 书记头像 闭字大头像 张三丰头像 闭字大头像 姓代头像 头像半情侣 眨眼头像女 姓吴头像 卖车人头像 兔耳男头像 穷二代头像 兔耳男头像 姓吴头像 张三丰头像 兔耳男头像 眨眼头像女 张三丰头像 深夏头像 网图头像女 深夏头像 小时候头像 头像长照片 闭字大头像 暖头像卡通 铁塔头像 婆字头像 头像长照片