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"
萌兔头像卡通图片漂亮酷酷的女生头像女生头像女生黑白欧美篮球头像男生霸气图片大全纯白底黑字头像经典国外黑白头像图片大全萌兔头像卡通图片头像香烟动漫黑白欧美篮球头像男生霸气图片大全qq头像闺蜜两张画中画带玉字的动态头像qq情侣清新头像文字图片大全可爱图片萌兔头像卡通图片巧克力头像唯美图片qq情侣清新头像文字图片大全可爱图片黑白欧美篮球头像男生霸气图片大全情侣头像分开小孩风景头像大气经典国外黑白头像图片大全经典国外黑白头像图片大全个性白衣古风女头像闺蜜头像一对两张安字卡通猴子的头像qq头像闺蜜两张画中画qq小狗头像 可爱图片大全汽车头像在线制作教程闺蜜动漫头像高冷纯白底黑字头像可爱图片动漫女生高清头像图片个性白衣古风女头像坐在地上看天的女生头像在某破旧的服务器里,最后一个玩家被生物们逼到了尽头的悬崖。他绝望的退出了游戏。 本该暂停的服务器却被生物们继续拨动着时间的齿轮,于是,这个服务器渐渐退出玩家的视野,成为生物的地盘…… 漫天风沙,我于中独站一个二十一世纪的屌丝,刚完成一单新闻,猝死出租屋,还不知道有没有人收尸就来到了楚国,一个有着宋的憋屈明的铁血的平行空间还是异世界?总之不小心成了异性王唯一的子嗣,可能出场姿势不好,被人用锤子打出了的。周边都是贼兵蛮子鞑子,好在有后世的天线一条,不至于被古人玩死成为最惨穿越者,一路泡妞打蛮子,没事就种种地!当然是真的种地。为一诺,走遍九天十地,守一人,战至魂散魄灭,不屈,正是少年! 为情所动,因缘相聚,似世间多有不归人,半生,皆在途中! 纵使天赋非凡,却难逃命运坎坷,强者为尊的世界里,谁都,未敢回首! 爱他所爱,杀他该杀,男儿一世,枪断沧海,阵葬星云! 原发表于B站专栏上的连载中轻小说,我是作者本人。本文主要讲述的是获得了被认为是“由于高维时空与四维时空之间的作用而产生的存在。”的信念之甲的人们的故事。 (注:由于早期构思时只想了相关设定及部分故事所以早期主线部分主角团人物的人设和身世等是在数次纠结后抓阄决定的。)这个世界,有大妖,鬼魂,狐仙,盘古开天,女娲造人,后羿射日,精卫填海,三皇五帝,万千世界,天上天下,为我独尊我是一头来自阴间的厉鬼,我要到阳间去,我要去阳间勾魂锁命,我要去阳间养百万阴兵,我要去阳间杀生前仇敌!低等灵根不能修炼?秦墨嗖的一声抽出自己的大刀,轻轻抵在了来人的脖颈之上,温声问道:“这话是你说的?难道是魔族奸细?”啪嗒!啪嗒!两颗圆润的汗珠掉在了地上。 一缕长发飘散到秦墨肩上,只听娇柔的女声响起:“世界杯华国足球决战阿巴国足球,不去瞧瞧?” 秦墨泪目,立刻携佳人前往,那人刚想说什么,却再次噤若寒蝉,原来一只不大的胖手正搭在颈边。 “别着急走啊,我们也可以一起出去转转的。”面前阴沉的声音传来,那人想要抬头却是不敢了。 “你说华国能赢么?”女子问道 “当然能赢。我赌三辈子的所有经验!”秦墨大笑。 有人问:据说穿越一次,这是潮流。那穿越两次呢? 秦墨大怒:是老子倒霉!龙泉历83年,龙泉宗被八大神宗覆灭,新一轮浩劫战争打响。 龙泉历84年,子渺被追杀下龙泉山,他带着苍生的未来开始逃亡。意外穿越,接触高等文明。 浩瀚太空,见识奇人异事。
我当出租车司机那些事儿 黄泉罪 万界老婆召唤书 逆仙魔尊 肉蛋宇狗蛋 腥红警戒 神秘复苏:我横练无敌 惊异:恐怖来袭 神祇:独步仙魔 碧蓝航线之昨日曙光 杀死星系的人 末日千万不要做的事情 新世界一点也不奇怪 签约被拒100次,硬刚到底 私家侦探之小人物 狂浪至尊 异客开物 重生之我是大主播 重生:回到八零当首富 诸天之铁匠也疯狂 闺蜜动漫头像高冷 情侣头像分开小孩 韩系情侣头像一对两张2017 经典国外黑白头像图片大全 漂亮酷酷的女生头像女生头像女生 可爱图片动漫女生高清头像图片 韩系情侣头像一对两张2017 周杰伦头像老版动漫图片 嬴政头像图片 巧克力头像唯美图片 动物情侣头像可爱猪 动物情侣头像可爱猪 qq小狗头像 可爱图片大全 情侣头像分开小孩 萌兔头像卡通图片 汽车头像在线制作教程 男生动漫头像笑着哭泣 闺蜜动漫头像高冷 闺蜜头像三人带眼镜动漫 黑白欧美篮球头像男生霸气图片大全 微笑头像女阳光清晰 黑白欧美篮球头像男生霸气图片大全 闺蜜头像三人带眼镜动漫 卡通猴子的头像 带玉字的动态头像 带雨和伟字的情侣头像 闺蜜动漫头像高冷 闺蜜头像三人带眼镜动漫 闺蜜头像三人带眼镜动漫 嬴政头像图片 经典国外黑白头像图片大全 微笑头像女阳光清晰 纯白底黑字头像 萌兔头像卡通图片 qq小狗头像 可爱图片大全 汽车头像在线制作教程 纯白底黑字头像 韩系情侣头像一对两张2017 qq小狗头像 可爱图片大全 帅气的头像霸气 汽车头像在线制作教程 周杰伦头像老版动漫图片 个性白衣古风女头像 男生动漫头像笑着哭泣 qq情侣清新头像文字图片大全可爱图片 微笑头像女阳光清晰 动物情侣头像可爱猪 汽车头像在线制作教程 带雨和伟字的情侣头像 风景头像大气 亚星官网 亚星官网 亚星官网 亚星官网 亚星游戏官网 腾云驾雾天使之吻 倒持太阿 千年之命 奴隶少年与傲娇公主那些事 天盟战记 AG真人 欧博官网 亚星管理平台 快连下载 百家乐官网 头像香烟动漫 个性白衣古风女头像 qq头像闺蜜两张画中画 汽车头像在线制作教程 可爱图片动漫女生高清头像图片 周杰伦头像老版动漫图片 周杰伦头像老版动漫图片 个性白衣古风女头像 lol瞎子萌萌的头像 嬴政头像图片 纯白底黑字头像 萌兔头像卡通图片 带玉字的动态头像 qq情侣清新头像文字图片大全可爱图片 动物情侣头像可爱猪 黑白欧美篮球头像男生霸气图片大全 坐在地上看天的女生头像 闺蜜头像一对两张安字 带玉字的动态头像 可爱图片动漫女生高清头像图片 韩系情侣头像一对两张2017 带玉字的动态头像 帅气的头像霸气 带雨和伟字的情侣头像 个性白衣古风女头像 闺蜜动漫头像高冷 可爱图片动漫女生高清头像图片 闺蜜头像三人带眼镜动漫 黑白欧美篮球头像男生霸气图片大全 卡通猴子的头像