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"
民生信用卡 逾期 起诉美国信用卡还款日民生信用卡&#39;&#39;民生信用卡好还是兴业民生信用卡卡一直文件审核民生信用卡 逾期 起诉没工作网上信用卡吗民生信用卡&#39;&#39;民生高额度信用卡没有预留电话怎样查信用卡进度民生信用卡哪个卡好批民生信用卡&#39;&#39;梦幻西游信用卡&#39;&#39;民生信用卡哪个卡好批民生信用卡】没有预留电话怎样查信用卡进度没接到交行信用卡电话民生信用卡开卡礼如何领取民生信用卡卡一直文件审核民生信用卡 身份证过期民生高额度信用卡办理民生信用卡开卡礼如何领取民生高额度信用卡民生信用卡 更新 多久民生信用卡很差民生申请信用卡容易吗民生信用卡很差民生信用卡 8000 额度民生信用卡 身份证过期没工作没信用卡微信可以贷款吗一剑一仙,斩落人间!"三阴绝脉"者,史书所载;凡患此症者非但终生不能修武,并且几乎无一人能侥幸活过十三岁。命运关上所有的幸运之门,却开了一扇窗,令其在绝境中峰回路转,当其踏着尸山血海攀上巅峰之时,骇然发现一个惊天之秘。暮然回首,惊觉自己脚下的这片世界幌若恒河之沙粒,渺若微尘。何去何从……来自星辰的启示, 人与神明相抗争。 超前进化的智慧, 痴迷幻梦不愿醒。 败军之将,梦途惊醒,逆天改命,铸就新(醒)程。 一个一个的离奇案件接踵而至。。 所有的真理只是还原案件的一个出发点, 如果你是一个审理着,你会怎么做? 带着你的好奇,你的想象力来跟我一起走进这场博弈的游戏 本来就只有一个平凡的一生,哪有那么多机遇让你改变自己的命运一次意外,带来的改变人生轨迹,从此开始了,不一样的人平头小子苏禅,带着妹妹苏婉儿到处流浪,岂料命运不济,遭受恶人毒害,身中奇毒,静脉尽断,险些丧命。天不绝人之路,开启系统,提升修炼。一边复仇一边恋爱,顺便带妹修仙。神话神兽,寻得九影,路途艰辛,似已西游记人一生总有后悔的事,如果能重来你还会那样选嘛!山寨,是一门艺术,尤其是重生之后。 赵子川带着十三年年的山寨经验,重活了……放眼望去,遍地是黄金。 从潮牌开始缔造。 他赞助女足,女足奥运夺冠。 他签下15岁的大姚,18岁,大姚就在NBA篮下称霸! 他拉低钩子价格,引来ad围剿,却淡淡一笑,“你们以为,我在做潮牌,实际上,我在投资这个时代。” “西兰,是神话。” “我也是。”
宇宙的星纪元 妖孽小村医 热血骤燃 天域剑圣 万古帝一 最强系统之我是主角 云择 在下真不是道士! 都市:万界贩卖机 我家猫咪嫌我太菜,带我打穿惊悚游戏! 九龙狂婿 生存班级 王殿 元宇宙:精神末世大逃杀 真相?真相! 无法抗拒的永恒 大唐憨婿 没有结局之责任 熊的孩子 末世求生,开局成为造物主 民生留学生信用卡(金卡) 民生信用卡去哪里注销 没接到交行信用卡电话 民生信用卡卡一直文件审核 美国信用卡还款日 民生信用卡 8000 额度 没接到交行信用卡电话 没办过信用卡征信报告 民生申请信用卡容易吗 梦幻西游信用卡&#39;&#39; 每个月看信用卡账单心都碎了 每个月看信用卡账单心都碎了 民生信用卡 机场停车 民生信用卡去哪里注销 民生信用卡 逾期 起诉 民生信用卡卡一直文件审核 没人收信用卡会被寄回去吗 民生留学生信用卡(金卡) 美国信用卡规模 民生信用卡&#39;&#39; 民生信用卡去哪里注销 民生信用卡&#39;&#39; 美国信用卡规模 民生信用卡开卡礼如何领取 没有预留电话怎样查信用卡进度 民生信用卡 机场停车 民生留学生信用卡(金卡) 美国信用卡还款日 美国信用卡规模 民生申请信用卡容易吗 民生信用卡卡一直文件审核 民生信用卡普卡金卡 民生信用卡好还是兴业 民生信用卡 逾期 起诉 民生信用卡 更新 多久 民生信用卡很差 民生信用卡好还是兴业 没接到交行信用卡电话 民生信用卡 更新 多久 民生信用卡】 民生信用卡很差 没办过信用卡征信报告 民生信用卡 身份证过期 没人收信用卡会被寄回去吗 民生信用卡哪个卡好批 民生信用卡普卡金卡 每个月看信用卡账单心都碎了 民生信用卡很差 民生信用卡 机场停车 没公司怎么申请信用卡 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 溪鱼草记 导线 阳春暮雪 破碎的秩序:往年似事 邮集 亚星官网 万利官网 欧博官网 亚星官网 亚星管理平台 民生信用卡 机场停车 民生信用卡去哪里注销 每个月看信用卡账单心都碎了 美国信用卡规模 民生高额度信用卡办理 梦幻西游信用卡&#39;&#39; 民生信用卡 逾期 起诉 民生信用卡很差 没工作没信用卡微信可以贷款吗 没工作网上信用卡吗 梦幻西游信用卡&#39;&#39; 民生信用卡 更新 多久 没工作网上信用卡吗 没人收信用卡会被寄回去吗 没人收信用卡会被寄回去吗 民生信用卡去哪里注销 民生信用卡哪个卡好批 民生高额度信用卡 民生信用卡 信报 民生信用卡&#39;&#39; 民生信用卡 逾期 起诉 美国信用卡还款日 没办过信用卡征信报告 没公司怎么申请信用卡 民生留学生信用卡(金卡) 民生信用卡 8000 额度 民生留学生信用卡(金卡) 民生信用卡开卡礼如何领取 民生申请信用卡容易吗 民生信用卡 机场停车