Jump to content

Link ID Changes !


manalnor

Recommended Posts

Hello dear friends,

 

Let say we have

 

$to = "gigi";

 

then we have link like this

 

mysite.com/$to_$id.html

 

with indeed .htaccess code

 

RewriteRule -(.*)\.htm file.php?id=$1

 

it will works , Now what if i want to make the link like this

 

mysite.com/$id/$to.html

 

what will be the .htaccess code in this way ???

 

Link to comment
https://forums.phpfreaks.com/topic/228597-link-id-changes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.