Something like this should work.. (In a .htaccess)..
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^page/([^/]+)?/?$ index.php?page=$1 [L]
</IfModule>
New to these forums, not sure if code giving is frowned upon.. So sorry if it is..
I found this topic **** hard, despite knowing regular expressions well..
Ta, Alex.
|