• John Meredith

    (@skinfreak)


    I have installed WordPress via Azure running on the free tier. As a stop gap, I want to transfer an older implementation and have backup up the site via Jetpack. The temporary site is up and running fine and I have provisioned a CDN and HTTPS certificate. I want to prepare for when the redirects kick in and being the migration however when I visit the URL configuraiton in the back end, the values are greyed out.

    Does anyone have experience of this on Azure? Do I need to directly configure the URL in config files?
    Thanks
    John

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you specified the URLs in wp-config.php, they’ll be grayed-out in the UI. Did you put the URLs in the config file?

    Thread Starter John Meredith

    (@skinfreak)

    No – it automatically installed. But the config.php does not specify the URL exactly:

    //Relative URLs for swapping across app service deployment slots 
    define('WP_HOME', 'https://'. filter_input(INPUT_SERVER, 'HTTP_HOST', FILTER_SANITIZE_STRING));
    define('WP_SITEURL', 'https://'. filter_input(INPUT_SERVER, 'HTTP_HOST', FILTER_SANITIZE_STRING));
    define('WP_CONTENT_URL', '/wp-content');
    define('DOMAIN_CURRENT_SITE', filter_input(INPUT_SERVER, 'HTTP_HOST', FILTER_SANITIZE_STRING));
    
    Thread Starter John Meredith

    (@skinfreak)

    I have the domain and certificate forwarding now from https://www.skinfreak.co.uk and it points to the CDN. Interestingly it acts like a domain forward which is not what I was exepcting…

    • This reply was modified 7 years ago by John Meredith. Reason: I was logged in and behaviour was different ot what I had expected
    Thread Starter John Meredith

    (@skinfreak)

    I manually edited the WP_HOME and WP_SITEURL and it works to a point, although all CSS/themes are now not workin correctly and I have an unformatted page. Does the DB need an amedment also?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change Azure Web App URL’ is closed to new replies.