I want to convert last / to ? for a url.
For eg. : /custom/2342546578 to custom?2342546578 using htaccess rule.
where custom is my page and last string is the unique id for customer identification.
How to use htaccess rule for redirection?