WordPressقراءة في 4 دقيقة

Connecting your WordPress site to a custom domain

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

هذا المقال غير متوفر بلغتك بعد، لذا يُعرض باللغة الإنجليزية.

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');

هل كان هذا المقال مفيدًا؟

العودة إلى مركز المساعدة

ما زلت بحاجة إلى مساعدة؟

افتح تذكرة من منطقة العملاء وسيرد عليك فريقنا. نرد على التذاكر بـ 17 لغة.

البريد الإلكتروني
[email protected]
الهاتف وWhatsApp
+383 45 400 405