Hello I would like to split a Wordpress site in 2. one category of pages will be shown on: www.domain1.com and the other category of pages will be show on 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 movement is:
if($secid == 1 && ($siteurl == 'http://www.domain1.nl')){
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.domain2.nl" . $url_suffix . '/' . $url );
}
if($secid == 2 && ($siteurl == 'http://www.domain2.nl')){
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.domain1.nl" . $url_suffix . '/' . $url );
}
No I''m developing for Wordpress. What should I do? Make a redirect in the header.php or make a multisite?
