If I have url like this: www.example.com/product/yellow-bed
is it possible to retrieve product name from url?
For example, if url would be like www.example.com?page=product&product_name=yellow_bed
I would use:
$product = $_GET['page'];
$product_name = $_GET['product_name'];
But how to get it from www.example.com/product/yellow-bed
?