• Resolved Romanceor

    (@romanceor)


    Hello,

    I have a multisite installed on http://www.aka.bf on subdomains (with wildcard) and multidomain.
    For example, result is :
    sherikidz.aka.bf = http://www.sherikidz.com

    Now, I want to add another subdomain, without multidomain : for example 2015.aka.bf

    I’ve added the redirection on the domain manager and have now these redirections :
    – *.aka.bf
    – 2015.aka.bf
    http://www.2015.aka.bf

    But when I go on 2015.aka.bf, it redirects on the main site http://www.aka.bf

    Here is my HTACCESS file :

    SetEnv PHP_VER 5_3
    SetEnv REGISTER_GLOBALS 0
    
    Options -Indexes
    ErrorDocument 403 http://www.aka.bf
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    Thank you very much for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MultiSite with SubDomains’ is closed to new replies.