Configuration of RealURL for use on more than one domain in the same database


 
If you have more then one root then you must have to set page root ID in realurl_conf.php

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
     '_DEFAULT' => array(
           'pagePath' => array(
               'type' => 'user',
               'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
               'rootpage_id' => 1
           ),
       ),

       'www.test.in' => array(
           'pagePath' => array(
               'type' => 'user',
               'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
               'rootpage_id' => 111
           ),
       )
  );

Notice how the rootpage_id field is set differently for these two cases!

$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.jainish.com'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.test.in'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.test.in'];

Another realurl configuration are here.. Please Click Here

If you have any query then feel free to contact me at Jainish Senjaliya

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s