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"
末世网游之兽伴+洛冰凌+小说小说主角色末世网游之兽伴+洛冰凌+小说火影之任务系统很坑爹 莫离逝 小说古今庸龙 影梦痕 小说只要你爱我 妾心如水 小说花都保姆+空臣+小说末世网游之兽伴+洛冰凌+小说精品小说色人和狗小说重生炮灰之权谋 李香漪 小说末世网游之兽伴+洛冰凌+小说地风升 小说好看的 官场小说小说中的级是有真神武魂类人和狗小说农村H小说易客小说易客小说琅琊榜小说 晋阳长公主小说!学院魔法大陆易客小说精品小说色欲求不满 小椅子 小说古今庸龙 影梦痕 小说国家行动小说火影之任务系统很坑爹 莫离逝 小说欲求不满 小椅子 小说琅琊榜小说 晋阳长公主地风升 小说在原本的世界其实还存在着许多与之极其相似却又截然不同的平行空间,这里不是科学鼎盛,文明繁衍的世界,一群自以为是的能力者妄想重新构建新世界的秩序,社畜青年于真然某日收到一份神秘的快件,从而意外进入平行世界的大门。谁能左拥天下,右抱爱情,笑看风云数千载?太阳神?佛祖?朱雀?光神?青龙?水神?玄武?白虎?谁主宰风云数千载!“三更堂?阎王让你三更死,谁敢留你到五更的三更堂?” 胖哥,先为不可胜呀,算无遗策呀,智珠在握呀。被打的吐血还在这装? 兄弟二人,美女撑腰,携酒上吟亭,满目江山列画屏。我自人间仙一剑,斩尽三千独做仙 她是黑暗界的暗影君王,创造一个帝国,带领着七大军团向全世界进军,只为给她的子民带来一片乐土。 那一年全世界联盟反击,当君王殿防御火力全开的时候,也预示着君王殿的落幕。 三百年后,一名少年,重新创造君王殿,他要卷土重来…… “啥?别闹,上一世的我居然是个倾城女子,但我对自己没兴趣,我还是比较喜欢养蛇,小蛇多乖呀,除了会咬人之外……”一无是处的肥宅,重生后化身为坐拥千万粉丝的主播,打造自己的商业帝国,可偏偏只有十年的寿命,他该怎样左右他的时间为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   宋世在机缘巧合之下来到了一个光怪陆离的世界,与他同来的还有一个神秘系统,在系统之中只要存在的功法武技,都能通过贡献点获得。 宋世:那岂不是游戏中那些屌炸酷炫的技能也行? 狂风绝息斩、瞬狱影杀阵……诸如此类的武技竟然还能随着宋世系统的升级而升级。 在修真时代,看宋世以另类的武技功法征服各个世界……因果轮回,天道悠悠传奇的过往,能否在寻前世过往。我以凤凰之身斩尽恶人, 我以血肉之躯除尽杀戮。 少年出生在一个普通到不能再普通的小村子里,无奈世界残酷至极,人和人,村和村,城和城等处处矛盾频发,少年父母因一些原因而被杀害,少年只能眼睁睁的看着,他愤怒,他一定要报仇,除尽世间杀戮。
云翎说 只有我能用召唤术 空灵髓 重生,我依旧是傀儡 开局我就火爆全网 成长:少年的一生 末世龙神归来 废土巫师 灭仙神源 刀问三十三 歌行诸天 滚滚红尘为红颜 穿越之都市捉妖人 谁在谁的背后 异能世界:开局激活神之手 界元冥端 蛮荒第一狂徒 重生之我是隐士高人 金钱蒙住眼 吾乃小白脸 命途纪 小说 晕倒 地风升 小说 夏浅浅 小说 酷似 小说 小说 晕倒 傲风你是我的 墨雅 小说 命犯桃花之神机漏算 小说 Luan lun小说 国家行动小说 魔兽之最终召唤+best+小说 精品小说色 小说 第 章 挠 脚 啊 哈 痒 小说 晕倒 酷似 小说 只要你爱我 妾心如水 小说 古今庸龙 影梦痕 小说 命犯桃花之神机漏算 小说 国家行动小说 小说!学院魔法大陆 末世网游之兽伴+洛冰凌+小说 酷似 小说 小说中的级是有真神武魂类 小说主角色 好看的 官场小说 人和狗小说 小说 晕倒 国家行动小说 小说主角色 小说!学院魔法大陆 国家行动小说 古今庸龙 影梦痕 小说 酷似 小说 玄幻小说林 只要你爱我 妾心如水 小说 欲求不满 小椅子 小说 古今庸龙 影梦痕 小说 玄幻小说林 农村H小说 小说 晕倒 小说中的级是有真神武魂类 火影之任务系统很坑爹 莫离逝 小说 魔兽之最终召唤+best+小说 小说最新章节 小说 第 章 挠 脚 啊 哈 痒 好看的 官场小说 酷似 小说 小说 第 章 挠 脚 啊 哈 痒 火影之任务系统很坑爹 莫离逝 小说 小说 晕倒 花都保姆+空臣+小说 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 极度灵长 龙之谷英雄 魔神净世 从盗墓笔记开始签到 表白校花,获得魔幻水晶果 澳门葡京官网 AG真人 快连下载 澳门葡京官网 欧博官网 地风升 小说 小说 晕倒 小说 第 章 挠 脚 啊 哈 痒 玄幻小说林 国家行动小说 人和狗小说 人和狗小说 小说 晕倒 小说 晕倒 凰破惊天 雁飞惊云 小说 小说中的级是有真神武魂类 琅琊榜小说 晋阳长公主 酷似 小说 易客小说 命犯桃花之神机漏算 小说 只要你爱我 妾心如水 小说 魔兽之最终召唤+best+小说 小说 第 章 挠 脚 啊 哈 痒 酷似 小说 国家行动小说 花都保姆+空臣+小说 酷似 小说 末世网游之兽伴+洛冰凌+小说 欲求不满 小椅子 小说 小说 晕倒 小说主角色 凰破惊天 雁飞惊云 小说 夏浅浅 小说 只要你爱我 妾心如水 小说 古今庸龙 影梦痕 小说