1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

htaccess help

Discussion in 'Apache' started by Big Fish, May 17, 2010.

  1. #1
    I have Wordpress MU installed in a separate directory.

    http://www.site.com/wpmu/

    I have enabled wildcard subdomains and that is working fine, but the individual blogs have the "/wpmu/" in the address.

    http://subdomain.site.com/wpmu/

    Is there a way that I can use htaccess to check if the subdomain has the "/wpmu/" and then hide it?
     
    Big Fish, May 17, 2010 IP
  2. RAmoss

    RAmoss Guest

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What do you mean by "subdomain has the /wpmu/"?

    do you mean you want /wpmu/ to be the default dir for subdomain.site.com?
     
    RAmoss, May 17, 2010 IP
  3. Big Fish

    Big Fish Member

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #3
    No, I actually want to "hide" the /wpmu/ part of the URL.

    Since I didn't install Wordpress MU in the root directory of the site, every blog that is created has "/wpmu/" after it.

    http://subdomain.domain.com/wpmu/

    I thought I could use htaccess to check to see if the subdomain address has that "/wpmu/", then it could hide it. I have subdomains that are static and don't contain "/wpmu/" in the URL.

    Does that make sense?
     
    Big Fish, May 17, 2010 IP
  4. RAmoss

    RAmoss Guest

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    basically, from what your telling me, you want to the sub.domain.tld to basically be sub.domain.tld/wpmu/ and the only way to do that is put wpmu in the root dir for the sub.domain.tld
     
    RAmoss, May 17, 2010 IP
  5. Big Fish

    Big Fish Member

    Messages:
    23
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #5
    Big Fish, May 17, 2010 IP