Hello. I have two domains with the same content. Let's say that it's - www.domain.pl and www.domain.com.pl I want to redirect .com.pl domain to .pl
How to set 301 redirect in htaccess file? I tried like this: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^www.domain.com.pl$ /www.domain.pl [R=301,L] RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> but it doesn't work (I enter .com.pl site and it doens't redirect me to .pl) Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
