I want URL rewriting solution. I have this URL [http://dailyimage.in/photo.php/1480] and I want to hide .php or [http://dailyimage.in/photo/1480] this type URL
Now I am using this code but it's not working in my .htaccess file
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php [QSA,L]