最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

multisite - Include www prefix in site URL

programmeradmin0浏览0评论

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
  • My personal recommendation would be 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 without www. 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
Add a comment  | 

1 Answer 1

Reset to default 1

You 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.

发布评论

评论列表(0)

  1. 暂无评论