• Resolved Mitsuru

    (@ymitsuru57)


    I really enjoy “Simple Membership” plugin with its flexibility and functionality. But I have a problem in terms of portability. Is it possible to use home_url() (or something equivalent) to specify site URL instead of immediate URL for pages. This makes it easier if website location (URL) needs to be changed. In addtion URL of pages, I hope this is also applicable to specify a redirection URL.

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

    (@mbrsolution)

    Thank you for reaching out to us.

    Is it possible to use home_url() (or something equivalent) to specify site URL instead of immediate URL for pages.

    Can you provide more information regarding the above. Maybe provide an example. I want to make sure I understand your question correctly.

    Kind regards.

    Thread Starter Mitsuru

    (@ymitsuru57)

    Simple Membership plugin provides the flexibility by specifying URL for the pages and redirections. (See below)
    My point is what if we need to change Website URL? (Domain Name change, etc.)

    I’d like to suggest that the root URL can to be replaced with home_url() (or equivalent). It makes the change much easier and done at once.

    Ex. (Supposing thta %home_url% contains the output of “echo home_url()”)
    Login Pgae URL: %home_url%/membership-login/
    Registration Page URL, and others: ditto
    After Login Redirection Page: %home_url%/silver-level-home/
    After Logout Redirect URL: %home_url%/basic-rich-chocolate-cake/

    • This reply was modified 6 months, 2 weeks ago by Mitsuru.
    Plugin Support mbrsolution

    (@mbrsolution)

    My point is what if we need to change Website URL? (Domain Name change, etc.)

    If you need to change the Domain name, then all you have to do is edit the entries in the corresponding fields. The following documentation can help you.

    https://simple-membership-plugin.com/recreating-required-pages-simple-membership-plugin/

    Let me know if this is what you mean.

    Kind regards.

    Thread Starter Mitsuru

    (@ymitsuru57)

    I think you pointed out the following instructions;

    If you accidentally delete them then you can use the following steps to recreate the pages:

    • Go to the?Settings -> Tools?interface of the plugin.
    • Click on the “Re-create the Required Pages” button. This will create the pages for you (if needed).

    I know the above information. In this sense, the entries in the page setting is not critical for my case. (I mean it is easy to modify.)
    But the entries for redirections (“After login redirection page” and “After Logout redirect URL”) annoyed me. Actually it took me a time to find them to be modified, because they belog to separate pages. I’d like to have any good solution, when the site needs to change the domain.

    Plugin Support mbrsolution

    (@mbrsolution)

    If you accidentally delete them then you can use the following steps to recreate the pages:

    Yes, that is correct. However you can also create them manually and add your edited URL instead of using the “Re-create the Required Pages” button which creates the default page URL. As long as you add the full URL path for the new pages you created to the corresponding fields as per the documentation above.

    Kind regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is it possible to use home_url() instead of immediate URL for pages?’ is closed to new replies.