Forums

[resolved] Multiple sites with diff. themes redirect to same index.php (6 posts)

  1. lkcomwebmaster3
    Member
    Posted 4 months ago #

    Hi all!

    So, here's the deal: I have a multisite structure set up and working, and i manage two sites from the same user. Each site has its custom theme I developed, and they're running under a path structure.

    I'm using http://www.example.com/site as my main site with custom theme "A" and http://www.example.com/site/site2 as my secondary site with custom theme "B".

    Everything is installed and running flawlessly, except by one point: when I point to http://www.example.com/site/site2 it loads the theme "A" where it should load these from theme "B". But, when I move to a subdirectory like http://www.example.com/site/site2/subdirectory/ it loads correctly.

    What am I missing? Both themes are installed, active on the network and each site knows which theme it should use.

    Any help will be vastly appreciated =)

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    But, when I move to a subdirectory like http://www.example.com/site/site2/subdirectory/ it loads correctly.

    Uh... what's the subdirectory under site doing? I mean, how did you make that?

  3. lkcomwebmaster3
    Member
    Posted 4 months ago #

    I think I may not have explained myself well there. What I meant is: site2 has other subpages, and when I load one of them it loads the correct theme and its header, sidebar, etc...

    The way I got both sites to work was by putting, in my FTP server, the files related to site2 (like wp-content and wp-includes) in a folder along with site's folders (wp-admin, wp-content, and so on...).

  4. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 4 months ago #

    That ... doesn't sound like MultiSite at all.

    Multisite has ONE location for ALL themes.

    You installed in public_html/site/ and under that you have ONE folder for wp-content. That handles everything for ALL sites in your network.

  5. Andrea_r
    team pirate
    Posted 4 months ago #

    Look for physical folders on the web server the same as your sub site names. IF they exist, nuke 'em.

  6. lkcomwebmaster3
    Member
    Posted 4 months ago #

    I did as you told, and it worked!

    Thank you so much for the support, Ipstenu and Andrea_r!

    =)

Reply

You must log in to post.

About this Topic