• Resolved agsachdev

    (@agsachdev)


    Hi,

    I installed Advanced Forms Pro
    and i bypass with parameter and
    i submit any form then the auto-logout user.

    • This topic was modified 4 years, 12 months ago by agsachdev.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ales

    (@alesmal)

    Hi, basically all ajax request are blocked by CMP, I would suggest to add ajax url to CMP whitelist under CMP Advanced settings:

    https://layoffers.com/wp-admin/admin-ajax.php

    Ales

    • This reply was modified 4 years, 12 months ago by Ales.
    Plugin Author Ales

    (@alesmal)

    or http, if you do not have https conifugred.

    A.

    Hello Ales,

    THX for this, now my bypass works like expected!

    Regards
    Henry

    Hello Ales,

    regarding this setting: This only works while using WordPress at in his own directory.
    For example domain.ltd/wordpress

    But if I make the page accessible via domain.ltd, the session is lost if I go while administrator to the frontend.

    I make changes using this method:
    – delete .htaccess files under domain.ltd/wordpress and domain.ltd
    – index.php under domain.ltd
    with this content:

    
    define( 'WP_USE_THEMES', true );
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' ) ;
    

    – In WordPress, change the path under Settings-General (second line to domain.ltd) and rewrite the permalinks, which will write a new .htaccess under domain.ltd.

    The side is over https and WPS Hide Login to change the login.

    This is the .htaccess under domain.ltd

    <IfModule mod_rewrite.c>
      RewriteEngine On
    	RewriteCond %{HTTPS} off
    	RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    At advanced setting under Custom Login URL is the same from WP Hide Login.

    And custom header script I’ve tried domain.tld/wp-admin/admin-ajax.php and domain.tld/wordpress/wp-admin/admin-ajax.php

    Any hint?
    THX
    Henry

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Auto logout problem’ is closed to new replies.