RewriteEngine On
RewriteRule ^p/([A-Za-z0-9_-]+)/?$ public/poll.php?slug=$1 [L,QSA]
