• One of the subsites in my WP Network will be a new website version of an existing (static HTML) site. So I need to have redirects from their old HTML pages to the new WP pages.

    I am thinking I should keep those redirects (potentially hundred pages) in an .htaccess file just for that subsite, rather than mess around with the .htaccess of the WP network.

    Is my thinking valid? If so, how/where do I put this subsite’s .htaccess? If not, what do you recommend I do instead?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Subdomain or subfolder? Or (dare I ask) mapped domains?

    Subfolder’s much easier, just put the redirects in like you normally would, above the WP calls.

    Subdomain and mapped domains needs a little chicanery if you can’t blanket redirect.

    Thread Starter Strategerizer

    (@rneagu)

    Mapped domains; the client will need to have their subsite appear at their own company URL.

    I probably can’t use rules for the redirects, rather one-by-one mapping for each of the old static .htm files to the new WP subsite path. My concern is having a hundred of those redirects in the main supersite .htaccess file. Is there a better way?

    Do you have any more specific feedback or pointers?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    There are redirect plugins, though I don’t know how they’d work with Multisite…

    Thread Starter Strategerizer

    (@rneagu)

    OK, I’ll investigate that; thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible to have separate .htaccess file for a subsite?’ is closed to new replies.