• Resolved w-sky

    (@w-sky)


    Hi there, I don’t really need the feature for having different profiles and profile settings on the WP network subdomain sites and so I wonder, how could I remove the distinction between main site profile and sub site profile(s)?

    I came up with an addition to .htaccess to redirect all access from *.mysite.com/user/ to mysite.com/user/, this is it:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^mysite\.com$ [NC]
    RewriteCond %{HTTP_HOST} ^([^.]+)\.mysite\.com$ [NC]
    RewriteRule ^user/$ https://mysite.com/user/ [R=301,L]

    RewriteCond %{HTTP_HOST} !^mysite\.com$ [NC]
    RewriteCond %{HTTP_HOST} ^([^.]+)\.mysite\.com$ [NC]
    RewriteRule ^user/(.*)$ https://mysite.com/user/$1 [R=301,L]

    It’s working, but is it a “good” solution? Is there another way to unify profiles? I checked out the “Ultimate Member – Multisite” add-on plugin from https://github.com/umdevelopera/um-multisite, but instead of unifying all profiles, this syncs main and subdomain profiles.

    It also adds new users to all subdomains automatically which I do not want at all. Because on this site each user will use the main site at first, and will be added to only one subdomain site later.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @w-sky

    Unfortunately, this functionality does not exist in our plugin at this time. Sorry, but customizations are not included in our support.

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @w-sky

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.