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"
产品设计优秀网站网络安全 防御多样化原则徐州市网站开发深圳b2c网络营销公司邢台做网站公司济南网站托管网络安全检测工具网络安全一体化信息安全 软件安全实验网站设计手机型黑暗时代下,唯有北方星辰闪烁。 王国战争结束时,因九牧义展现出超强实力被王国所忌惮,于是王国高层提出铲除这个少年。其父亲身为王国第一将军,在王宫大殿上以自己的性命为代价,打通了通向人界的大门,为九牧义提供了生的希望。这个12的少年降临人间后被一位老者收养,本以为生活会一直平静下去,但4年后一个人的到来打破了他生活中的宁静,未来终究还是朝着不确定的方向发展。普通大学毕业生,没人脉,没势力,通过自己的努力,成为国内工控行业的先行者。 昔日的位面第一宗门‘妖傀宗’圣主叶欢,因为争夺位面至宝八荒鼎,被诸多大帝围攻陨落,再入轮回与将门犬子夜欢灵魂融合。 废柴笑柄?我炼体术不坏不灭,谁与争雄? 家道衰落?我炼丹术冠绝位面,扶不起一个家族? 边疆失守?我打造的连弩刻有玄奥灵阵,可杀敌于千丈之外! 异族邪魔来袭,家园沦为炼狱?我炼制的妖傀无数,足以横扫八荒! 外面有一支神秘势力,就要统一大陆?无妨,那就是我一手扶持的顶级宗门! 圣域的一位老祖已经称皇称帝?莫怕,那不过是我当年随手炼制的一尊妖傀罢了!游戏俱现,五开玩家李长生,突然获得五个号的修为! 别人满级200,李长生:“我1000级什么鬼?” 别的玩家只能选一个职业,李长生:“你见过八块腹肌的法师吗?” 讲述了一个男孩越来越离谱的故事架空异界,拥有反派系统的玄谨作为一名正儿八经的外表柔弱内心善良的真白莲bushi,只是想完成(摸鱼)系统任务而已 玄·快乐划水大师·谨:森林野生兽娘!清冷高傲成熟萝莉!好耶!再让我康康来,等等,为什么我戴上了脚铐?嗯?!! 玄谨看着脑海里残缺的剧情,面对眼前言笑晏晏被他三刀六创死透透又复活的未婚妻,这剧情不对啊。 “哥哥,我找到你了哦。” 一只优质的白莲花在穿越中不断自我完善的。98年张海川下岗成了无业游民,前途一片迷茫之时,未来的老婆穿越重生手把手教他赚钱。 当别人家的网吧还叫电脑室时,在老婆大人指点下全国第一个网咖《王者荣耀》落地贵安市。 当年轻的陈先生、马先生、史先生还在想怎么进入互联网搞钱时,张海川老早就拿下了《石器时代》《天堂》《传奇》独家代理权。 当山姆大叔的KFC还未在国内遍地开花时,张海川的中华快餐店早已抢占一二三线大城市中心,KFC、麦当劳遗憾败走华夏…… 医理入武,自创玄虚魔体。 善恶一体,衍生七情六欲。 心火入刀,焚灭三毒四劫。 燹魔一叹,刀斩尘世百态。 一日之间,我从受人敬仰的师兄变成了门派弃徒。 被师父冤枉后逐出师门?和我出生入死的结拜兄弟背叛了我?就连和我青梅竹马的小师妹也不愿意相信我? 君子周而不比,小人比而不周。且看剑道天才左不比如何从绝境中寻找希望,从不幸的泥潭中奋起,在只身一人的江湖中书写一个属于君子剑的不朽传奇!
网站设计北京新 企业品牌宣传型网站 国内信息安全现状分析 网络营销专题页 营销案例客户 信息安全专业学生需着重分析当前的信息安全面临的主要威胁及相应对策 上海高端网站制作公司 国家信息安全需要顶层设计 产品设计优秀网站 全自动语音营销机安装 信息安全 软件安全实验 手机网络安全漏洞调查 国际网络安全公司 信息安全检查 方案 软件系统信息安全建设,-1 化妆品营销情景案例分析 北京营销型网站 专注电子商务网站建设 网站推广的好处 百度推广营销计划 网络营销管理内容 萝岗网站建设 衡水网站制作公司哪家专业 福州网站建设 常州企业网站建设 高端网站建站公司 免费建网站 中国网络安全技术对抗赛 厦门做网站 常德做网站 网站建设三站合一 网络安全法 等级保护 端午节网络营销 山东响应式网站建设 深圳b2c网络营销公司 信息安全 国际会议,-1 单位网络安全要求 信息安全技术pdf 微博营销效果分析 网站销售方案 广州做手机网站信息 上海网站改版 关系营销的优劣性 网络安全指什么 营销的不足 北京网站空间 合肥市做网站的公司有哪些 网络营销方法和应用 企业网站类型 信息安全技术pdf 天蝎网站建设公司 企业存在网络安全介绍 国家信息安全需要顶层设计 网站建设 天津 广州做手机网站信息 信息安全专业学生需着重分析当前的信息安全面临的主要威胁及相应对策 网站设计作品 软件系统信息安全建设,-1 北京网站空间 企业网络安全咨询 国际网络安全公司 创新的网站建站 哈尔滨网站建设市场分析 网络营销专题页 什么叫引擎营销 高端网站建站公司 网络营销的安全性 网站长尾词 上网站乱码 会议营销搜单 qq群主网络安全 昌都网站建设 徐州市网站开发 网站建设经验心得 成都网站模板 金融网络安全案例 网站建设案例资料 区域营销托管什么意思 信息安全竞赛题库 网站推广的好处 网络安全法 等级保护 滨州建网站 网络安全检测工具 安恒信息安全学院 郑州网络营销公司 中国国家信息安全中心 irs网络安全战略目标 网络市场营销 网络安全前修课程 2015年我国互联网网络安全态势报告 区域营销托管什么意思 企业信息安全哪个方面是最重要的 信息安全 国际会议,-1 邢台做网站公司 兼职网站制作 秒收的网站博客营销 衡水网站制作公司哪家专业 网络信息安全散文 昌都网站建设 兼职网站制作 深蓝 信息安全国家信息网络安全中心 福州网站建设 网络信息安全和合作 深蓝 信息安全国家信息网络安全中心 手机网络安全漏洞调查 互联网信息安全资质 企业品牌宣传型网站 泉州网站设计 高端网站建站公司 青岛网站优化 上海十大互联网营销 粉丝通营销 信息安全检查 方案 免费建网站 网络安全安全大会2015信息安全研究 利用互联网营销的例子 医院网络营销是什么意思 网络营销的发展和趋势 网站建设经验心得 营销实例 厦门做网站 网络安全措施媒体 青岛网站优化 建手机网站的平台 上海网站改版 设计师网站 2016最新网络安全事件 关键基础设施网络安全框架 网站建设三站合一 html营销邮件网络营销师学多少钱 天?h网络安全审计系统v6.0 2016最新网络安全事件 杭州网络安全公司排名 网络安全法 等级保护 金融网络安全案例 杭州网络安全公司排名 安徽网站推广 医院网络营销是什么意思 端午节网络营销 手机网络安全漏洞调查 网站推广的好处 韩国政府网络安全事件 山东响应式网站建设 网站建设小技巧 会议营销搜单