In wordpress I want to add the Get parameters for some pages
currently my paramlink settings are are to example.com/pagename/
what I want do is example.com/pagename?a=1&b=2
add these two parameters only in pagename
page
I tried to do like this in my .htacess
RewriteRule ^pagename/([^/]+)$ pagename?a=1&b=2
But this is not working
is there any way I can do it in my wordpress website I am using wordpress 5.1