Skip to main content
added 10 characters in body
Source Link
Ethan Rævan
  • 4k
  • 5
  • 27
  • 55

WordpressWordPress is changing all my urlsURLs from "https://www.example.com/..." to "//www.example.com/..."

https://www.example.com/...

forto:

//www.example.com/...

For example:

<link rel="canonical" href="//www.example.com/"/>

I don't want this to happen, because it has some side effects with CDN rewriting, and my site is https only.

What is the best way to disable this "feature"?

Wordpress is changing all my urls from "https://www.example.com/..." to "//www.example.com/..."

for example:

<link rel="canonical" href="//www.example.com/"/>

I don't want this to happen, because it has some side effects with CDN rewriting, and my site is https only.

What is the best way to disable this "feature"?

WordPress is changing all my URLs from:

https://www.example.com/...

to:

//www.example.com/...

For example:

<link rel="canonical" href="//www.example.com/"/>

I don't want this to happen, because it has some side effects with CDN rewriting, and my site is https only.

What is the best way to disable this "feature"?

Source Link

Avoid the removal of "https:" from URLs

Wordpress is changing all my urls from "https://www.example.com/..." to "//www.example.com/..."

for example:

<link rel="canonical" href="//www.example.com/"/>

I don't want this to happen, because it has some side effects with CDN rewriting, and my site is https only.

What is the best way to disable this "feature"?