Can I change all my http:// links to just //?

后端 未结 7 1496
后悔当初
后悔当初 2020-11-22 01:12

Dave Ward says,

It’s not exactly light reading, but section 4.2 of RFC 3986 provides for fully qualified URLs that omit protocol (the HTTP or HTTPS) a

7条回答
  •  执念已碎
    2020-11-22 01:42

    I have not had these issues when using ://domain.com - but you do need to add the colon at the beginning. Yoast had a good write up about this a while back. But it's lost in his pile of blog posts.

提交回复
热议问题