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.
我有几个 url(例如 helloworld.com/test-1-xyz.html、helloworld.com/test-1-abc.html)需要重定向到单个 url(helloworld.com/test-1-contact. html)
到目前为止,我已经做到了
RewriteRule ^test-1-(.*)$ contact.html [NC,L,R=301]
但它不工作。知道我的代码有什么问题吗?