WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Domain for visitors, subdomain for users? (4 posts)

  1. natostanco
    Member
    Posted 1 year ago #

    Would it be possible to allow primary domain only for visitors, while if a user is logged in, going to the primary domain should redirect to the subdomain?
    Like if user is logged in sub.main.com and tries to go to example.com which is the tld mapped to sub.main.com he should be redirected to sub.main.com
    I do not think this is possible right?

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    You could write some custom code that would do that but it's not built into the DM plugin.

  3. natostanco
    Member
    Posted 1 year ago #

    But how to check if the user is logged in the subdomain from the mapped domain?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    You will have to hire a developer if you aren't familiar enough ith plugin development to write the code yourself.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.