I need a 301 redirect from these pages:
form/5/asd.html
form/5/12dasd.html
form/5/dasidjasd.html
form/5/pasd1.html
Always to this page: /form/12/name.html
Can you help me, because I never understand .htaccess redirects :(
将RedirectMatch与通配符一起使用,并在指定重定向到的位置时记住使用完整的URL:
RedirectMatch 301 /form/5/.* www.example.com/form/12/name.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.