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. 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 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
Archived
This topic is now archived and is closed to further replies.