• I have initially installed and tested SWPM on a local PC. I enabled expired members to login so they can renew their membership. I have created a renewal page. This worked. When an expired logged in member visited a protected page, he was prompted to renew by a message. When he clicked the renewal link in the message, he was directed to the renewal page. So this was as expected.

    Now I have reconstruct the site online. The setup of the live site is the same as what I did in the local setup. The renewal page is different and so is the url of the renew page. This renewal page url is entered in the Settings -> Advanced Settings -> Membership Renewal URL field. When a logged in expired-member visited a protected page, he was prompted by a message to renew. When he clicked the renew link in the message, he was directed to a renewal page from the local setup. I checked the url and it was the page from the local machine. SWPM did not take the url from the current site setup. That happened even after I shut down the local machine.

    Please help and thank.

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, did you import your local WordPress setup into a live server? If you did, you need to make sure all URLs are pointing to the live online setup and not the local set up.

    Also go to WP Membership -> Settings -> General Settings and check to make sure the pages URL are correct.

    Let me know if the above helps you.

    Thank you

    Thread Starter francoc30

    (@francoc30)

    I built the online site from the ground up and was not imported from the local site. I have verified that all the urls in SWPM settings are all correct with the right addresses. That is why is is so puzzling.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    That is why is is so puzzling.

    Yes I agree with your comment above. Please investigate further and let me know if you find out what happened. I am curious to know myself.

    Thank you

    Thread Starter francoc30

    (@francoc30)

    I tried to troubleshoot but went no where. I am looking for help and suggestions.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you explain in details all the steps you took to troubleshoot this issue?

    Thank you

    Thread Starter francoc30

    (@francoc30)

    1) I closed down the local server,
    2) Rebooted my laptop where I did my built,
    3) Went to my website and copied the Renew Page url and paste it in Settings -> Advanced Settings -> Membership Renewal URL field, then saved settings,
    4) Used another browser to visit my site,
    5) Logged in as a user with expired membership,
    6) Clicked the Renew Page in the menu and was able to access the page,
    7) Clicked on a protected item on the menu, a warning message displayed. The message asked me to renew my membership by clicking a link in the message,
    8) I clicked the renewal link in the message, but this time I got a Bad Request error page. I checked the url of this error page, the domain was correct, but the page name was one from my local site. My local site used Chinese in its urls, (my live site uses English), hence the Bad Request error. But still the page permalink should be what I put in the setting above.

    After the process above, I also disabled the Enable Expired Account Login feature to see if it make a difference. To my surprise, I could still login as an expired member. This was after I cleared my browser cache.

    After that, I re-enabled the Enable Expired Account Login feature, save and repeat the process again. This re-enabling did not solve the issue. I still got the Bad Request error.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    3) Went to my website and copied the Renew Page url and paste it in Settings -> Advanced Settings -> Membership Renewal URL field, then saved settings,

    What is the URL address you entered in the settings field?

    Thank you

    Thread Starter francoc30

    (@francoc30)

    Membership Renewal URL: https://ccpst.com/zh/members-only/renew2022/
    This is the renewal page of my live site.

    But here is what I got in the address bar when I click the renewal link in the message:
    https://ccpst.com/會員使用/續會2021年

    (when I copy and paste the entire url, it shows to coded version because of the Chinese characters):
    https://ccpst.com/%E6%9C%83%E5%93%A1%E4%BD%BF%E7%94%A8/%E7%BA%8C%E6%9C%832021%E5%B9%B4/

    As you can see the domain name is correct.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    My local site used Chinese in its urls, (my live site uses English), hence the Bad Request error. But still the page permalink should be what I put in the setting above.

    Is your site suppose to be Chinese or English?

    Thank you

    Thread Starter francoc30

    (@francoc30)

    My WP language setting is English. My contents are bilingual, both English and Chinese.
    All my slugs are in English even for Chinese pages.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, currently your site is not allowing for Chinese characters. That is why you are getting error messages. What ever you did locally, must be done as well online.

    Kind regards

    Thread Starter francoc30

    (@francoc30)

    But the question is still why the renewal link in the message does not take the url entered in Settings -> Advanced Settings -> Membership Renewal URL field. If it did then there should be no problem. Can you take a look at the particular codes in that function?

    Thread Starter francoc30

    (@francoc30)

    Since the renewal link in the message does not work correctly, then can it be removed from the message?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    Unfortunately there is not much more I can do from my end. I have submitted a message to the plugin developers to investigate further your issue.

    Thank you

    Thread Starter francoc30

    (@francoc30)

    Thanks mbrsolution. I’ll wait for their response.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Expired membership and renewal page’ is closed to new replies.