Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
BlowingWind Posted November 27, 2015 Posted November 27, 2015 1. For business reasons (eg mergers), it is sometimes required to have 2 URLs pointing to the SAME forum. eg http://www.xyz.com/forum and http://www.abcdef.com/forum2. Can this be done at all ? 2. My DNS points www.xyz.com and www.abcdef.com to the same IP Now conf_global.php $INFO['board_url'] = http://www.abc.com/forum But I cannot find a place to put the 2nd URL Thank you.
craigf136 Posted November 27, 2015 Posted November 27, 2015 As far as I'm aware, it will only run under the one URL structure, you can certainly add an alias or redirect but the URL within config will show.
PrettyPixels Posted November 27, 2015 Posted November 27, 2015 This worked for me on my test install: 'base_url' => 'https://'.$_SERVER['HTTP_HOST'].'/IPB', My install is in a directory called IPB, so you'll just need to adjust the code accordingly. That said, Google will penalize you for duplicate content if you point both domains to the same content. Your best bet is to choose one of the domains to be primary, then use cPanel to redirect your secondary domain name to the primary domain name.
Stuart Silvester Posted November 27, 2015 Posted November 27, 2015 You can only use one URL per IPS4 installation.
Mark H Posted November 27, 2015 Posted November 27, 2015 That method also violates our license terms, just so you're aware. As was noted, only one URL can be used, and the proper method to do this would be to create a "domain forwarder" at the Registrar, pointing abc.com to xyz.com. Visitors will have the URL rewritten from abc.com to xyz.com when they try to visit abc.com.
BlowingWind Posted November 27, 2015 Author Posted November 27, 2015 We likely to go down the route of phasing out one of the domains.. Business point NOT good to keep 2 brands (urls) in the longer term. However thanks everyone for those helpful suggestions. Learnt something new.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.