• Resolved Marko

    (@markmy)


    Hi and thanks for your awesome plugin. I’m still learning LifterLMS, and I just created a test site for my courses on my local computer. I copied this test site to a live server, and it works mostly.
    Problems: I changed the site URL in the WP database, but Lifter tells me that this is a staging site. How can I change all URLs and settings to tell Lifter and WP that this is the live site? When I search the database, it shows that many rows contain the old local computer URLs (192.168…). Is it sufficient that I change all those occurrences or is there something else?
    Did I do this wrong? Would it be better to always install LifterLMS straight to a live server?
    I tried searching, but I did not find solutions to these questions… Thanks!

    • This topic was modified 4 years, 8 months ago by Marko.
Viewing 2 replies - 1 through 2 (of 2 total)
  • @markmy,

    When LifterLMS detects a change in your site’s URL it pops your site into “staging” mode so that it doesn’t make any automatic payment attempts on a staging site.

    Usually this protects users who are copying a live site to staging but when going from local to production it would happen as well. Thankfully this usually only happens one time and then in the future you wouldn’t be copying your whole database and replacing URLs again so it wouldn’t detect this change.

    You can easily switch from staging to live (or vice versa) by following these steps: https://lifterlms.com/docs/staging-sites-lifterlms-recurring-payments/#updating

    Let me know if that helps!

    Thread Starter Marko

    (@markmy)

    Thank you, Thomas! Re-Enabling the automatic payments worked fine, and red “staging” label disappeared.

    I also found out that those wrong URLs were in the wp_posts table, guid column, which means that they have no meaning in normal functioning.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Moving my LifterLMS from localhost to live site?’ is closed to new replies.