criat Posted November 11, 2013 Share Posted November 11, 2013 I'm using this code to change languages: Select your country: <a href="{$smarty.server.PHP_SELF}?language=brasil">Brasil</a> <a href="{$smarty.server.PHP_SELF}?language=us">United States</a> <a href="{$smarty.server.PHP_SELF}?language=spain">Spain</a> I would like to replace ?language to ?country, so I tried this in .htaccess: RewriteRule ^(.*)?language=(.+)$ (.*)?country=(.+)$1 Didn't work though, I'm kinda noob. Any suggestions? 0 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.