您可以使用所需的重定向为这两个视图创建模板覆盖.
您必须将文件放在:
/templates/*your_template/html/com_users/remind/default.php
/templates/*your_template/html/com_users/reset/default.php
并在default.php中添加以下代码:
/**
* @package Joomla.Site
* @subpackage com_users
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$app->redirect(JRoute::_(JURI::root()));
?>
希望这可以帮助