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"
广东信宜到厦门汽车苏州北站长途汽车鄄城汽车站电话淮安汽车南站官网安国汽车站时刻表广东信宜到厦门汽车兴宁汽车站鄄城汽车站电话老河口到郑州汽车潢川到郑州汽车上海到枣阳汽车鄄城汽车站电话勐腊汽车客运时刻表上海到枣阳汽车北京到菏泽的汽车多长时间潢川到郑州汽车宁波到宁海汽车桐乡到淮安的汽车安国汽车站时刻表嘉兴到海盐汽车时刻表襄阳市汽车站桐乡到淮安的汽车老河口到郑州汽车寿县到淮南汽车站吉安火车站到汽车站寻乌到瑞金的汽车吉安火车站到汽车站北京到宁津的汽车多长时间嘉兴到海盐汽车时刻表合肥到含山汽车时刻表梦中他是世间最古老的生命,长生不死神威盖世!梦醒他是世间普通一员。当有一天神话复苏,他赫然发现自己的梦竟是曾经的历史。而似乎神话时代的终结就是由他一手操纵,当神话再一次降临他又会走向何方!是再一次终结神话时代开创前途未卜的科技大道,还是融入神话成为那至高无上的不死至尊! 我是人!是盖亚!是生物!不是神!!!凌晨夜里小马鏖战了半年的程序就要正式上线了,上线的过程中Bug不断,重重的黑眼圈印在脸庞,心想千万不要再有这种空格,字符,数据类型的Bug了,太tm难找了,眼睛死死的盯着屏幕上运行的日志。 Started BookApplication . . . . . ,看到成功的标志,激动的跳了起来,当天夜晚,想着自己的项目奖金,鼾声渐起..........,细细簌簌的听到您再通融通融小儿还在养病暂缓几日一定将小钱补齐,我眉头紧蹙,小钱?官人?什么鬼。我怎么睁不开眼,浑身无力。。。。诸天万界第六大禁术,主角光环! 你听说过主角吗?你想成为主角吗? 主角光环,诸天万界中涉及命运至高规则的因果律禁术,其原理源自跨越一切时间与空间的命运规则,当你触及一条命运线时,所有的命运线都会同时发生变化,而主角光环则是使用者极为精通命运法则的情况下,巧妙地在命运长河中化被动干涉为主动干涉的做法,只需要轻轻挑动一下自身的命运线,那所有的命运线都会随之改变,不过主角光环的使用者是主动变化而非被动受到其他命运线的影响,所以大势从来站在主角光环的一边,因为你的命运被主角光环的使用者有意识的干涉了! 一切因果尽临汝身,当你的一言一行都牵扯到无穷命运之际,你会如何抉择?在一个平平无奇的城市里,且看它游戏人生!天下纷争,西京、启阳,北燕,鬼方四国争雄。西京国第一大江湖门派问刀门门主呼延燚,率天下门徒,纵横四海,征伐天下,无论是四国庙堂还是远涉江湖都无可避免地卷入其中。少年被家族遗弃,遭受刺杀修为被废。 危难之际开启镇魂世界,神秘女子百般磨练,终修剑道。 自此修行坦荡,领悟无上剑道,修不灭剑体。 修武技,破苍穹,入圣域,掌握天下权,醉卧美人膝,翻手为云,覆手为雨, 轻挥手中剑,剑出移山镇海,诸天星辰陨落,横断八荒四野; 九洲雷霆动,剑气侵万古,临绝世剑神。高三的生活是普通而平凡的,尽管总是被学习的苦痛所掩埋,但其中总会有着些许令人回味的闪光点。尿出一道绿光,结果是仙术。 可催生动植物,可强身健体,更可治病救人。 小农民从此不一般,你是女神,是大佬,我都可以不认。修仙难,一看天赋,二看机缘,三看身家。 王耀穿越而来,却成为一介天赋全无的边远村民。 且看王耀如何以妖入道,踏上仙徒,巧妙周旋,化险为夷。 凭借一腔热血,二世为人,成就三界功绩,四世威名!朱祐极穿越小说世界,成为大明四皇子,母亲是万贵妃,掌控西厂,与权臣严嵩、东厂曹正淳相互勾结,一手遮天。 然而,自己却并非亲生,而是狸猫换太子的产物,是万贵妃稳地位的工具。 内忧外患之下,朱祐极获得了【人生重来模拟器】系统。 【人生重来模拟器】系统,每天都可以抽取自己的开局功法!他花费三年的时间,抽取了一万次,终于抽到了天胡开局!
末世起源之邪神传 多重灵格 信任的冲击 创世修心决 对话先贤:开局打造神明禁区 第一帝国:第一纪元 灵界之下界 文艺巨星奶爸 逆天魔魂 都市人生传奇 帝释缘空 三族至尊 选择罢工的系统和宿主 成魔之殇之狂魔来临 文明四部曲 人皇图录之唯我独尊 海贼之审判 立校高中 我即天命系统 九天神帝 随州到安陆的汽车 北京到龙口的汽车 宁波到宁海汽车 安国汽车站时刻表 苏州北站长途汽车 北京到宁津的汽车多长时间 宁波到宁海汽车 佛山市丹灶汽车客运站 寻乌到瑞金的汽车 勐腊汽车客运时刻表 中山公共汽车 k12 中山公共汽车 k12 西安到绥德汽车 北京到龙口的汽车 广东信宜到厦门汽车 安国汽车站时刻表 秦皇岛到沧州的汽车 随州到安陆的汽车 秀山汽车站时刻表 鄄城汽车站电话 北京到龙口的汽车 鄄城汽车站电话 秀山汽车站时刻表 桐乡到淮安的汽车 潢川到郑州汽车 西安到绥德汽车 随州到安陆的汽车 秀山汽车站时刻表 秀山汽车站时刻表 寻乌到瑞金的汽车 安国汽车站时刻表 凤凰网 汽车 淮安汽车南站官网 广东信宜到厦门汽车 寿县到淮南汽车站 吉安火车站到汽车站 淮安汽车南站官网 宁波到宁海汽车 寿县到淮南汽车站 北京到菏泽的汽车多长时间 吉安火车站到汽车站 佛山市丹灶汽车客运站 嘉兴到海盐汽车时刻表 秦皇岛到沧州的汽车 上海到枣阳汽车 凤凰网 汽车 中山公共汽车 k12 吉安火车站到汽车站 西安到绥德汽车 北京到平凉汽车票 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 金色传说之宇宙法庭 超品 本源入侵 仙魔屠戮场 2008,老爹别败家了! 欧博官网 百家乐官网 澳门葡京游戏官网 欧博官网 亚星游戏官网 南宁汽车违章查询系统 上海到枣阳汽车 广东信宜到厦门汽车 西安到绥德汽车 北京到菏泽的汽车多长时间 老河口到郑州汽车 秀山汽车站时刻表 襄阳市汽车站 吉安火车站到汽车站 鄄城汽车站电话 安国汽车站时刻表 合肥到含山汽车时刻表 北京到平凉汽车票 安国汽车站时刻表 寿县到淮南汽车站 兴宁汽车站 秦皇岛到沧州的汽车 秦皇岛到沧州的汽车 潢川到郑州汽车 上海到枣阳汽车 襄阳市汽车站 南宁汽车违章查询系统 鄄城汽车站电话 广东信宜到厦门汽车 苏州北站长途汽车 佛山市丹灶汽车客运站 北京到平凉汽车票 随州到安陆的汽车 北京到宁津的汽车多长时间 随州到安陆的汽车