htaccess rewrite rule seo friendly url with query string
I want SEO friendly urls with query string using .htaccess and get values in php $_GET variable http://localhost/blog/categoryslug/postslug/?rf=1234&key=ad2312 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^blog/([0-9a-zA-Z-]+)/([0-9a-zA-Z-]+?)/?$ /blog/detail.php?cat_slug=$1&slug=$2 [L] but on print_r, I get only 2 keys: print_r($_GET); exit; Array (…