Link ID Changes !
Posted: Wed Feb 23, 2011 8:41 am
Hello dear friends,
Let say we have
then we have link like this
with .htaccess code
we can make the link like this
it will works , Now what if i want to make the link like this
what will be the .htaccess code in this way ???
thanks for help
Let say we have
Code: Select all
$to = "gigi";Code: Select all
mysite.com/file.php?id=$1Code: Select all
RewriteRule -(.*)\.html file.php?id=$1Code: Select all
mysite.com/$to-$id.htmCode: Select all
mysite.com/$id/$to.htmlthanks for help