I am using wordpress and have pages for each state as well and a small script which loads information for each city so the urls are like this http://site.com/states/louisiana/?city=Shreveport Stats = Page Lousiana = SubPage Can anyone help me how to turn this into http://site.com/states/louisiana/Shreveport My current .htaccess file is # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Code (markup):