The MU forums have moved to WordPress.org

Wordpress MU and Normal Wordpress .htaccess problem (2 posts)

  1. PleaseHelp
    Member
    Posted 18 years ago #

    Hello,

    I'm trying to use wordpress mu and normal wordpress on the same domain.

    Normal wordpress is in /dir directory and wordpress MU is in the root /

    I'm trying to use subdomains but I can live with only the subdirectories.

    The problem is located in the htaccess I'm using. It's located in / and it contains:

    Redirect 301 /index.html http://www.domain.tld/dir/

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.domain\.tld$
    RewriteRule ^(.*) http://www.domain.tld/$1 [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^dir/ /dir/index.php [L]
    </IfModule>

    # END WordPress

    How I can have:

    http://www.domain.tld redirects to http://www.domain.tld/dir
    domain.tld redirects to http://www.domain.tld

    and use

    subdomains blog.domain.tld or subdir: http://www.domain.tld/blog for wordpress mu?

    Thanks in advance :)

  2. andrea_r
    Moderator
    Posted 18 years ago #

    Too many redirects. I'd install WPMU in the /blog/ folder if that's what I wanted.

About this Topic

  • Started 18 years ago by PleaseHelp
  • Latest reply from andrea_r