October 18th, 2009, 04:01 PM
Htaccess rewrite dog
Hi. Can someone please write me rewrite rule for htaccess for this link
http://www.mysite.com/orderconfirmation.php?email=<?php echo "$email"; ?>&link=<?php echo "$link"; ?>&7letterword=<?php echo "$sevenletterword"; ?>&name=<?php echo "$name"; ?>&surname=<?php echo "$surname"; ?>
November 1st, 2009, 02:52 AM
you didn't provide how you wanted it to work or anything so here is one way...change it however you want. Also I am assuming you have rewrite turned on in your htaccess file so if not be sure to turn it on.
RewriteRule ^(.*)-(.*)-(.*)-(.*)-(.*).html$ ./orderconfirmation.php?email=$1&link=$2&7letterword=$3&name=$4&surname=$5