-1

尝试重定向这个现在产生 404 的示例格式

存档/主题/t-59411_Nastase_RHIC_produces_black_holes.html

到这种有效的格式:

存档/index.php/t-59411.html

如果它们是查询字符串,我只能找到如何做的示例。数字 59411 是动态 ID

谢谢!!

4

1 回答 1

0
RedirectMatch 301 ^/archive/topic/t-(\d+)_(?:[0-9a-zA-Z]+)\.html$ http://your.domain/archive/index.php/t-$1.html
于 2013-04-16T17:48:05.800 回答