sugan Posted May 5, 2008 Share Posted May 5, 2008 I dont know how to redirect an url in an htaccess file which contains three arguments as: site/index.php?coun=india&year=2008&ee=list I need it to be as : site/india-2008-list How to do it! How to write redirect cond and rule for it?Pls help!Regards,Suganya Link to comment Share on other sites More sharing options...
Synook Posted May 5, 2008 Share Posted May 5, 2008 This may work (no Regex errors): RewriteRule ^([a-z]+)\-((1|2)[0-9]{3})\-([a-z]+)$ /index.php?coun=$1&year=$2&ee=$4 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.