Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter kyoshi

    (@kyoshi)

    Forgive me.
    I skipped this for some reason: https://www.axew3.com/w3/2016/02/phpbb-login-redirect-external-domain-subdomain/

    Problem solved πŸ™‚

    Plugin Author axew3

    (@axewww)

    hi, at moment your url return 404 not found instead of phpBB – ????

    Plugin Author axew3

    (@axewww)

    Ah nice ok! we’ve post at same time, i didn’t read your latest, if still any trouble just post

    • This reply was modified 9 years, 3 months ago by axew3.
    Thread Starter kyoshi

    (@kyoshi)

    Hi axew3!! Thanks for a reply.
    Problem is not 100% solved though. I must have f’ed something on the way since I can log in via /phpBB3 but not WP.
    This still redirects me to http://serwer1797541.home.pl/autoinstalator/wordpress/ and login loops.
    If I use pgpBB3 or iframed phpBB it works. Yes – I managed to get the iframed to work just by changing wp direct links from plain to something else. (Yes – I red about it on axew3.com where I left a msg for you :P)
    I guess I’m getting closer with correct configuration. Worst case I disable the wp login.

    Plugin Author axew3

    (@axewww)

    perhaps your phpBB cookie settings aren’t available all over the domain:
    have you set as cookie domain in phpBB value
    .yourdomain
    and as cookie path value
    /

    If it isn’t set it in this way, setup and save, so logout and clean cookie on browser. Let know.

    Plugin Author axew3

    (@axewww)

    p.s in WP, to setup a WP cookies to be available over all the domain, it is necessary to edit the wp-config.php in this way instead:
    define( 'COOKIEPATH', '/' );

    and ps … but i do not know why right now i’ve write this latest answer that really do not is necessary πŸ™‚

    • This reply was modified 9 years, 3 months ago by axew3.
    • This reply was modified 9 years, 3 months ago by axew3.
    Thread Starter kyoshi

    (@kyoshi)

    cookie domain: .aos.waw.pl
    Cookie path: /
    Cookie secure: Disabled
    Cookie notice: Disabled

    For some strange reason every time I log out with WP tools I get redirected to : http://serwer1797541.home.pl/autoinstalator/wordpress/

    Kind of hopeless. And I think it is not “WP w3all phpBB” issue, but some strange miss configuration on my side.

    Plugin Author axew3

    (@axewww)

    can you try to open (on 1.6.0)
    class.wp.w3all-phpbb.php

    line 60
    wp_redirect( home_url() ); exit;
    try to change into
    wp_redirect( 'http://aos.waw.pl/' ); exit;
    and see what happen.
    Could be an htaccess rewrite also

    Thread Starter kyoshi

    (@kyoshi)

    Adding this to functions.php seems to fix my problem so far
    add_action(‘wp_logout’,’auto_redirect_after_logout’);
    function auto_redirect_after_logout(){
    wp_redirect( ‘http://aos.waw.pl/ );
    exit();
    }

    Plugin Author axew3

    (@axewww)

    nice to know about auto_redirect_after_logout

    you’ll be annoyed by this update, any time you’ll update wp, (think you mean you’ve add this to WP functions.php): have you got why this happen?

    auto_redirect_after_logout could be also useful to be added and called into wp_w3all logout function. Will be inserted as option inside.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Problems with login after fresh install’ is closed to new replies.