• Resolved wpkum

    (@wpkum)


    Hi, I want to setup login/register on a subdomain. The site is on root domain I want to set up login/register on the subdomain.

    Example:
    Main site: example.com
    Login/Register: account.example.com

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author M. Ali Saleem

    (@zinger252)

    You will first need a theme or a plugin which support a shortcode which you can place in page for login or registration process.

    Then you can make that page as subdomain but do not forget to enable cookie for subdomains.

    add following lines to your wp-config.php
    define('COOKIE_DOMAIN', '.YOURDOMAIN.COM');
    NOTE: Do not forget to replace YOURDOMAIN.COM

    • This reply was modified 6 years, 9 months ago by M. Ali Saleem.
Viewing 1 replies (of 1 total)
  • The topic ‘Wp-login.php on Subdomain’ is closed to new replies.