Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ella

    (@ellatrix)

    The plugin does not for subdomains. Part of the problem is that I don’t have a test environment.

    Okey i was wondering what is the bug !

    it’s to shame that it’s not work with sub domain because your plugin rock :p

    a fix soon ?

    @winner singh

    alternatively you can do like that :

    1 : open your htaccess and copy paste :

    RewriteRule ^login/?$ /wp-login.php?3GB0fDd63987N25q5p710GV22Vy675d4LBsXD6d1AS80JN330619553ge63q855I37j1x57W9ee533pEi1G334q580b5h242475X [R,L]
    
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
    RewriteRule ^admin/?$ /wp-login.php?3GB0fDd63987N25q5p710GV22Vy675d4LBsXD6d1AS80JN330619553ge63q855I37j1x57W9ee533pEi1G334q580b5h242475X&redirect_to=/wp-admin/ [R,L]
    
    RewriteRule ^admin/?$ /wp-admin/?3GB0fDd63987N25q5p710GV22Vy675d4LBsXD6d1AS80JN330619553ge63q855I37j1x57W9ee533pEi1G334q580b5h242475X [R,L]
    
    RewriteRule ^new_user/?$ /wp-login.php?3GB0fDd63987N25q5p710GV22Vy675d4LBsXD6d1AS80JN330619553ge63q855I37j1x57W9ee533pEi1G334q580b5h242475X&action=register [R,L]
    
    RewriteCond %{SCRIPT_FILENAME} !^(.*)admin-ajax\.php
    RewriteCond %{HTTP_REFERER} !^(.*)my-website.com/wp-admin
    RewriteCond %{HTTP_REFERER} !^(.*)my-website.com/wp-login\.php
    RewriteCond %{HTTP_REFERER} !^(.*)my-website.com/login
    RewriteCond %{HTTP_REFERER} !^(.*)my-website.com/admin
    RewriteCond %{HTTP_REFERER} !^(.*)my-website.com/new_user
    RewriteCond %{QUERY_STRING} !^3GB0fDd63987N25q5p710GV22Vy675d4LBsXD6d1AS80JN330619553ge63q855I37j1x57W9ee533pEi1G334q580b5h242475X
    RewriteCond %{QUERY_STRING} !^action=logout
    RewriteCond %{QUERY_STRING} !^action=rp
    RewriteCond %{QUERY_STRING} !^action=register
    RewriteCond %{QUERY_STRING} !^action=postpass
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
    RewriteRule ^.*wp-admin|^.*wp-admin/?|^.*wp-login|^.*wp-login\.php /error_404 [R,L]
    
    RewriteCond %{QUERY_STRING} ^loggedout=true
    RewriteRule ^.*$ /wp-login.php?3GB0fDd63987N25q5p710GV22Vy675d4LBsXD6d1AS80JN330619553ge63q855I37j1x57W9ee533pEi1G334q580b5h242475X [R,L]

    2 : replace all the : my-website.com
    with your website without https://www.

    3 : now you can log with the url : https://www.my-website.com/login
    it will redirrect you to the secure url

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not working on Sub-domain, i am i am complaining this 3 time’ is closed to new replies.