Joomla网站浏览器标题不会更改 [英] Joomla site Browser title will not change

查看:145
本文介绍了Joomla网站浏览器标题不会更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将网站克隆到其他域中,并且尝试更改显示在网站"选项卡中的浏览器标题.我已经更改了主页模块上的页面显示浏览器页面标题"(空白),更改了页面标题,它仍然显示与旧网站相同的标题.我可以更改代码中的某些内容,但是我不确定在哪里可以找到它.可以在菜单或代码上更改标题的地方吗?

I have cloned a website into a different domain and I am trying to change the browser title that shows up in the website tab. I have changed the page display Browser Page Title on the home page module(which was blank), I have changed the page title, its still showing the same title that was on the old website. I could change something in the code but Im not sure where to find it. Is there another place where this title can be changed from on the menu or code?

    <?php
    /**
    * @package    Joomla.Site
    *
    * @copyright  Copyright (C) 2005 - 2016 Open Source Matters, Inc. All    rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

/**
 * Define the application's minimum supported PHP version as a constant so it can be referenced within the application.
 */
define('JOOMLA_MINIMUM_PHP', '5.3.10');

if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<'))
{
    die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');
}

// Saves the start time and memory usage.
$startTime = microtime(1);
$startMem  = memory_get_usage();

/**
 * Constant that is checked in included files to prevent direct access.
 * define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
 */
define('_JEXEC', 1);

if (file_exists(__DIR__ . '/defines.php'))
{
    include_once __DIR__ . '/defines.php';
}

if (!defined('_JDEFINES'))
{
    define('JPATH_BASE', __DIR__);
    require_once JPATH_BASE . '/includes/defines.php';
}

require_once JPATH_BASE . '/includes/framework.php';

// Set profiler start time and memory usage and mark afterLoad in the profiler.
JDEBUG ? $_PROFILER->setStart($startTime, $startMem)->mark('afterLoad') : null;

// Instantiate the application.
$app = JFactory::getApplication('site');

// Execute the application.
$app->execute();

推荐答案

登录joomla并导航至admin area > Menus > Main Menu > Home > Parameters - System > Page Title.在那里,您应该看到一个更改Browser Page Title的选项.

Log into joomla and navigate to admin area > Menus > Main Menu > Home > Parameters - System > Page Title. There you should see an option to change Browser Page Title.

这篇关于Joomla网站浏览器标题不会更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆