title: How to get product_id / entity_id in Magento using Product URL
body: <p>I want to fetch product_id / entity_id from products url in Magento. </p>
  
  <p>If anyone has done this before please let me know .. </p>
  
  <p>Currently I can fetch all information using product_id. </p>
  
  <p>But I want to fetch info using its product url - </p>
  
  <p>Below is my code - </p>
  
  <pre><code>&lt;?php
      $model = Mage::getModel('catalog/product') //getting product model
  
      $_product = $model-&gt;load($productid); //getting product object for particular product id
  
      echo $_product-&gt;getShortDescription(); //product's short description
      echo $_product-&gt;getDescription(); // product's long description
      echo $_product-&gt;getName(); //product name
  
  ?&gt;
  </code></pre>