Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 1 Ответов
  • 1753 Просмотров
*

Joker

  • Захожу иногда
  • 235
  • 3 / 0
Добрый день, подскажите какие данные отвечают за генерацию тега "noarchive", где он лежит? crazy!
*

Joker

  • Захожу иногда
  • 235
  • 3 / 0
решил вопрос вот так
libraries/joomla/document/html/renderer/head.php

в строке 76
было
Код
	// Generate META tags (needs to happen as early as possible in the head)
foreach ($document->_metaTags as $type => $tag)
{
foreach ($tag as $name => $content)
{   
if ($type == 'http-equiv') {
$strHtml .= $tab.'<meta http-equiv="'.$name.'" content="'.$content.'"'.$tagEnd.$lnEnd;
} elseif ($type == 'standard') {
$strHtml .= $tab.'<meta name="'.$name.'" content="'.str_replace('"',"'",$content).'"'.$tagEnd.$lnEnd;
}
}
}

добавил
Код
	// Generate META tags (needs to happen as early as possible in the head)
foreach ($document->_metaTags as $type => $tag)
{
foreach ($tag as $name => $content)
{    $content =str_replace(', noarchive',"",$content);                 // ! ищем в строке тег и удаляем если есть
if ($type == 'http-equiv') {
$strHtml .= $tab.'<meta http-equiv="'.$name.'" content="'.$content.'"'.$tagEnd.$lnEnd;
} elseif ($type == 'standard') {
$strHtml .= $tab.'<meta name="'.$name.'" content="'.str_replace('"',"'",$content).'"'.$tagEnd.$lnEnd;
}
}
}
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

https как отключить, Joomla

Автор Kooll5

Ответов: 10
Просмотров: 2848
Последний ответ 10.01.2018, 14:01:03
от kern.USR
На хостинге php как fast cgi, как отключить в.htaccess?

Автор Ingener

Ответов: 2
Просмотров: 1790
Последний ответ 10.04.2013, 09:07:43
от Ingener