[英]Permanent (301) .htaccess redirect
我需要從這些頁面進行301重定向:
form/5/asd.html
form/5/12dasd.html
form/5/dasidjasd.html
form/5/pasd1.html
始終訪問此頁面: /form/12/name.html
您能幫我嗎,因為我從來不了解.htaccess重定向:(
將RedirectMatch與通配符一起使用,並在指定重定向到的位置時記住使用完整的URL:
RedirectMatch 301 /form/5/.* www.example.com/form/12/name.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.