Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试重定向这个现在产生 404 的示例格式
存档/主题/t-59411_Nastase_RHIC_produces_black_holes.html
到这种有效的格式:
存档/index.php/t-59411.html
如果它们是查询字符串,我只能找到如何做的示例。数字 59411 是动态 ID
谢谢!!
RedirectMatch 301 ^/archive/topic/t-(\d+)_(?:[0-9a-zA-Z]+)\.html$ http://your.domain/archive/index.php/t-$1.html