.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

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -