i need to make this: site.com/9999100 automatically turn into this: site.com/intro?pn=9999100
and it should do the same each time someones tries to typing the url with the string 9999 right after the domain name.
Any help greatly appreciated.
将此指令添加到您的根.htaccess
:
RewriteRule ^(9999.*)$ /intro?pn=$1 [R=301,QSA]
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.