<IfModule mod_rewrite.c>
RewriteEngine on
RewriteOptions MaxRedirects=1
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^([a-zA-Z0-9_-]+)$ redirect.php?alias=$1 [L]
</IfModule>
what that is the code that is being used for the url shrink script
i dont know if i need to add a separate module to say if that variable $1 contains a dash to redirect to preview.php?alias=$1
and if it contants a-zA-Z0-9 to goto redirect.php?alais=1