.htaccess use parameter from request_uri and query_string
snippet in htaccess

.htaccess use parameter from request_uri and query_string

user1440

RewriteCond %{QUERY_STRING} ^p=(.*)
RewriteRule ^page/(.*)\.html$ /rewrites/page.php?selection=$1&pagination=%1 [NC,L]