Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    you can only map one domain to one original url. so in case of the mapping
    https://subdomain.mydomain.com <=> https://mydomain.com/subdomain
    also
    https://subdomain.mydomain.com/abc
    will map to
    https://mydomain.com/subdomain/abc

    so if you want more than one page to use another domain, you will need to set up an url structure, where every part of this page is under one parent url. i know that the ui should give more feedback on this topic and we are definitely going to release a new version where there will be more information and feedback on this stuff ??

    i hope you can solve your problem with this information.
    matt

    Thread Starter mc9625

    (@mc9625)

    I see. The problem is that everything works as long as one uses only pages, but it makes very difficult to use posts, or at lease a mix of both.

    Probably a quick fix could be to simply make https://subdomain.mydomain.com <=> https://mydomain/subdomain where subdomain is actually a category and then create a custom archive page for that category that resembles a landing page. Even so it would make very hard to keep navigation coherent, even using relative url in the menu would be too difficult, mixing posts and pages (since che main menu would be the same for all the “subdomains”)

    Another (possibly better) way could be (I don’t know if it is possible at all with WordPress) to use a kind of “prefix” before categories.

    Let’s say I make a https://subdomain.mydomain.com <=> https://mydomain.com/subdomain where subdomain is actually a page. Since I can’t have a category with the same name, it should help to be able to add “subdomain” prefix to a category, for instance /subdomain/articles.

    I think that should work better because it would make it possible to have both pages and posts, but I really don’t know if there’s a way to add a custom prefix to a category. Obviously a dynamic prefix, since every category related to a subdomain would have its own.

    Plugin Author matthias.wagner

    (@matthiaswagner)

    well, that is a topic that deals with wordpress core and how urls are working here. so far, you will only be able to use the plugin in the way described above…

    matt

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to map pages and categories’ is closed to new replies.