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"
联通4g设备安装价格直经32mm齿轮价格十排抽纸机价格电脑全自动毛衣编织机价格多少静电植绒机价格木炭的批发价格是多少钱一吨创维yk-6600h电视价格十排抽纸机价格水果店里苹果的价格LG47寸电视液晶屏碎了维修价格四通ups价格联通4g设备安装价格河北压焊钢格栅批发价格贵阳机制炭价格十排抽纸机价格LG47寸电视液晶屏碎了维修价格195/60r88h轮胎价格人造碳机器价格及图片人造碳机器价格及图片手工棉兜价格oppo蓝宝石手机价格人造碳机器价格及图片水果店里苹果的价格人体 测量仪 价格静电植绒机价格哥特萝莉价格电脑全自动毛衣编织机价格多少人体 测量仪 价格jayjun韩国价格河北压焊钢格栅批发价格  当他以少年身份重回地球,   唯有一人一剑。   会如何抉择?   千年,万年的光阴过去。   少年,还是少年吗?  未来故事梦是一定要做的,万一是真的呢!都市文的天花板,即将迎来发行日为什么想要变强,因为所在乎的人需要我去守护。无限流系统搞笑来袭,看我修神良秀翻四方,这位小友,你准备好小钱钱了吗 蓝星位置暴露,万族窥视,毫无征兆的进入了星际时代。 魔窟降临,巨兽入侵,神灵坐镇其他国家,唯大夏无神庇佑! 在这个热武崩塌的绝望纪元,大夏全民参战,青壮皆赴死。 唯独夏薪,及冠之年,身强力壮,却选择和一群老弱病残一起,留在后方锻剑打铁…… 逃兵,懦夫,大夏之耻,全网怒骂,众叛亲离! …… 夜幕降临,一道遮天蔽日的虚影映照整个大夏。 “吾名传道者,穿越时空,对话先贤,传尔大道,以御强敌!” 对话燧人氏,见证第一缕文明之火诞生,顿悟薪火大道! 对话神农氏,见证神农尝百草,顿悟炼丹大道! 对话大禹,见证禹刊九州,凝聚气运九鼎,镇守国境…… …… 某一日,夏薪无事,身躯盘坐大夏上空,一人一剑。 诸神见状,纷纷退避。 “前方大夏,万族噩梦!!”徐辰一朝穿越发现自己的的幸运值居然是满的?每次开卡别人白光一片,自己却时时出金,而且几乎都是战斗力又高,颜值又高的美少女?“不是你们也太弱了吧,连我卡灵一击都扛不下来啊!”众人满头黑线,你这幸运值开挂的人别人打得过???高中才开学一个月后,高一七班的大家都平凡而和谐的校园生活被一个奇怪的黑色软件打破了,这彻底改变所有人的命运。。“肖舜,你怎么还没死!” “都是你个废物拖累我女儿,要不是你,我女儿早嫁入豪门了!” 入赘三年,受尽冷眼,肖舜饮酒轻笑:“师傅,你让我守护姚家三年我做到了!现如今,我要那群曾经嘲讽过我的蝼蚁,统统跪下!” loser张谅一顿酒把自己喝回了千禧年间! 重来一次,看张谅如何把握住机会实现财富自由! 顺便谈几场轰轰烈烈的恋爱! 可是上学真的很痛苦…… 你还是把我送回去吧……
赠送宝物,抽奖反馈 很想给你一生幸福 废物青年不会遇到兽耳娘 妖道江湖 北极令九州 镡瑆 我出马的那几年 黑夜后的光明 网游:开局无限BUFF,我最强药师 莲生谣 复国计划 濒临毁灭,在末世拯救世界 轩辕招魂 博弈传 社恐求生 椅阑醉琼枝 种族之地:壹 世界劫 重生之从遁去的三开始 口又忄昔 联通4g设备安装价格 SM E500H的中国价格 哥特萝莉价格 创维yk6600h价格 联通4g设备安装价格 华为4g设备rru回收价格 肌力电图仪价格 水果店里苹果的价格 十排抽纸机价格 oppo蓝宝石手机价格 徐双喜+价格 人体 测量仪 价格 静电植绒机价格 nc750x 价格 四通ups价格 河北压焊钢格栅批发价格 肌力电图仪价格 十排抽纸机价格 手工棉兜价格 铂碳催化剂 价格 SM E500H的中国价格 LG47寸电视液晶屏碎了维修价格 木炭的批发价格是多少钱一吨 创维yk-6600h电视价格 nc750x 价格 静电植绒机价格 十排抽纸机价格 木炭的批发价格是多少钱一吨 手工棉兜价格 十排抽纸机价格 河北压焊钢格栅批发价格 SM E500H的中国价格 2016年日上免税店价格 铂碳催化剂 价格 电脑全自动毛衣编织机价格多少 河北压焊钢格栅批发价格 2016年日上免税店价格 哥特萝莉价格 静电植绒机价格 LG47寸电视液晶屏碎了维修价格 电脑全自动毛衣编织机价格多少 2015年江西省水利T型槽价格 手工棉兜价格 nc750x 价格 贵阳机制炭价格 铂碳催化剂 价格 nc750x 价格 电脑全自动毛衣编织机价格多少 jayjun韩国价格 创维yk-6600h电视价格 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 缘曦 我当侦探的日子 仙人庵 山水游 我带着面板在诸天轮回 百度 百度 百度 百度 百度 十排抽纸机价格 创维yk-6600h电视价格 哥特萝莉价格 人体 测量仪 价格 肌力电图仪价格 SM E500H的中国价格 人造碳机器价格及图片 LG47寸电视液晶屏碎了维修价格 nc750x 价格 惠普激光复印机晒鼓价格 nc750x 价格 联通4g设备安装价格 水果店里苹果的价格 直经32mm齿轮价格 直经32mm齿轮价格 创维yk-6600h电视价格 2015年江西省水利T型槽价格 肌力电图仪价格 电脑全自动毛衣编织机价格多少 贵阳机制炭价格 静电植绒机价格 jayjun韩国价格 195/60r88h轮胎价格 惠普激光复印机晒鼓价格 jayjun韩国价格 木炭的批发价格是多少钱一吨 jayjun韩国价格 2015年江西省水利T型槽价格 手工棉兜价格 华为4g设备rru回收价格 亚星官网 亚星官网 万利官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 欧博官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网