The MU forums have moved to WordPress.org

Subdomains (2 posts)

  1. francoisbourdon
    Member
    Posted 14 years ago #

    Hi all! :)

    I'm a K12 teacher and I have an educational website at http://www.hyperclasse.com .

    On the server, all my files are at /public_html/, the root of the site.

    On the root of the site (/public_html/), I have an index.html file to redirect visitors to the actual Hyperclasse site, located in /public_html/HYPERCLASSE/ folder. Everything is fine there!

    Now, I installed Wordpress MU on the same server space where my site is, directly in /public_html/.

    I created a subdomain blog at http://portfolio.hyperclasse.com but it redirect to the actual hyperclasse site.

    ON the htaccess file, if I set my index.html file to be first, I can't get access to my blogs. If I set the wordpress index.php file first, I don't have access to my site...

    I would like to be able to make a subdomain for each of my students, but don't know how to work it out...

    I'm just lost in the configuration thing...

    Any clue?

    Thanks!

    François

  2. delayedinsanity
    Member
    Posted 14 years ago #

    The blog seems to work fine for me?

    Do you have access to your Apache config? Using a redirect in there might be much easier than using a file to perform the same task. It could also be done in such a way as to not conflict with your subdomains.

    Failing that, you could use conditionals in your .htaccess, something like;

    RewriteCOND %{HTTP_HOST} ^www.hyperclasse.com
    RewriteRule . /Hyperclasse/ [R=302,L]

About this Topic

  • Started 14 years ago by francoisbourdon
  • Latest reply from delayedinsanity