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"
温州到嵊州汽车时刻表查询福安市长途汽车站石家庄去天津汽车多长时间到银川至灵武汽车站时刻表海宁安吉汽车时刻表温州到嵊州汽车时刻表查询达州到恩施的汽车票石家庄去天津汽车多长时间到舟山到长兴汽车驻马店到郑州长途汽车多长时间东莞东城到吉首汽车站时刻表石家庄去天津汽车多长时间到杭州汽车南站修理厂东莞东城到吉首汽车站时刻表石家庄去天津汽车站时刻表驻马店到郑州长途汽车多长时间正阳-汝南汽车站光明路汽车站在哪里光明路汽车站在哪里太原到江西南昌汽车西安到定西汽车时刻表光明路汽车站在哪里舟山到长兴汽车个旧到红河的汽车时刻表海宁安吉汽车时刻表长安汽车站到南城汽车站时刻表聊城至台前汽车时刻表个旧到红河的汽车时刻表太原到江西南昌汽车杭州汽车南站修理厂以阿汤哥之躯雄霸末世变异世界这是一部架空的水浒传。 小书生来到大宋朝,在青楼里称雄、太监群里横走,闯大事业、做人上人;和李师师吟诗词,成赵元奴座上客,泡泡公主、郡主,觅觅美娘、娇娘…戏林冲娘子,夺武松嫂子,撩花荣妹子,敢和扈三娘比武艺、陪梁红玉练功夫…没事装装逼,淘淘宝,修侠访道,结交些五湖.四海乱七八糟的好汉,生活是多么美好!可是一不小心身陷国恨家仇的漩涡。是揭竿而起、替天行道?还是以奸制奸、重塑新的大宋? 王伦:我真不想上梁山啊!游戏与考试有时可以实现完美结合,而道德也应该影响考试的结果,某个班级里的十五名男生也这么想。他们个个都在某些领域有着自己的专长,也有着自己致命的缺陷。他们有的出身显赫,父母都热爱读书;有的却不幸出身于一个思想境界低下的家庭,不慎被家庭影响,坠入无底深渊。突然,他们被卷入了一场场特殊的考试之中,他们需要用自己学过的知识去应对各种各样的险境。你认为他们能成功吗?穿越玄幻大世界。 炮灰命运的江榆激活气运模板,能够随意查看并截胡他人机缘。 查看天命之子。 截胡天道造化,神兵功法,种种大自在加身。 查看天命之女。 截胡进境气运,百族臣服,将之收为自身红颜。 等等... 连终极大反派的机缘都能截胡?这可就有意思了! 多年以后。 当江榆立足诸天之巅,行首投足间,皆是造化手段时。 某宗门杂役:“说起来可能没人相信,当年那块至尊骨,其实我感觉是属于我的...”大汉皇朝,文道为尊。 世人修文,可移山填海,上天入地。 文道鼎盛,百家争鸣。 汉高祖不喜儒道,儒家没落。 这一世,董仲母亲失踪,父亲离世,被爱人陷害抛弃。 身为穿越者,他活着不如一条狗! 科举之日,董仲一鸣惊人! 他活着,不为别的! 只为争一口气! 只为告诉世人,他不是废物! 状元郎,诗才,儒道中兴之人,帝师太傅,大汉儒尊…… 种种称号,皆是董仲!一个高考过后,想去泰山旅游,放松一下心情的少年,因为一个乐于助人的小举动,开启了一场梦幻旅程...... 他与枪杀入阵中,左突右冲,上挑下刺,如入无人之境,那枪寒光闪烁,那人英武狂暴,翻飞之际,若舞梨花,遍体纷纷,如飘瑞雪,转瞬之间,目之所及,身之所在,一切灰飞烟灭! 血色战场,唯有一枪,无上! 万界永世,唯有一人,不败!十年前不知情的星宸被父母遗弃,成为弃子。 十年后王者归来寻找想要寻找遗失的温馨,却被父母冷落,哥哥嫌弃,最终再次成为弃子。 弃子已成龙,看他如何找寻真相,识破阴谋,完成复仇。 有说人生命运已经注定,任凭怎样都无法跳脱这种牢笼。是的,似乎深有体会,仿佛周围的一切早就构成了一张网,只等人生,便牢牢笼住……也像极了老天在圈养研究他的生物,就眼睁睁看着,想要知道你的各种反应…… 如果命运不能改变,如果想要改变命运,无论如何,都要精神起来,和命运、和自己、和老天斗一斗这一生! 师父常说,山下女人都是老虎,但师父亦常说,我不入地狱,谁入地狱。 于是,夏天化身打虎英雄,奔往山下。 夏天:“师姐,收起你的胸恶,让我用爱感化你……”
神墟九天 重生之叶帝归来 神武古帝 神之天助 旭日东升之帝国霸业 命线 神魔创 重生:开局成为钢铁侠 楚天子 异世签到系统,苟到无敌 万物主宰者 仙途慢漫 末世之逆天崛起 大苍纪 回忆中的从前 道门天师 西游:这条龙有点不一样 世尘影仁 造神局 离开了幽村,没人和我说话 惠州汽车站到东莞东站要多久时间表 五莲到胶南的汽车路线 正阳-汝南汽车站 海宁安吉汽车时刻表 惠州汽车站到东莞东站要多久时间表 长汀童坊到龙岩汽车 正阳-汝南汽车站 无锡到长春汽车多长时间能到 长安汽车站到南城汽车站时刻表 杭州到余杭的汽车有吗 潍坊诸城汽车时刻表查询 潍坊诸城汽车时刻表查询 佛山到鹤山沙坪汽车总站 五莲到胶南的汽车路线 温州到嵊州汽车时刻表查询 海宁安吉汽车时刻表 泰山到茌平汽车站电话号码 长安汽车站到南城汽车站时刻表 驻马店到巩义长途汽车时刻表查询 石家庄去天津汽车多长时间到 五莲到胶南的汽车路线 石家庄去天津汽车站时刻表 福安市长途汽车站 东莞东城到吉首汽车站时刻表 驻马店到郑州长途汽车多长时间 佛山到鹤山沙坪汽车总站 长安汽车站到南城汽车站时刻表 福安市长途汽车站 驻马店到巩义长途汽车时刻表查询 长安汽车站到南城汽车站时刻表 海宁安吉汽车时刻表 临沂至济南的汽车多长时间 银川至灵武汽车站时刻表 温州到嵊州汽车时刻表查询 个旧到红河的汽车时刻表 海宁安吉汽车时刻表 银川至灵武汽车站时刻表 正阳-汝南汽车站 佛山到鹤山沙坪汽车总站 石家庄去天津汽车站时刻表 聊城至台前汽车时刻表 杭州到余杭的汽车有吗 太原到广东的汽车 泰山到茌平汽车站电话号码 东莞东城到吉首汽车站时刻表 五莲到胶南的汽车路线 潍坊诸城汽车时刻表查询 聊城至台前汽车时刻表 佛山到鹤山沙坪汽车总站 达州到恩施的汽车票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 剑刃苍穹 全民领主:开局随机神话巨龙 游戏制作:我反向治愈玩家 暗处的人 末武时代从武者开始 快连下载 亚星管理平台 亚星游戏官网 快连下载 亚星管理平台 潍坊诸城汽车时刻表查询 石家庄去天津汽车多长时间到 驻马店到郑州长途汽车多长时间 杭州到余杭的汽车有吗 无锡到长春汽车多长时间能到 银川至灵武汽车站时刻表 福安市长途汽车站 个旧到红河的汽车时刻表 聊城至台前汽车时刻表 光明路汽车站在哪里 聊城至台前汽车时刻表 潍坊诸城汽车时刻表查询 海宁安吉汽车时刻表 五莲到胶南的汽车路线 正阳-汝南汽车站 石家庄去天津汽车多长时间到 太原到江西南昌汽车 无锡到长春汽车多长时间能到 西安到定西汽车时刻表 惠州汽车站到东莞东站要多久时间表 驻马店到巩义长途汽车时刻表查询 沈阳到洛阳的汽车多长时间 石家庄去天津汽车站时刻表 光明路汽车站在哪里 惠州汽车站到东莞东站要多久时间表 光明路汽车站在哪里 聊城至台前汽车时刻表 潍坊诸城汽车时刻表查询 光明路汽车站在哪里 五莲到胶南的汽车路线