Rewrite GET variables in WordPress

I am working on a wordpress online shopping portal with variable products. I am sure that I can access specific product / variations using the GET variables through adding parameters to the access URLs, but when i am trying to rewrite them, i am always getting a Page 404 error. 

What i understand is there is something to do with the rewrite rules of wordpress which are configured at .htaccess to set these pretty links, but not sure which line to tweak in the .htaccess I am sharing the details of my .htaccess file. Hope some buddy can help me figure out the specific rule which i need to tweak to.


RewriteEngine on
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^summer\-sale/ /mens-shoes-sale/? [R=301,L]
RewriteRule ^summer\-sale /mens-shoes-sale/? [R=301,L]
RewriteRule ^blog/shoes/10\-most\-popular\-mens\-classic\-shoes/$ /blog/mens\-shoes/10\-most\-popular\-mens\-classic\-shoes/? [L,R=301]
RewriteRule ^blog/shoes/how\-to\-care\-for\-your\-leather\-shoes/$ /blog/mens\-shoes/how\-to\-care\-for\-your\-leather\-shoes/? [L,R=301]
RewriteRule ^blog/shoes/6\-classic\-shoes\-every\-man\-should\-own/$ /blog/mens\-shoes/6\-classic\-shoes\-every\-man\-should\-own/? [L,R=301]
RewriteRule ^blog/shoes/how\-to\-choose\-the\-right\-black\-tie\-tuxedo\-shoes/$ /blog/mens\-shoes/how\-to\-choose\-the\-right\-black\-tie\-tuxedo\-shoes/? [L,R=301]
RewriteRule ^blog/shoes/5\-british\-made\-shoes\-worn\-by\-movie\-characters/$ /blog/mens\-shoes/5\-british\-made\-shoes\-worn\-by\-movie\-characters/? [L,R=301]
RewriteRule ^blog/shoes/6\-most\-popular\-mens\-brogue\-shoe\-styles/$ /blog/mens\-shoes/6\-most\-popular\-mens\-brogue\-shoe\-styles/? [L,R=301]
RewriteRule ^blog/shoes/5\-benefits\-of\-a\-goodyear\-welted\-shoes/$ /blog/mens\-shoes/5\-benefits\-of\-a\-goodyear\-welted\-shoes/? [L,R=301]
RewriteRule ^mens-shoes/loake/?$ /mens-shoes/?brand=loake&orderby=menu_order [NC,L,QSA]
RewriteRule ^mens-shoes/carlos-santos/?$ /mens-shoes/?brand=carlos-santos&orderby=menu_order [NC,L,QSA]
RewriteRule ^mens-shoes/trickers/?$ /mens-shoes/?brand=trickers&orderby=menu_order [NC,L,QSA]
RewriteCond %{QUERY_STRING} ^post_type\=product&p\=5979$
RewriteRule ^$ /shoe-care/brushes/? [R=301,L]
RewriteRule ^/?shop/mens-shoes/derby-shoes/trickers-wiltshire-leather-derby-shoes/([^/]+)/?$ /shop/mens-shoes/derby-shoes/trickers-wiltshire-leather-derby-shoes/?attribute_pa_product-color=$1 [QSA,L]

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{REQUEST_URI} ^/?wp\-content/+debug\.log$
        RewriteRule .* - [F,L,NC]
</IfModule>
<IfModule !mod_rewrite.c>
    <Files "debug.log">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order deny,allow
        Deny from all
    </IfModule>
    </Files>
</IfModule>
# BEGIN LSCACHE
# END LSCACHE
# BEGIN NON_LSCACHE
# END NON_LSCACHE

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>