wemustdesign Posted April 6, 2009 Share Posted April 6, 2009 I have created a .htaccess file to shorten my url's. Works fine but cannot get the query string to pass to my page. The original url was index.php?uk=North_East after mod rewrite ?uk/North_East .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteRule index/uk/(.*) index.php?uk=$1 and to get the query string I am using: $region= $_GET['uk']; Any ideas what I am doing wrong? Quote Link to comment Share on other sites More sharing options...
wemustdesign Posted April 6, 2009 Author Share Posted April 6, 2009 this is what I get when i print_r Array ( [uk/North_East] => ) , UK Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.