regex - How to write correct htacess rule? -
i have url looks like:
http://example.com/index.php?page=item&id=92954
and need redirect
http://example.com/item/show/92954
instead of 92954 there can other number id of item. how can create such htaccess rule?
i using laravel backend.
laravel provides within it:
resource controllers make painless build
restful
controllers around resources. example, may wish create controller handles http requests regarding "photos" stored application. using make:controller artisan command, can create such controller
read more resources in laravel laravel
Comments
Post a Comment