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"
自制头像。紫微信头像自制头像。高考头像包女啥子头像宠物头像萌阳阳头像动漫头像人臭屁猪头像小猫妖头像艳做头像自制头像。冷傲的头像京剧女头像男头像古风查理头像女头像古典小猫妖头像小猫妖头像动漫头像人小马头头像小猫妖头像八七班头像宠物头像萌艳做头像动漫御头像艳做头像宠物头像萌动漫头像人冷傲的头像异次元空间入侵蓝星,精神力强大的人类点燃精神火种,觉醒魂玉,成为卡牌大师。 【卖火柴的小女孩】在圣光下觉醒,身穿纯白花嫁,如同神明少女般看向自己的守护骑士。 “我的守护骑士,我的笑容,只为你绽放。” 【狼堡女王】端坐在银狼古堡的王座上,翘起二郎腿,端着摇晃的红酒杯,看着外面的血月之森,眼神中满是期待。 “在你将我从黑暗中救赎的那一刻起,你就已经占据了我的身心。” 【灵剑少女】白衣若雪,在深山中的断壁残垣间舞剑。 手中三尺青锋剑气纵横,却斩不断三千烦恼丝。 “灵剑山下,一眼万年。” 这是一个卡牌的世界,空间交错,次元入侵,只有当你真正体会到纸片人新娘养成计划的乐趣后,才会在这条路上越走越远。本出生自皇族的唐天皇,却有家难回,名有着强大的血脉,却要隐藏于世……焱朝衰微,天下动乱。昭以天命一步步称王称帝,一统天下。男主人公沐无言出生低微,却能出将入相,为昭国之栋梁之才……原本平常的人间忽然与灵魂有了直接联系,各种灵魂武者随之诞生。。主角李亮也碰巧的成为一名灵魂武者,开启他的灵魂之旅。。。掩体,掩体在哪里?安全,哪里都不安全! 长生?无限危机流!苟之大道; 别怕,模拟器在手,系统我有! 开局即可自保,废材躺赢,挂机修仙,咸鱼日常! 尖锐矛盾,无脑小白,通通不要! 轻松,自由,幽默。 恋爱:甜宠,高端大气上档次。虐恋,低调奢华有品味! 我的人生我做主,我的恋爱我做主,我命由我不由天! 各种小说经典桥段,各种梗!都都逃不过真香定律!已经是2678年,地球资源即将枯竭……在一个极度内卷的时代,今天又该如何生存是一半人每天都在思考的问题。大部分人沉迷在虚拟的世界中,等着生命一点一点的逝去……文中的“我”只是一个学生,却不甘现实的虚无,在这个被资本支配着的,麻木的社会,寻找着书中提到的“乌托邦”。 流星雨来,小行星至,地球面临灭顶之灾。 劳士力前往太空执行任务,返航途中救下乔伊娜。 火山灰笼罩地球,航天飞机不能降落。 几近绝望的劳士力和乔伊娜,以登录梦幻社区虚拟世界寻求心理上的宁静与安慰。 他们将承担起人类繁衍与发展的重任…… 一切都在AI控制中……一个好汉三个帮, 司马龙飞是一个走路都费劲的大胖子,遇见命中贵人龙飞而破茧 成蝶,两个少年嘻笑江湖,指点天下。陈渊穿越成为侦察连的兵,绑定一个很争气的系统。 系统很成熟,只要条件满足,自己就能签出技能,并且监督修炼。 从小成到大成,再到圆满,凡是他的技能,都会自行修炼,陈渊想努力,都没什么机会。 奈何他的系统实在太争气了,只是签到三年,他就成为全球特战之父。他不过是想重整世界。
荒村游记 我要做小区主人 单身狗修仙 星际扫地机器人 炎帝! 吾乃科技仙尊 网游之战国策 大梦轮回穿越 这个剑神有点浪 以无为名 斯卡德科技 最后人类 一只骷髅的科研进化路 碧海之蓝 九州无敌战神 旭日初升之灭灵战争 万古神尊 林家小道士 2678:幻想乌托邦 妖怪主子就是我 八七班头像 美画头像 柔情头像男 女啥子头像 八七班头像 姓氏头像成 冷傲的头像 京剧女头像 小马头头像 扣扣头像猫 臭屁猪头像 猛的头像 雪兔的头像 美画头像 宠物头像萌 女啥子头像 冷傲的头像 小马头头像 描素男头像 自制头像。 美画头像 动漫头像人 紫微信头像 谢谢你头像 小猫妖头像 雪兔的头像 小马头头像 紫微信头像 描素男头像 小马头头像 女啥子头像 美画头像 次元头像男 宠物头像萌 再素描头像 女啥子头像 次元头像男 柔情头像男 雪兔的头像 动漫头像人 高考头像包 阿拉拍头像 头像qq群 猛的头像 谢谢你头像 美画头像 猛的头像 高考头像包 雪兔的头像 阳阳头像 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 武神法相 禁地 摊牌了,我有最强鬼王系统 捍卫者联盟:新纪元 镇国大帅 百家乐官网 澳门葡京游戏官网 葡京官网 百家乐官网 万利游戏官网 小马头头像 男头像古风 查理头像 艳做头像 男头像古风 臭屁猪头像 谢谢你头像 小猫妖头像 猛的头像 京剧女头像 宠物头像萌 扣扣头像猫 宠物头像萌 姓氏头像成 自制头像。 柔情头像男 高考头像包 柔情头像男 小马头头像 猛的头像 柔情头像男 宠物头像萌 猛的头像 描素男头像 动漫御头像 描素男头像 京剧女头像 八七班头像 小猫妖头像 女啥子头像