Posts: 93
Location: Melbourne, Australia
|
Assume that identity was a page ID.
So you would want to access it with something like "page/8/" in your (A HREF).
Your rule would be like this:
RewriteRule ^page/([0-9]+)/ index.php?page=$1
That means the link must start with 'page/' or else tthe rule will be ignored, the accept a variable from 0-9 only but have as many digits as you want.
that will call index.php and apply your numeric value to $1.
|