• Hello all,

    I am facing strange situation. I have two domains nepalove.com and feelteworld.pl.
    Wordpress is installed in /wordpress folder. Both domains are pointing from host level to www.

    In www I have .httaccess
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ – [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress

    And index.php
    require( dirname( __FILE__ ) . ‘/wordpress/wp-blog-header.php’ );

    I would guess that depending on the domain I use, I would be redirected to proper page.
    Unfortunately wordpress always goes to main site – feeltheworld.

    Currently I have implemented redirect on www level, but maybe there is nicer solution??.
    Any ideas?

    Thanks,
    Anna

    The page I need help with: [log in to see the link]

  • The topic ‘Multi-site for different domains’ is closed to new replies.