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"
年轻男头像韩星头像年轻男头像红发女头像哈雷头像搞笑头像.我性粟头像日式头像男无助头像金红色头像苟头像年轻男头像玄幻类头像噬头像日式头像男金红色头像人头像色彩情侣头像人情侣头像人虔诚的头像改头像变色情侣头像人无助头像悲伤头像女哈雷头像头像个性猛红发女头像悲伤头像女虔诚的头像玄幻类头像一个二十一世纪的屌丝,刚完成一单新闻,猝死出租屋,还不知道有没有人收尸就来到了楚国,一个有着宋的憋屈明的铁血的平行空间还是异世界?总之不小心成了异性王唯一的子嗣,可能出场姿势不好,被人用锤子打出了的。周边都是贼兵蛮子鞑子,好在有后世的天线一条,不至于被古人玩死成为最惨穿越者,一路泡妞打蛮子,没事就种种地!当然是真的种地。修仙?修得无情无心,修得孤寡一人。 无情,无义,无感,无心,无怒,无哀之人还算是人吗? 它,手握乾坤,掌世间之人生死。 它,随心所欲,万物皆为蝼蚁。 直到有一天,它,也流出了血,它,也会受伤。 拔剑!弑神!懒得写苦修十余年,却被告知自己有个富家千金的未婚妻?杨祁下山,却没想反遭对方长辈轮番羞辱!   男儿志气尚在,杨祁果断打脸对方,并且提出退婚!   然而,退婚一事不成,杨祁却卷入了江渝的风波之中,在风波之内以逆天医术,超凡武学打拼出一片天地! 一代大帝,君问,世人尊称为问帝,成名后高处不胜寒,打尽天下无敌手的他,最终选择逆天而行,破开时间长河,散尽一身修为,只为重生到年轻时,只是重回年少后,他收因果反噬,变成了一个废少,更是遭遇到前世未曾遭遇的退婚,就在他要喊出三十年河东三十年河西的时候,他发现好像不对劲,这个退婚怎么和他想象的不一样,渐渐的,他发现事情并不简单,当他发现一切都往反方向发展的时候,他选择开始摆烂了。迃?在漫天大学中拾到了一本书,不曾想将自己搭了进去,机缘巧合之下成了“图书管理员” 管理员在一代又一代的传承下出现了命定的守护者,而路忍就是这一代的守护者。 两个人的缘分由此书结下,一件件扑朔迷离的秘密正在等着他们去发现……恋人被逼身死,他怀着滔天恨意进入天劫游戏中; 本想获得极品职业,却落得最差的游戏属性,堪称绝世废物; 天道酬有志者,他历经千辛万苦终于有所收获; 极品职业,携手佳人、好友共抗恶魔,声名鹊起; 战魂、武魂、血魂、法魂,且看他如何抉择! 大敌当前,且看他如何力挽狂澜! 私仇面前,且看他如何对待爱情、亲情和友情! 国家利益,且看他如何先国后家! 纷扰世间,且看他如何矢志不渝! 道士、忍者、剑士、骑士,中西合璧,各国特色; 精彩网游,一切尽在——网游之九转轮回 探索世界!能看,能读,能听,能感受。月高悬于空,星不见其影。 沉眠的暴君从历史中苏醒,漆黑的双翼划过破晓的黎明;巍峨古堡跨越了尘封的的记忆,矗立在洛尔维亚的群山之巅。 当头戴王冠的公主睁开双眼,从死亡归来的旅人重新握住剑柄—— 国王湖的水面不再平静,却依旧深不见底。我自凡俗来,还向红尘去,三个麻钱走天下,一本经书读一生。能与贩夫走卒畅聊,也敢面淬将相公卿,在乡野山村,我自活得逍遥,于繁华都市,亦能不弱于人,不求仙道,不念长生,不想显达,不盼成功。
凤鸣之声 混乱冒险奇妙之旅 综武:我在大宋当皇子 她与罪同行 落晴鸢 元宇宙:出马传奇 大唐缉妖录 拥有超能力后的我 全民领主:开局拥有百倍兵种 噩梦之主 网游使徒 长生神帝 武御群雄 修罗刺 AI:神域进化 异界寄生兽 火影忍者之无尽的旅途 花都之枭雄 大明:我能翻阅华夏图书馆 剑锋之上人界篇 孙子头像 头像狮子 人头像色彩 哈雷头像 孙子头像 斧头头像 忍者的头像 牛画头像 头像个性猛 玄幻类头像 无助头像 黑咖啡头像 头像文字浪 头像狮子 搞笑头像. 哈雷头像 忍者的头像 头像个性猛 改头像变色 年轻男头像 头像狮子 日式头像男 韩星头像 噬头像 金红色头像 头像文字浪 头像个性猛 韩星头像 改头像变色 头像个性猛 哈雷头像 头像狮子 吃水果头像 搞笑头像. 悲伤头像女 哈雷头像 吃水果头像 人头像色彩 头像文字浪 日式头像男 红发女头像 监狱头像照 崔雪梨头像 黑咖啡头像 噬头像 头像狮子 黑咖啡头像 红发女头像 头像文字浪 我性粟头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 归墟世界 兴安岭日记一卷 创世异能少年 全球灾变:我的武功自动修炼 朕要君临天下 澳门葡京游戏官网 葡京官网 AG真人 澳门葡京游戏官网 万利官网 伪字头像 搞笑头像. 搞笑头像. 忍者的头像 忍者的头像 玄幻类头像 韩星头像 无助头像 崔雪梨头像 红发女头像 我性粟头像 腹肌头像吧 日式头像男 人头像色彩 噬头像 伪字头像 玄幻类头像 崔雪梨头像 崔雪梨头像 人头像色彩 忍者的头像 监狱头像照 伪字头像 黑咖啡头像 腹肌头像吧 斧头头像 情侣头像人 监狱头像照 年轻男头像 苟头像