I have a htaccess rule as follows:
RewriteRule ^restaurant-([0-9_-]+)-([a-zA-Z0-9_-]+)-([a-zA-Z0-9_-]+)-menu$ rest_menu?&id=$1&area=$2&Name=$3
The url is as follows: https://example.com/restaurant-3-place-restname-menu
.
But I want the url to be https://example.com/restaurant-3-place-restname/menu
.
How do I change my htaccess rule so that it starts working.
Notice: the "- " before menu is replaced by "/".