I would like to write a url from Original URL
www.xyz.com/folder/articles?id=1221
to rewrite URL
www.xyz.com/folder/article-title-1221.html
Would this be possible? I am wanting to creates dynamic pages based on the id in the url.
Thanks in advance
尝试这个:
RewriteRule folder/article-title-([0-9]+)\.html$ folder/articles?id=$1 [L]
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.