i created sub domain for my application (http://articles.myloanguroo.com/inside.php/?short=1). Now i want to create a pretty URL for this like (http://articles.myloanguroo.com/inside/1)
MY .htaccess file
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(\w+)$ inside.php?short=$1
RewriteCond %{HTTP_HOST} !^www\.myloanguroo\.com$ [NC]
RewriteCond %{HTTP_HOST} ^([a-zA-Z0-9]+)\.myloanguroo\.com$ [NC]
This is not working for me. Showing 404 Error. Help me how to create subdomain pretty URL's in PHP