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"
泰安曲阜汽车上虞到上海南汽车淄博到赤峰的汽车电话福安汽车站从长春到大安汽车泰安曲阜汽车宜春到上高的汽车淄博到赤峰的汽车电话烟台长途汽车站网上售票铜陵到池州汽车时刻表南宁到海口汽车时刻表泰安曲阜汽车银川汽车南站南宁到海口汽车时刻表淄博到赤峰的汽车电话铜陵到池州汽车时刻表泗县到滁州的汽车桂林到云浮的汽车桂林到云浮的汽车全椒汽车时刻表永安到安溪汽车桂林到云浮的汽车烟台长途汽车站网上售票安庆西门汽车轮渡从长春到大安汽车长兴到常州汽车福安汽车站绍兴高铁汽车北站义乌到嘉善的汽车银川汽车南站 我要让曹丕的名字干干净净的写在史书上。 我要让曹丕成为三国的传奇,天命所受,不得不从,我愿与天命齐修,我愿意拿我的性命相抵。 杨修,你知道死亡吗? 我知道,我看着我最在乎的人在我面前死去,就算我拼尽性命也难得相护。 甄宓,我想早点遇见你。 重来之后的很多事情都不一样,虽然算不上是件好事,但是也不一定是一件坏事,他想有自己的人生,他不想只做曹操之子,他也想做一个江湖浪客,也想去行侠仗义,也想去看看中原更美的地方。,这样就很好。世界就是一个圈,我们都生活在其中,没有预示谁会踩进谁的圈里,只是一旦进了,就在了。车辚辚,马萧萧,行人猎枪各在腰; 村镇灯火不再现,黔首飘曳迦南遥。如果说世界是多层的,你信吗? 或许你不信,但事实上世界就像是一个洋葱。 奇谈怪闻中的阴影,都市传说背后的真相。 谁又能说世界只有表面的这一层呢? 许策,一个失忆过的新人界行者。 穿越一个个界层,经历一次次历险,只想为了离真相更近一些。 “我到底忘记了什么?” 或许答案就在界层的最深处。 一缕天魔残魂为引,带领一个意外来到这个世界的特种兵,走上修仙之路,在魔族圣主的布置下,慢慢走上与仙帝的对抗之路。历经艰险,在生死徘徊之际,觉悟天道有缺,最终战胜天帝,圣主。回归家园。【迪化】+【无敌】+【搞笑】,叶凡穿越到修仙界,经过千辛万苦方才踏入修仙一道,本以为自己只是个刚刚踏入修行的炼气境小修士,殊不知他早已无敌,外面的修士见了他全都尊称一声前辈.......叶凡表示有些懵逼,原来练气境也可以无敌于世间.........您有没有遇到过,到某个陌生的地方,却有种曾经来过的熟悉感,感觉像梦里梦见过一般? 或是某条街道,或是某栋建筑,或是街边的某个橱窗。那种笃定曾经见过的信念,会吓自己一大跳! 但又实在记不起来,什么时候来过?或是通过什么方式真的见过?这又使得自己很迷茫。 法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。云之始,始为开始,终以极,万物有始。一直的不甘,现实的残酷与无奈,生活职业家庭,明明就是为飞扬而生,偏就浑浑噩噩的走近终点个,奇妙的经历后,居然能够大器晚成? 年少的懵懂无知与清贫的前行,青春的躁动却总是无疾而终,内心狂躁却又总是克制的波澜不惊,处处矛盾冲突,这也许就是扭曲的人生.
龙野传 留香传 天狐缘 宗主真乃神人也 盘龙斗 山海有灵兽 宇宙第一武者 踏马江湖游 神秘复苏:开局获得邪灵编辑器 曲折半生 白虎堂二三事 无极枪圣 莹城第一校草:蓝哥 疯狂宠爱的妻子 万世之无敌 天师问仙 初中过往 这个召唤师不太正经 圣堂之眼 南山六合记 青岛到宿迁汽车 淳安汽车客运中心 泗县到滁州的汽车 桂林到云浮的汽车 青岛到宿迁汽车 开封到郑州汽车客运东站 绍兴到如东汽车 海宁到河南郑州汽车票价 长兴到常州汽车 银川汽车南站 烟台长途汽车站网上售票 烟台长途汽车站网上售票 安庆西门汽车轮渡 铜陵到池州汽车时刻表 保定到沙城汽车 从长春到大安汽车 绍兴到如东汽车 长兴到常州汽车 永安到安溪汽车 泰安曲阜汽车 淳安汽车客运中心 淄博到赤峰的汽车电话 上虞到上海南汽车 莘县朝城汽车站 海宁到河南郑州汽车票价 安庆西门汽车轮渡 长兴到常州汽车 上虞到上海南汽车 永安到安溪汽车 长兴到常州汽车 桂林到云浮的汽车 淳安汽车客运中心 福安汽车站 泰安曲阜汽车 安庆西门汽车轮渡 从长春到大安汽车 萍乡到长沙的汽车要多久 绍兴到如东汽车 安庆西门汽车轮渡 萍乡到长沙的汽车要多久 从长春到大安汽车 桐乡到临平汽车 全椒汽车时刻表 广州南站汽车客运站到高明客运站 莘县朝城汽车站 淳安汽车客运中心 烟台长途汽车站网上售票 福安汽车站 义乌到嘉善的汽车 宜春到上高的汽车 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 阳春暮雪 司法仙官 异星邪兵 星穹之子 三剑诛天 万利游戏官网 欧博游戏官网 皇冠登3出租 万利游戏官网 快连下载 安庆西门汽车轮渡 烟台长途汽车站网上售票 莘县朝城汽车站 海宁到河南郑州汽车票价 义乌到嘉善的汽车 永安到安溪汽车 马鞍山到安庆的汽车时刻表 萍乡到长沙的汽车要多久 永安到安溪汽车 长兴到常州汽车 淄博到赤峰的汽车电话 开封到郑州汽车客运东站 石狮到赣州的汽车 安庆西门汽车轮渡 桂林到云浮的汽车 南宁到海口汽车时刻表 莘县朝城汽车站 全椒汽车时刻表 广州南站汽车客运站到高明客运站 保定到沙城汽车 南宁到海口汽车时刻表 淄博到赤峰的汽车电话 保定到沙城汽车 银川汽车南站 泰安曲阜汽车 福安汽车站 桐乡到临平汽车 从长春到大安汽车 长兴到常州汽车 莘县朝城汽车站