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"
失控列车的电影经典暴力美学电影飓风营救烧脑类电影挪威电影排行榜有关北大荒电影观后感800字失控列车的电影欧美漫电影烧脑类电影吴磊演过的电视剧或电影?电影女鬼有关海龟的电影失控列车的电影李善均的电影有关海龟的电影烧脑类电影电影女鬼浴室 2009 电影武侠电影 护送 追杀武侠电影 护送 追杀电影鬼马神探在线观看电影第三方爱情简介海里电影间谍之桥电影80年代校园电影有关北大荒电影观后感800字昆汀塔伦蒂诺电影音乐挪威电影排行榜午宴 电影电影鬼马神探在线观看李善均的电影如果人生还有的选择,我又何必这样?一个最美的修真时代,一个荡气回肠的修真世界,快来与他一起踏上这修真之旅!世道不靖,民生皆苦。 黑暗里的幽灵,星空中的刺客。 天上地下屠魔弑神,只为创造一个美好的世界! 他是一个来自异世界的灵魂。 不甘心命运被安排,反感这个恶者逍遥自在,善者不得善终的黑暗世界。 为了实现理想,他一路苟着做人,努力积蓄力量,终于改天换日,重塑乾坤!散乱的群星已经归位,离去的神话自梦中返回,旧日的阴影盘旋缭绕,述说着不可看,不可听,不可想的真理。 若理智已被完全撕碎……我们又该相信什么? 【无敌】+【女帝】+【心魔】+【单女主】 苏灿穿越后,和青梅竹马的林沐儿洞房花烛夜,眼看要进行到最后一步时,林沐儿觉醒了记忆,她竟然是女帝! 而苏灿穿越的这个世界,竟然只是女帝的心魔世界! 苏灿则是女帝林沐儿的心魔! 林沐儿和往常一样,回归现实修仙世界,却没想到,这一次,苏灿竟然和她一起回来了! 她的心魔就这样具现化了! 从此,女帝隐藏了身份在苏灿身边,开始了疯狂的养夫之路!天才少年一生多舛,天道不负,命运终将回响;我不装的时候请叫我天人,我装的时候,我就是天!一个未来的地球华夏人,无缘无故穿越到异世大陆,面对着妖、魔、鬼、怪横行的灵界,人族界王的无故消失,各个组织与势力的不怀好意,他又该何去何从。燕雀安知鸿鹄之志……我为鸿天一位山中女子,深入江湖,无奈她身边爱她的人一个个离她去,为了保护她想保护的人,学习武术,变强大,在江湖中风卷残云,江湖门派听到她的名号无不闻风丧胆.....“什么是灵气?”冷瑞提出了疑问。学化学的他穷尽天地之秘,纵横诸天万界,横扫仙鬼神魔。
繁华的守护者 娱乐扮演:奖励角色技能 都市上门狂婿 元鸿纪 澧水悠悠梦 还我天道! 漫漫修行刀剑狂 谁动了我的幸福 鹿行野 铁浮屠:世界的长城 都市:我被迫当上大反派 异界寄生兽 君临山海 虫医 帝王医婿 我拯救了无敌救世主 生存空间:我能看见提示 夜光永恒 洗妖录 工人阶级的电影 电影女鬼 浴室 2009 电影 武侠电影 护送 追杀 工人阶级的电影 电影沪?逭抨? 姐妹情劫大电影 情人电影法国 昆汀塔伦蒂诺电影音乐 李善均的电影 间谍之桥电影 间谍之桥电影 80年代校园电影 电影女鬼 绝唱是哪国电影 有关北大荒电影观后感800字 性感诱惑电影有哪些 昆汀塔伦蒂诺电影音乐 电影第三方爱情简介 失控列车的电影 奥特曼传奇2012电影哪个网站能看 烧脑类电影 经典暴力美学电影飓风营救 海里电影 情人电影法国 80年代校园电影 昆汀塔伦蒂诺电影音乐 经典暴力美学电影飓风营救 电影第三方爱情简介 昆汀塔伦蒂诺电影音乐 武侠电影 护送 追杀 奥特曼传奇2012电影哪个网站能看 挪威电影排行榜 失控列车的电影 80年代校园电影 有关北大荒电影观后感800字 挪威所有的电影 姐妹情劫大电影 80年代校园电影 挪威所有的电影 有关北大荒电影观后感800字 情人+杜拉斯+电影 电影鬼马神探在线观看 性感诱惑电影有哪些 海里电影 奥特曼传奇2012电影哪个网站能看 间谍之桥电影 挪威电影排行榜 电影潜伏 音乐 欧美漫电影 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 幻生秘遇 被闪电击中意外获得异能 腥红轮回 误解与被误解的牛 青蛙的呓语 亚星官网 欧博游戏官网 欧博官网 亚星官网 AG真人 电影第三方爱情简介 绝唱是哪国电影 烧脑类电影 失控列车的电影 工人阶级的电影 情人+杜拉斯+电影 浴室 2009 电影 烧脑类电影 午宴 电影 昆汀塔伦蒂诺电影音乐 武侠电影 护送 追杀 工人阶级的电影 80年代校园电影 挪威电影排行榜 80年代校园电影 姐妹情劫大电影 电影鬼马神探在线观看 有关海龟的电影 情人电影法国 电影女鬼 烧脑类电影 吴磊演过的电视剧或电影? 烧脑类电影 情人电影法国 挪威电影排行榜 烧脑类电影 浴室 2009 电影 挪威电影排行榜 海里电影 欧美漫电影