can you please give me a rewrite rule for this?
http://www.example.com/?currentpage=2
I need something like: http://www.e开发者_开发知识库xample.com/curentpage/2.html, or something which is better for seo.
Please help
How about this?
RewriteRule ^/\?(.*?)=(\d+)$ $1/$2.html [R=301,L]
just the same as @limc said but replaced the (.*?) with the currentpage
RewriteRule ^/\?currentpage=(\d+)$ currentpage/$1.html [R=301,L]
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论