kinkibcn Posted April 22, 2015 Share Posted April 22, 2015 (edited) Hi, I am using PS 1.6.0.11 and I need help to configure htaccess redirect from my domain .ES to .COM The goal is to redirect full URL .ES to full URL .COM to avoid duplicate content. For example: http://www.domain.es/es/promotions Redirect to: http://www.domain.com/es/promotions I've done a lot of testing but I can not configure it. With some variations, I have basically tried: Option 1 RedirectMatch permanent ^ $ http (. *): //www.domain.com$1 I get an error message "This web page has a redirect loop" (ERR_TOO_MANY_REDIRECTS) Option 2 RewriteCond% {HTTP_HOST}! ^ Www \ .domain \ .com / $ 1 RewriteRule ^ (. *) $ Http://www.domain.com/$1 [R = 301, L] Redirects to http://www.domain.com/es without preserving the full URL (Example: ... / promotions) Thanks for your help. Edited April 22, 2015 by kinkibcn (see edit history) Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted April 22, 2015 Share Posted April 22, 2015 you will not encounter duplicate content punishment when you have only one(1) gTLD (.com) and one or more ccTLD's (.es). (assumes your shop has .es language) Link to comment Share on other sites More sharing options...
kinkibcn Posted April 22, 2015 Author Share Posted April 22, 2015 El Patron, thanks for your answer. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now