以下是实现例子: 复制代码 代码如下: /* * 伪地址转原地址 (url_alter) */ function example_url_inbound_alter(&$path, $original_path, $path_language) { if (preg_match(‘|^article(/.*)|’, $path, $matches)) { $path = ‘node’. $matches[1]; } } /* * 原地址转伪地址 (url_alter) */ function e