I'd like to ask if it's possible to use a dynamic url and GET at the same time.
Let's say my current dynamic url is: https://yourdomain.com/blog/this-is-a-title
Would it be possible to make this work too:
https://yourdomain.com/blog/this-is-a-title?action=delete
RewriteEngine on
RewriteRule ^([0-9]+)$ index.php?id=$1
The dynamic url mentioned first works fine, but I want to make the second work as well.
This is my .htaccess - hope it helps.
PS: I know that the regex in my htaccess isn't correct, it's just an example.
https://yourdomain.com/blog/this-is-a-titlein browser and change it in browser tohttps://yourdomain.com/blog/this-is-a-title?action=deleteplease confirm once?https://yourdomain.com/blog/this-is-a-titlebut if it has the parameter?action=deleteI want the user to see a different page (but it's still on the same page) - Let me know if you still didn't understand!https://yourdomain.com/blog/this-is-a-title?action=deleteto be served by index.php is this right? If yes then what parameters it should pass to index.php file? eg:index.php?delete?