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"
图片自动批量处理软件哪个好用财富积累软件ies文件制作软件电影台词剪辑软件淘宝销售数据分析软件图片自动批量处理软件哪个好用中国银行批量工具软件ies文件制作软件什么软件考试能搜索出来考试搜索软件如何电脑运行安卓软件下载ies文件制作软件godex打印机工作软件如何电脑运行安卓软件下载材料进销存的软件考试搜索软件工资表群发软件在线批量照片处理软件在线批量照片处理软件32位三菱plc软件下载怎么·制作小软件下载在线批量照片处理软件什么软件考试能搜索出来旺旺客服软件农商银行软件下载电脑版类似于微淘米的软件农商银行软件下载电脑版旺旺客服软件32位三菱plc软件下载godex打印机工作软件本书又名《异界之旅从换个脑子开始》《危机!开局一台残破机甲》 陆冶,一个普通打工人,穿越到了一个独自在行星轨道上漂浮了8000年的机甲驾驶员身上。他有了梦寐以求的机甲,但第一天就被换了个脑子。他躲过了机体坠入恒星的危机,本打算用远超土著的纯粹科技迎来人生巅峰,发现这个是个剑与魔法的世界,现有的科技用不上。遇见的土著全是脑补怪,不是把陆冶认成邪神就是强大的恶魔。陆冶时刻烦恼着如何让自己看起来比较强大? 陆冶:我现在慌得一批,呆在一堆没魔抗的废铁里,如何面对魔法威胁?在线等,急! 暗月精灵萌大乃女祭司:您是我族的救世主! 混乱恶魔新首领:伟大的您,请让我族随您征战吧! 猫耳女盗贼:你确定不会馋我身子把我吃掉吧? 陆冶:... 本想安心发育,但一个来自8000年的石板,时刻提醒着陆冶来自这个世界的致命威胁。 新人写书,求支持,求打赏,求收藏。在器魂大陆,被众人认为是废物的少年龙神宇,在一次偶然的机遇,突然觉醒,开始了他的成长之路。本是时之罅隙自然生成的产物,浑浑噩噩地游走在时空裂缝中,可一次意外,他来到了一个位面,并用篡改记忆、同时欺骗自己的能力化身池板国立中学的高中生椿稔,一个有妹有房,时不时搞搞社团活动的平凡死宅。 可日子还没过多久,他就被查出绝症,但这时。一名自称‘位面天使’的少女找到他,请求他去用每天半天的时间去拯救异世界 待他拼死拼活成为救世主后,又得知要拯救的世界不止一个。 陆然继承了爷爷的遗产杂货铺,发现可以跨越两界,地球和玄幻世界。   玄幻世界灵气稀薄,物资匮乏,但修炼体系完善,地球灵气浓郁的可怕,却没多少人修炼,修炼体系更是一塌糊涂。   随便带过去一株中药去玄幻世界,都是人人疯抢的天材地宝。   玄幻世界不值一提的功法,法宝,拿到地球,都是顶级的。 依靠两界的物资差距,陆然迅速修炼,并发家致富。林逍重生,这一世,他要成为十方至尊。 绝世的丹药随手炼制,罕见的异兽乖乖收服。 守护家人是他心愿,不断变强报仇雪耻是他的目标。 这是一个强者陨落的重生路,若触逆鳞,不管是何方神圣,定让你灰飞烟灭!末世就那么来了,来的毫无征兆,作为“普通人”来说,我甚至不知道它是为什么到来的,整个世界,发生了奇怪的变化,怪物横行,丧尸惊现,我该怎么活下去?渣男开后宫,渣女坐东宫,而我不一样,根本没对象。 凭什么别人穿越以后,都是秒天秒地秒空气的横行霸道,凭什么别人的系统都是动不动就要抹杀宿主逼着他们上进,而我的系统却要我去谈恋爱,让我放纵,逼着我和姑娘们风花雪月,我王某人把话放在这里,我就是打一辈子光棍,从今往后当一辈子魔法师,也不会去完成任何任务的,狗系统,你就死了这条心吧!现在都新世纪了,我要自由的恋爱,抵制系统,还我自由,我要自由,自由万岁。 系统:马上将会有一股阵风袭来,请宿主做好准备! 3、2、1··· 王某人捂着鼻子含糊道:算你狠。2100年,地球资源即将耗尽,唯一被人类发现的最适合生存的行星火星却凭空消失,一位科学家研究新型可持续发展能源,另一些科学家研究火星消失的原因。此时又有另一派组织觉得放弃地球,在宇宙中寻找其他适合人类生存的行星,遭到了意料中的外星文明…… 茫茫宇宙,有一处异界大陆,名曰神斗大陆。大陆存在了无数年,史载前后存在超过八百个国家,但只有神斗帝国完成过统一。神斗帝国崩溃后,经过多年征战,目前八大帝国与教廷分治大陆,所处时代与华夏宋明时期多有相似。昌化二十七年,瓯越帝国临州的玄天崖,一场追杀正在展开……鲛人无意中看到唐敖一行,见他们一个个风度翩翩、举止不凡,心中好生羡慕;又听说唐朝是个繁华富庶之所,心向往之,于是一段艰辛的奇幻之旅便开始了。
武纵天途 桃花村里的那些风流韵事 重生之从遁去的三开始 隋逆 子安 云巡四洲 卡米斯大陆编年史 逍遥武帝 万岁爷的成长计划 关于我被放逐到异世界的事 大宋萧魔王 洪荒之开局炖了鲲鹏妖师 末世:创世录 诡凶笔记 信念之甲 汉汉 西游:这条龙有点不一样 当个逍遥小皇帝 怒血帝婿 混世不乱 微信群发软件比较 红包赚app是什么软件下载 工资表群发软件 淘宝销售数据分析软件 微信群发软件比较 学习初级会计的软件 工资表群发软件 创维电视安卓软件安装工具包 类似于微淘米的软件 手机拍照自动美颜软件哪个好 易图软件下载的相册是原图 易图软件下载的相册是原图 什么软件能够批量处理照片吗 红包赚app是什么软件下载 图片自动批量处理软件哪个好用 淘宝销售数据分析软件 windows资料备份软件下载 类似于微淘米的软件 小金猪装饰预算软件教程 ies文件制作软件 红包赚app是什么软件下载 材料进销存的软件 小金猪装饰预算软件教程 如何电脑运行安卓软件下载 考试搜索软件 什么软件能够批量处理照片吗 类似于微淘米的软件 财富积累软件 小金猪装饰预算软件教程 类似于微淘米的软件 淘宝销售数据分析软件 生产型库存软件 电影台词剪辑软件 图片自动批量处理软件哪个好用 旺旺客服软件 农商银行软件下载电脑版 电影台词剪辑软件 工资表群发软件 什么软件能够批量处理照片吗 材料进销存的软件 农商银行软件下载电脑版 手机拍照自动美颜软件哪个好 批量改tga图片尺寸软件 windows资料备份软件下载 如何电脑运行安卓软件下载 生产型库存软件 易图软件下载的相册是原图 农商银行软件下载电脑版 什么软件能够批量处理照片吗 中国银行批量工具软件 亚星官网 亚星游戏官网 亚星游戏官网 亚星官网 亚星官网 给太爷爷烧纸,地府经济被我玩坏了 龙血英雄 星际混乱 我秋刀鱼绝不当废物 百花大帝 亚星管理平台 亚星官网 万利官网 亚星管理平台 澳门葡京官网 中国银行批量工具软件 godex打印机工作软件 什么软件能够批量处理照片吗 部门预算软件公司 易图软件下载的相册是原图 学习初级会计的软件 易图软件下载的相册是原图 中国银行批量工具软件 怎么·制作小软件下载 如何电脑运行安卓软件下载 材料进销存的软件 生产型库存软件 微信群发软件比较 什么软件考试能搜索出来 微信群发软件比较 材料进销存的软件 什么软件能够批量处理照片吗 学习初级会计的软件 windows资料备份软件下载 什么软件能够批量处理照片吗 图片自动批量处理软件哪个好用 如何电脑运行安卓软件下载 图片自动批量处理软件哪个好用 32位三菱plc软件下载 材料进销存的软件 什么软件考试能搜索出来 财富积累软件 小金猪装饰预算软件教程 淘宝销售数据分析软件 ies文件制作软件