I'm setting up my first wordpress site (on a WP Multisite server). In the 'sites' info page I am asked to enter the site URL.
Should I use 'www.mydomain' or 'mydomain' ? (Does it matter?) I have both addresses resolving to the same IP in the DNS server. I'm just not sure if WordPress cares or will operate correctly.
I'm setting up my first wordpress site (on a WP Multisite server). In the 'sites' info page I am asked to enter the site URL.
Should I use 'www.mydomain' or 'mydomain' ? (Does it matter?) I have both addresses resolving to the same IP in the DNS server. I'm just not sure if WordPress cares or will operate correctly.
Share Improve this question asked Sep 26, 2019 at 2:00 TSGTSG 1054 bronze badges 1 |1 Answer
Reset to default 1You should use the full URL of your site, as in https://www.example .
If you don't include the protocol (the "https://" part), then pages on your site (and links to other pages or media) won't work properly.
mydomain
is enough. Why should I put some extra 3 characters in the URL? But make sure, the site can be easily visited with or withoutwww
. In multisite, changing URL in the Settings > General isn't everything. You have to change your.htaccess
,wp-config.php
if necessary. So make a backup first. – Mayeenul Islam Commented Oct 6, 2019 at 11:45