Good Resources For Example Rules

Before the rules

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

No Parameters Example

RewriteRule ^groups$ groups.php [L]

1 Parameter Example

RewriteRule ^flips/([^/]*)$ flips.php?fid=$1 [L]
Converts this URL format:
To this actual php page


2 Parameter Example

RewriteRule ^flips/([^/]*)/([^/]*)$ flips.php?fid=$1&valueb=$2 [L]
Converts this URL format:
To this actual php page


Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.


Your email address will not be published. Required fields are marked *