Clearn URL Parameters

Is it possible to interchange parameters for a clean url? Say sometimes a page is “page.php?act=view&id=1” and then another time the page is “page.php?act=view&user=admin” is it possible to interchange the “id” parameter and the “user” parameter. I tried writing two separate rewrite rules but it only runs the first rewrite rule

https://pastebin.com/ft69YnTN

Bump wondering if this is even possible to interchange parameters

There’d be no way for your web server to understand which one you wanted. Your users can pass URLs around by copy / paste or just by speaking them over the phone; they should be easy to understand and having a section that sometimes does one thing and sometimes does another isn’t great.

What are the sections of your app you’re trying to link to?

Sponsor our Newsletter | Privacy Policy | Terms of Service