.htaccess moderewrite and assign subdomain to other subdir

Discussion in 'Apache' started by mordimi, Jul 2, 2011.

  1. #1
    Hello guys, ill go straight to the point.

    actually i have a wordpress site, with a domain (obviously), in this website there is a multilingual plugin that creates a /language pseudo-directory (eg. domain.com/en/blablabla.php)

    I have another domain (lets call it languagedomain) and i would like to point to that subdir, i tried with few rules and i succedeed, BUT i dont whant the url to change.

    if i use LANGUAGEDOMAIN that points to domain.com/en/$ then on the address bar the url will be domain.com/en/$ and not just LANGUAGEDOMAIN.

    is there a way to make it not happen? thanks in advance
     
    mordimi, Jul 2, 2011 IP