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? Link to comment https://forums.phpfreaks.com/topic/152845-mod-rewrite/ 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 Link to comment https://forums.phpfreaks.com/topic/152845-mod-rewrite/#findComment-802697 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.