multisite – Mixing a custom php index page with multi-site installation

Question

I am considering building a multi-site WordPress installation, but with the main page (www.domain.com/index.php) a non-WP page. The site’s main page will have extensive custom PHP code (with ‘includes’ of other PHP files), with links to other non-WP pages – like a ‘landing’ page.

The thought is to have the custom-build PHP page as the ‘landing’ page, with possibly other non-WP pages linked via a non-WP menu bar. Then there will be individual WP sub-sites (like www.domain.com/site1 )that will be a standard WP multisite subsite.

The subsites must be one ‘folder’ deep, so not www.domain.com/wp/site1 . These sites may have their own domain name, which I know how to do.

How do I set up the domain’s index page (www.domain.com) to be a non-WP site, with the subsites as multisite instances? I think that there may be some htaccess that needs to be done. Or do I have to convert the non-WP page into a custom template?

0
Rick Hellewell 2 months 2022-11-28T16:00:20-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse