Allove Team 致力于移动应用的开发和服务(Android,J2ME,iphone,ophone)
« 转载:职业人直面压力的七个经典问题 Nokia 手机内存清理—–飞信 sip_c.log清理方法 »

How to remove Joomla Meta VERSION tags

Many may find the inclusion of this meta tag to be inappropriate for their website. However, determining how to remove it is surprisingly difficult. Here is the recommended solution:

in your template, add the following above the tag:

< ?php $this->setGenerator(’Anything you want or leave empty’); ?>

thats it!

you can also edit the core joomla file, however this change will be lost if you upgrade the site!

The file you want to edit is called head.php and is found here:
/libraries/joomla/document/html/renderer/head.php

you will want to find the following code (~line 167):
$strHtml .= $tab.’读过本文的朋友还浏览过下面这些:

日志信息 »

该日志于2009-02-01 20:46由 秦 涛 发表在[资源分享]Joomla 模板, 分享人生分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

2条评论

  1. 林晨 说:

    看不懂,呵呵

    回复

    qintao Reply:

    就是在模板中index.php 中加入这一句
    setGenerator(’Anything you want or leave empty’); ?>
    就可以了

    回复

发表评论 »

返回顶部