WordPress.org

Ready to get started?Download WordPress

Forums

User Authentication & Cookies (3 posts)

  1. CliveW
    Member
    Posted 8 years ago #

    I am trying to allow access to my site from 2 different domains (the standard host & a web forwarding domain). I am having problems logging in from the web forwarding domain & have traced this to an authentication issue.

    Despite hours of looking at the code, I cannot understand in full the authentication process. It seems to be defined in wp-settings and pluggable-functions, but I can't seem to work out exactly what the process is.

    Does anyone know the full process (I know the basics) of how the wordpress authentication works? and which part (if any) could be disrupted by having a referer that is different from the wordpress URL?

  2. CliveW
    Member
    Posted 8 years ago #

    Still struggling with this - can anyone help?

  3. CliveW
    Member
    Posted 8 years ago #

    YES !!!!!!!!!

    After 2 weeks of solid work, I've finally solved this problem !

    Edit wp-pass.php

    Change the line :

    wp_redirect($_SERVER['HTTP_REFERER']);

    to:

    wp_redirect('http://mydomain.com/mydirectory/');

    Where mydomain.com is the actual wp directory rather than http://www.myredirecteddomain.com.

    Hope this helps - happy blogging using you free webspace !

Topic Closed

This topic has been closed to new replies.

About this Topic