Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

member-login/?emember_logout=true – not picking up the correct hostname

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › member-login/?emember_logout=true – not picking up the correct hostname

  • This topic has 3 replies, 3 voices, and was last updated 8 years, 9 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 21, 2016 at 8:46 pm #13611
    tikimojo
    Member

    Hello everyone,

    I’m using WP eMember 9.0.1 with WordPress 4.4.4 to direct visitors to the correct section of the site for their user type. Overall it’s working very well.

    I’m using this shortcode to allow users to log in from our home page:

    [wp_eMember_compact_login]

    Long story short, but there are cases where a user may end up back on the home page. Since they are logged in, the shortcode presents this message: “Hello, Steve Peters | Logout”

    …which is correct and works fine on our development server. However, we’ve discovered that when we test this feature on the production server, the “logout” link contains the hostname for the dev server and not the production server.

    and that’s a problem, obviously. I’ve double-checked, the production hostname is correct in the WP dashboard on the production site.

    Any idea where WP eMember is picking up the wrong hostname?

    July 21, 2016 at 10:01 pm #73739
    wzp
    Moderator

    Since you seem to be an “advanced user,” have you tried doing a phpMyAdmin search of the production server’s MySQL tables for the development server’s domain name? It’s probably a setting someplace that you forgot to change “someplace.”

    July 22, 2016 at 12:14 am #73740
    tikimojo
    Member

    There’s only two places inside the WP database that I’m aware of that store the hostname. I’m able to see that set correctly on the production server, but I don’t have phpMyAdmin access to that server.

    What I’m hearing is that I haven’t overlooked a setting in WP eMember someplace. Is that correct?

    July 22, 2016 at 1:55 am #73741
    admin
    Keymaster

    Also, check the pages/forms settings menu in eMember. Make sure the login page’s URL is using the correct site’s URL there. And you should be using the FULL URL of the login page in that field. (don’t use relative URL unless you know what you are doing).

    If you have transferred or migrated the data from one server to another (where the URL is different) then you need to go through the settings menu to update ALL URL values so it reflects the appropriate page URL.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ