Hello I would like to split a WordPress site in 2 categories.
One category will be shown on: http://www.domain1.com and the other category of pages will be show on http://www.domain2.com. On the website hosting I have aliasing on.
The current site is build with joomla and the script that handles the right redirect is:
if($secid == 2 && ($siteurl == 'http://www.domain1.nl')){
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.domain2.nl" . $url_suffix . '/' . $url );
}
if($secid == 1 && ($siteurl == 'http://www.domain2.nl')){
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.domain1.nl" . $url_suffix . '/' . $url );
}
Now I'm developing this website for WordPress. What should I do? Make a redirect in the header.php or make a multisite with the new function in WP 3?