Hey guys,
I've got no idea what I am doing here, I've been trying to read tutorials on how to use the RewriteRule to create my own permalinks. I can't make much sense of them, If anyone knows any good tutorials please let me know.
I want to change my url, so this happens
example :
http://www.mysite.com/productpage.ph...me=SUPER+AMINO
will turn into
www.mysite.com/Dymatize/SUPER+AMINO/
I don't want the productidpage variable to be factored into the url rewrite, but the $_GET['productidpage'] needs to be picked up in the code still to load the right page.
here is my fail code that I come up with after hours of trying to learn and looking at other examples.
RewriteEngine on
RewriteRule ^~/$2/$3/? ~/productpage.php?productidpage=$1&brand=$2&productname=$3
My frustration has reached extremes so I've come to the experts for help, I was hoping to go live with the site once this issue is solved.
Please help..
Much appreciated.