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"
交通银行车卡信用卡额度是多少钱交通信用卡积分享美食交通银行车卡信用卡额度是多少时间交通银行储蓄卡钱转到信用卡怎么办理交通银行精英版环球信用卡交通银行车卡信用卡额度是多少钱交通银行信用卡兑换肯德基交通银行车卡信用卡额度是多少时间交通信用卡积分兑换肯德基交通银行信用卡2天后交通银行沃尔玛万事达环球信用卡精英版交通银行车卡信用卡额度是多少钱交通银行信用卡保险可信交通银行沃尔玛万事达环球信用卡精英版交通银行车卡信用卡额度是多少时间交通银行信用卡 火车票交通银行信用卡额度0交通银行精英版环球信用卡交通银行精英版环球信用卡交通同时申请信用卡吗交通信用卡积分多久到交通银行精英版环球信用卡额度交通信用卡积分兑换肯德基交通银行 信用卡 位数交通银行的信用卡官网首页登录不了交通信用卡几年没提额交通银行储蓄卡钱转到信用卡怎么办理交通信用卡能刷大额吗交通同时申请信用卡吗交通银行信用卡保险骗我的前世是个厨子。他叫刘半程。 这个前世的跌宕起伏,和因果造化,没想到竟影响了我的今生,还有今世......年轻的拳王重生,带着上一世神奇的力量,看他如何纵横哈利波特世界本书一切内容纯属虚构,剧情以小说世界观为准,设定和现实世界有一定差异性。 这是一部战争向的科幻作品,这里描绘了人类的发展历程。 在黑暗的星空之中,在利益与道德之间,人类该作何选择? 面对比自己弱小的原始文明,亦或是强大的奇迹文明。 加入,守护,掠夺,进攻。 联合舰队,启航! 鸽子进化成不那么鸽的鸽子了!尽量一天一更。 本书是原创世界观,世界观很庞大所以需要大量时间来概述。 这本书讲的不是一个人,而是一个世界。本文根据民间传说以及部分地方史志创作完成,从一个一个小小的侧面,为读者展现围绕鞶镇这片北方的土地上,人们生生不息,千年来上演的一幕幕世事人伦、爱恨情仇及家国情怀。本文由一些相对独立的故事组成,虽有关联但不紧凑。首先,从一个人物说起……天龙国皇权覆灭后百年来有三个派系组成,士族派,中立派,变革派维持着整个国家的平衡。 但因为一个二三岁的男人改变了这种平衡,他为变革派代表,一心想要铲除世家门阀让国家成为一个人人平等的国度。重生先天人族,本以为是人生巅峰,哪知道却要面临重重危机,在妖族的虎视眈眈下,陆丰凭借自己的努力,和系统给予的机会, 定人族三祖,册三皇封五帝,立人道圣人,对抗天庭和鸿钧,以及强大的天道—— 陆丰:“巫妖量劫来临之前,我要让整个洪荒,都在人族的铁拳下颤抖……”流水线工人意外穿越至异界,开启了他的一段传奇人生。 上古圣战,天现裂象,神州大地分崩离析,无数碎片散落宇宙化作万千小世界。 数百万年后,一名渔村少年意外踏上修仙路,是机缘巧合还是命运使然? 在这个神魔并立,人妖共存的世界,且看他如何一路披荆斩棘,步步飞升。一场意外,李信穿越异世界,成为了大乾王朝三皇子。 看着千里冰封、万里雪飘的封地,还没来得及感慨,就遭遇到了草原马匪袭击。 幸运的是,李信拥有远超这个时代的科技。 种种田,搞搞工业,建设封地,抵御草原马匪…… 直到有一天,等他回过神来才发现,当初贫瘠寒冷的封地,已经成为了一座钢铁雄城…… “什么?水泥、煤球炉、蒸馏酒……还有这些,都是信王殿下的发明?” “什么?信王殿下的封地,高楼林立、直入天际,那是人类的奇迹啊!” “什么?信王殿下的大军,荡平草原了?那简直是钢铁洪流啊!” “什么?信王大军入关,逼近京城了……” …… 世人在一次又一次震惊中,看着信王李信以封地为起点,逐步打造出一个钢铁皇朝! 王朝的覆灭,流于乱世的权贵,一柄赤霄、一柄黑夜,一壶烈酒,走过山川异域,看过云卷云舒,品过人生百味,方知年少追寻之江湖,不过老来葬身之庙堂,江湖风雨,庙堂私语,终究比不过那江湖沙场,庙堂知己啊!风声、雨声、读书声、终究比不过那沙场的马蹄声啊!功名、烟火、财富,终究比不过那江湖之风流啊!江湖儿郎江湖死,庙堂书生庙堂语。赤霄、黑夜,一刀一剑,便将这江湖捅个底朝天,将这庙堂搅个天翻地覆;且看,司马枫与纳兰明轩快意平江湖;共同入庙堂;携手赴沙场……
断肠刺 追命八年伊始 诡异血尸录 第六天女皇 大明:重开一万次,开局吸功大法 沉楼 都市:我被迫当上大反派 万军 抗天 屠魔傻儿 无限幻想的世界 曙曦乐园 穿越之我在南宋那些事儿 我在古代直播带货 混乱冒险奇妙之旅 X仙道魔途 玄幻:开局被迫下嫁圣女! 精神病院日记 重生之潜龙在渊 剑中影之十大剑客 从假太监到真皇帝 交通信用卡几年没提额 交通银行信用卡 火车票 交通银行信用卡额度0 交通银行精英版环球信用卡 交通信用卡积分享美食 交通信用卡能刷大额吗 交通银行信用卡还款了 交通银行信用卡3万分24 交通信用卡免费星巴克 交通银行信用卡保险可信 交通银行信用卡活动 2017 交通银行信用卡活动 2017 交通银行 信用卡 位数 交通银行信用卡 火车票 交通银行车卡信用卡额度是多少钱 交通银行的信用卡官网首页登录不了 交通银行信用卡还款软件 交通信用卡几年没提额 交通信用卡积分多久到账 交通银行车卡信用卡额度是多少时间 交通银行物美信用卡 交通银行车卡信用卡额度是多少时间 交通信用卡积分多久到账 交通银行精英版环球信用卡额度 交通银行信用卡2天后 交通同时申请信用卡 交通信用卡几年没提额 交通信用卡积分多久到账 交通信用卡积分多久到 交通信用卡免费星巴克 交通银行精英版环球信用卡 交通银行物美信用卡 交通银行储蓄卡钱转到信用卡怎么办理 交通银行车卡信用卡额度是多少钱 交通银行 信用卡 位数 交通银行的信用卡官网首页登录不了 交通银行储蓄卡钱转到信用卡怎么办理 交通银行信用卡还款了 交通银行 信用卡 位数 交通银行车卡信用卡怎么样 交通银行的信用卡官网首页登录不了 交通银行信用卡3万分24 交通同时申请信用卡吗 交通银行信用卡还款软件 交通银行沃尔玛万事达环球信用卡精英版 交通银行物美信用卡 交通银行信用卡活动 2017 交通银行的信用卡官网首页登录不了 交通同时申请信用卡 交通银行信用卡额度0 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 亚星官网 森林之子 卡米斯大陆编年史 天下常宁 逍遥公子在大周 众神的人间日记 皇冠登3出租 澳门葡京游戏官网 澳门葡京官网 万利游戏官网 快连下载 交通信用卡免费星巴克 交通银行车卡信用卡额度是多少 交通银行信用卡2天后 交通银行信用卡还款了 交通银行精英版环球信用卡 交通银行信用卡保险可信 交通银行车卡信用卡怎么样 交通银行信用卡活动 2017 交通银行信用卡 火车票 交通信用卡能刷大额吗 交通信用卡能刷大额吗 交通信用卡积分兑换肯德基 交通信用卡积分多久到 交通银行信用卡还款了 交通银行信用卡还款软件 交通银行信用卡保险骗 交通信用卡几年没提额 交通同时申请信用卡吗 交通银行信用卡 火车票 交通银行信用卡额度0 交通同时申请信用卡 交通银行信用卡3万分24 交通银行车卡信用卡怎么样 交通银行信用卡还款软件 交通银行物美信用卡 交通信用卡免费星巴克 交通信用卡免费星巴克 交通银行信用卡3万分24 交通银行信用卡3万分24 交通银行沃尔玛万事达环球信用卡精英版