Jump to content

.htaccess redirect help php var


imperium2335

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.