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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -