What your rewrite rules will be in your .htaccess file will largely depend upon your requirements. But for the sack of completeness I am going to include the sample script.
RewriteEngine On
Options +FollowSymLinks
RewriteBase /
RewriteRule ^([a-z]+[0-9]*_?[a-z]*[0-9]*)$ ${links:$1} [NC]
The $1 argument will be passed to our PHP script ‘rewriting_script.php’ (mentioned by the label ‘links’) and the return value will be substituted.
Tuesday, September 23, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment