Add querystrings to permalink slug
-
Hi WordPress community,
i have some QR codes that point to a generic url with a distinct id per QR code. I use htaccess to rewrite the urls. i use a RewriteCond and a RewriteRule that uses %1 for a variable. Online htaccess tester rewrites the url succesfully into https://url/pages/?id=%1 replacing %1 for the specified value, but used in WordPress the %1 variable is empty like so: https://url/pages/?id=.
- How can i make WordPress accept querystring values?
- fine for me if i can use https://url/pages/%1 But WordPress also removes anything that isnt part of the permalink for the specified page. Is there a way to allow this?
Thanks & kind regards,
SjakieM
- The topic ‘Add querystrings to permalink slug’ is closed to new replies.