Forums

301 redirect vs multisite of WP. What to do (2 posts)

  1. smoothman
    Member
    Posted 4 months ago #

    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?

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    I know you can use categories for subdomains: http://wordpress.org/extend/plugins/wordpress-subdomains/

    If you use Multisite, they would be two totally separate sites. Do you need crossover posts?

Reply

You must log in to post.

About this Topic