• Resolved delaitec

    (@delaitec)


    Hello, My primary domain has not yet been propagated.

    I am then using a temporary url needed by Hostgator.
    srv55.teste.website/~user/folder

    I noticed that the maintenance page displayed the temporary url, and, I had no possibility to edit it, It is only possible to add texts to the displayed url.

    My question is.

    When the Definitive URL is activated http://www.mydomain.com
    Will the maintenance page work?

    In short, if I set up the maintenance page on a domain, and then change the domain, will the maintenance page still work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • pola11

    (@pmakabenta)

    @delaitec Yes, it will work and just make sure the path or destination where you created the Maintenance page is assigned to your domain.

    Thread Starter delaitec

    (@delaitec)

    Ok. Just to make sure I explained myself well: D

    In the database, in the siteurl and home fields is the official domain of the site.

    In the wp-config file I added the codes where I define temporary urls for the siteurl and home fields.

    On the maintenance page, the url displayed is the temporary url (which is in the wp-config file).
    When the official url is defined, I will just remove the temporary ones in the wp-config file. understood?

    This way the url of the maintenance page will automatically change to the oficcial domain that is in the database in the siteurl and home fields?

    Thanks.

    pola11

    (@pmakabenta)

    @delaitec Yes, that is correct. Change the site URL instead that will work automatically.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Temporary URL’ is closed to new replies.