• Hi everyone,

    I have a Multisite installation with certain sites having a domain mapped to them. Here’s a quick description of my network :

    Primary site : somedomain.eu
    Child sites:

    somedomain.eu/site1
    somedomain.eu/site2
    anotherdomain.uk (originally somedomain.eu/site3)
    anotherdomain.fr (originally somedomain.eu/site4)

    The last two have custom domains mapped to them. When I try to do get_blog_permalink function call on either the primary site or the two children domains without domains mapped to them, I get wrong permalinks for the domains that DO have domains mapped.

    So, if I’m in somedomain.eu, and I call get_blog_permalink for the anotherdomain.uk site, i don’t get “anotherdomain.uk”-based permalinks, but “somedomain.eu/site3”-based ones. However, if I am at anotherdomain.uk and I call a get_blog_permalink for the anotherdomain.fr site, all is well.

    Anyone experienced the same problem ?

    Thanks!

    https://wordpress.org/plugins/wordpress-mu-domain-mapping/

The topic ‘get_blog_permalink problem with domain mapping’ is closed to new replies.