Actually, I was looking at the wrong file. Here is the code that needs deciphering:
ErrorDocument 404 http://website.com/404
Options +FollowSymlinks
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
## REMOVE TRAILING SLASH
RewriteRule ^(.*)/$ $1 [R=301,L]
## REDIRECT REQUESTS FOR WELCOME PAGE TO SITE ROOT (avoids pagerank duplication)
RewriteRule ^welcome$ / [R=301] [L]
RewriteRule ^administration$ /administration/index.php [L]
RewriteRule ^alabama$ /index.php?page=contact®ionID=1 [L]
RewriteRule ^contact/alabama$ /index.php?page=contact®ionID=1 [L]
RewriteRule ^washington$ /index.php?page=contact®ionID=1 [L]
RewriteRule ^contact/washington$ /index.php?page=contact®ionID=1 [L]
## PASS FIRST URI SEGMENT TO $p VARIABLE
RewriteRule ^([A-Za-z0-9-]+)(/?)$ /index.php?page=$1 [L]
## PASS FIRST URI SEGMENT TO $p VARIABLE and SECOND URI SEGMENT TO $v VARIABLE
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)(/?)$ /index.php?page=$1&$2=$3 [L]
RewriteRule ^([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)/([A-Za-z0-9-]+)(/?)$ /index.php?page=$1&$2=$3&$4=$5 [L]
</IfModule>
The commenting helps understand the intended function of the code but is there a glossary or something that someone can refer me to that explains all the details, such as what ^, (/?), [L], etc. mean?
(There are more states than just Alabama and Washington but I wanted to keep it simple so stripped the rest out).
Thanks