I have a rule that works ok
RewriteEngine ON RewriteRule ^([A-Za-z0-9-]+)?$ index.php?do=$1 [L]
That takes something like /wwwroot/clip-bin and interprets it as index.php?do=clip-bin
Now my question is I need a second rule.
In the clip bin, I have a list of clips that I want clickable..the url of them is /wwwroot/clip/# where # is simply a number. I dont know where to go from here. Basically I need it to interpret as index.php?do=clip&id=# ....can anyone help with this?
RewriteRule ^([A-Za-z0-9-]+)?/([0-9]+)$ index.php?do=$1&id=$2 [L]
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.