Clean URL Help

Hello I’m working with clean urls and most of the time the page is like “page.php?act=1” so the clean url looks something like “page/1/” when I type the clean version. However sometimes the page needs to be like “page.php?act=1&id=7” but when I put the clean version in it like “page/1/7” doesn’t register the “7” since there’s only 1 variable in the Rewrite rule. But if I include 2 variables in the rewrite rule then whenever I go to “page/1/” it gives me a 404 so it’s expecting the second part. Is there a way to rewrite the rule so that it only looks for the “$id” part sometimes?

Sponsor our Newsletter | Privacy Policy | Terms of Service