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"
皮口 普兰店 拼车 电话成都343公交总站电话慈溪荣誉预订电话曲阜高铁派出所电话绥中麻辣烫电话号码皮口 普兰店 拼车 电话银座鲁信影城电话慈溪荣誉预订电话沈阳蚂蚁城堡电话珠海白云机场大巴电话窝牛电话号码皮口 普兰店 拼车 电话九寨童话酒店 电话米兰扒房廊坊店电话慈溪荣誉预订电话珠海白云机场大巴电话嘉兴订奶电话查询昆明至银川火车票查询电话昆明至银川火车票查询电话北京呷哺总部电话一嗨租车临沂电话号码昆明至银川火车票查询电话沈阳蚂蚁城堡电话东方名剪团结湖店电话绥中麻辣烫电话号码中国银行东海路支行电话曲阜高铁派出所电话霍州公安局户籍办电话珠海海南航空电话号码九寨童话酒店 电话众生苦难,邪祟横行。 在这个人命如草芥的世界,凌云穿越而来。 并且随身携带【修改器】,任何武学在他手中,都能修改到极致! 猛虎刀法、金刚身、铁布衫……通通给我加满! 面对各种妖魔鬼怪,凌云浑身肌肉虬结,语气森然: “邪祟?我就问你抗不抗揍就完事了!&amp;quot;元宇宙经典游戏出马传奇,沈庸一人独开四号,各有所长 另有三位妹妹辅助,四人共同纵横驰骋,称霸游戏!全新的角度探索意识空间。在未来有一种职业叫意念操控师,可以重塑人的意识,以达到某种目的。末世就那么来了,来的毫无征兆,作为“普通人”来说,我甚至不知道它是为什么到来的,整个世界,发生了奇怪的变化,怪物横行,丧尸惊现,我该怎么活下去?我之文学理解与赏析,愿与诸君共勉之。徐辰一朝穿越发现自己的的幸运值居然是满的?每次开卡别人白光一片,自己却时时出金,而且几乎都是战斗力又高,颜值又高的美少女?“不是你们也太弱了吧,连我卡灵一击都扛不下来啊!”众人满头黑线,你这幸运值开挂的人别人打得过???末世降临,秩序重置,当奢繁的上流社会与朴实的下流社会相碰撞;当异兽横行,死亡如风;当一觉醒来,打工人的心脏里长出一个特殊“媒介”时……人类,似乎遇到了比末世更恐怖的危机。叶轩重生到高考一个月前 为了不让自己这个渣男伤害她的叶轩决定和她保持距离。 趁着这时候慕容雪没喜欢自己 叶轩准备透露点高考题目让她稳上青华 而自己去临安到时候天南地北,确没想到高考后看到她的录取通知书傻了眼法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。他,是当之无愧的间谍,潜伏十三年,不仅是为了组织的任务,更是为了报杀父之仇。 十三年的隐忍,借着组织的任务,沈烨终于等来了一个机会,他将如何瓦解敌人内部呢?
民间故事诡异 银河中心 陆地剑仙:剑阁守剑八十年 元极仙尊 玄幻:我是气运大反派 书说先秦 末日我在海里抓鲨鱼 帝落星辰 修仙:我能无限模拟人生 我自成山河 文亦有道 战国诛妖人 啥!我直播间能见鬼 奇幻武侠 三国亮剑志 我在诸天当黑商 大晋武帝 噩梦旅途 开局绑定英雄联盟 废柴的异世界升级之路 港龙舞蹈福田莲花分校电话 美团公司沈阳总部电话号码是多少钱 嘉兴订奶电话查询 昆明至银川火车票查询电话 港龙舞蹈福田莲花分校电话 金乡到日照汽车站电话 名绅洗衣资信电话 东莞虎门公安分局电话 中国银行东海路支行电话 九寨童话酒店 电话 沈阳蚂蚁城堡电话 沈阳蚂蚁城堡电话 东方名剪团结湖店电话 珠海白云机场大巴电话 山海关移动大厅电话号 绥中麻辣烫电话号码 名绅洗衣资信电话 中国银行东海路支行电话 一嗨租车临沂电话号码 皮口 普兰店 拼车 电话 美团公司沈阳总部电话号码是多少钱 慈溪荣誉预订电话 成都343公交总站电话 米兰扒房廊坊店电话 东莞虎门公安分局电话 东方名剪团结湖店电话 中国银行东海路支行电话 成都343公交总站电话 一嗨租车临沂电话号码 中国银行东海路支行电话 绥中麻辣烫电话号码 美团公司沈阳总部电话号码是多少钱 曲阜高铁派出所电话 皮口 普兰店 拼车 电话 东方名剪团结湖店电话 绥中麻辣烫电话号码 free的电话卡 名绅洗衣资信电话 东方名剪团结湖店电话 free的电话卡 绥中麻辣烫电话号码 新安县新润华电话 北京呷哺总部电话 淮安汽车客运东站电话 米兰扒房廊坊店电话 美团公司沈阳总部电话号码是多少钱 沈阳蚂蚁城堡电话 曲阜高铁派出所电话 珠海海南航空电话号码 银座鲁信影城电话 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 科技梦境 出生即碾压无数天骄 全民枪神:起源 逆吞强噬 灵兮大陆 皇冠登3出租 亚星管理平台 澳门葡京游戏官网 皇冠登3出租 亚星官网 港龙舞蹈福田莲花分校电话 珠海海南航空电话号码 美团公司沈阳总部电话号码是多少钱 盘锦田家社区医院电话 霍州公安局户籍办电话 珠海白云机场大巴电话 皮口 普兰店 拼车 电话 嘉兴订奶电话查询 米兰扒房廊坊店电话 港龙舞蹈福田莲花分校电话 港龙舞蹈福田莲花分校电话 珠海白云机场大巴电话 东莞虎门公安分局电话 昆明至银川火车票查询电话 银座鲁信影城电话 新安县新润华电话 成都343公交总站电话 沈阳蚂蚁城堡电话 山海关移动大厅电话号 盘锦田家社区医院电话 金乡到日照汽车站电话 慈溪荣誉预订电话 成都343公交总站电话 米兰扒房廊坊店电话 北京呷哺总部电话 港龙舞蹈福田莲花分校电话 盘锦田家社区医院电话 美团公司沈阳总部电话号码是多少钱 珠海白云机场大巴电话 绥中麻辣烫电话号码