.htaccess - how to redirect in php using htaccess -


i need redirect page www.someone.com/2011/03/05 sample.php?dt=2011/03/05 using htaccess , php, thanks.

rewriteengine on rewriterule ^(\d{4}\/\d{2}\/\d{2})/?$ sample.php?dt=$1 [l] 

Comments

Popular posts from this blog

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -