Here’s my configuration:
Wordpress and WPML are installed and the translation works great if I select the correct language on the Domain1.com
Now, I would like to make a permanent redirection of Domain2.com to Domain1.com but I would like to keep the URL of Domain2.com everytime on the website, with the possibility to select the ENG language and be redirected on Domain1.com
Is that clear? hehe
So, Is there a specific configuration to set with Virtualmin?
Thanks a lot!
Domain2.com (FR) now redirect (301) on Domain1.com/fr but the url displayed is still Domain1.com/fr. Is it possible to see only Domain2.com and hide Domain1.com ?
You could use an iframe HTML element on the domain you wish the visitor sees in his web browser address bar to call the URL that you wish the visitor does not see. That’s one way to hide the URL though it is not foolproof or without its disadvantages, particularly if your visitor does lots of switching back and forth between languages.
Virtualmin offers a proxy configuration feature and this could be an alternative approach for you to try if the iframe idea does not work too well.
There might even be ways to use URL rewrite rules in htaccess to get exactly the outcome that you are after.
Outside of Virtualmin there are PHP proxy scripts (Google is your friend) which can work quite well if your e-commerce website is simple enough in terms of its UI.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.