Support

Account

Home Forums ACF PRO Change home_url in the pro license

Helping

Change home_url in the pro license

  • When we started development, the ‘then’ developer went ahead and bought a license against http://test.mysite.com. When the server was made live, the url changed to https://www.mysite.com.
    When I tried to update the plugin it gave an error about the license being already in use. Referring to posts in various forums, I managed to figure out that the license is stored in DB and tied to home_url. Used the following snippet to update it.

    
    $save = array(
    			'key'	=> ACF_5_KEY,
    			'url'	=> home_url()
    		);
    
    		$save = maybe_serialize($save);
    		$save = base64_encode($save);
    
        update_option('acf_pro_license', $save);
    

    But when I click on update, it now gives ‘Download failed’. Probably the server also validates against the key and site url. We do not even have a staging and production server. It is the exact same server, just the URL has changed. So I think we are not violating the license.

    Is there any way to fix this?

  • You can:

    1) Login here: https://www.advancedcustomfields.com/my-account/

    2) Go to: Manage Activations

    3) Remove the old site

    4) Activate the new one 🙂

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Change home_url in the pro license’ is closed to new replies.