imperium2335 Posted September 21, 2009 Share Posted September 21, 2009 Hi, is it possible to have one of my domains redirect to another one but with a php var added? e.g. i have this at the moment (it doesn't work): #Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www.interfiber.cn$[OR] RewriteCond %{HTTP_HOST} ^interfiber.cn$ RewriteRule ^(.*)$ http://www.interfiber.com/$1?lang=Cn [R=301,L] Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/174981-htaccess-redirect-help-php-var/ Share on other sites More sharing options...
ozestretch Posted September 21, 2009 Share Posted September 21, 2009 By php var I assume you mean query string? Might want to check in the mod rewrite forum http://www.phpfreaks.com/forums/index.php/board,50.0.html Quote Link to comment https://forums.phpfreaks.com/topic/174981-htaccess-redirect-help-php-var/#findComment-922311 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.