WordPressLukuaika 4 min

Connecting your WordPress site to a custom domain

Change the WordPress URL to your custom domain and fix common redirect issues.

Tämä artikkeli ei ole vielä saatavilla kielelläsi, joten se näytetään englanniksi.

Connecting WordPress to a custom domain

If you installed WordPress on a temporary URL and want to switch to your real domain, follow these steps.

1. Make sure DNS is pointing to your server

Before changing the WordPress URL, ensure your domain's nameservers or A record point to your hosting server. See the Nameservers guide.

2. Update WordPress URL settings

  1. Log in to your WordPress admin (/wp-admin)
  2. Go to Settings → General
  3. Update both WordPress Address (URL) and Site Address (URL) to your real domain (e.g. https://yourdomain.com)
  4. Click Save Changes

3. Update SSL certificate

In Plesk, go to your domain → SSL/TLS Certificates → Issue a Let's Encrypt certificate for your real domain.

4. Clear cache

If you use a caching plugin (WP Super Cache, W3 Total Cache), clear all caches after changing the URL.

Locked out? If WordPress redirects you to the wrong URL, edit wp-config.php via Plesk File Manager and add:
define('WP_HOME', 'https://yourdomain.com');
define('WP_SITEURL', 'https://yourdomain.com');

Oliko tästä artikkelista apua?

Takaisin ohjekeskukseen

Etkö vieläkään pääse eteenpäin?

Avaa tukipyyntö asiakasalueeltasi, niin tiimimme vastaa. Vastaamme tukipyyntöihin 17 kielellä.

Sähköposti
[email protected]
Puhelin ja WhatsApp
+383 45 400 405