bug? canonical http instead of https
-
Steps to reproduce the problem:
Create a wordpress installation accessible from HTTP and HTTPS (no 301 redirect) but mention that the URL of the website is https://yourdomain.com
Then, install all in one from instance or yoast.
If you visit the homepage via https://yourdomain.com you can see in the code:
link rel=”https://yourdomain.com”> it is normal because your siteurl/home is https://yourdomain.com.Now, install polylang.
visit https://yourdomain.com once again, the canonical switched to https://yourdomain.com rather than https://yourdomain.comIt creates a major issue for googlebot. because when there is no 301 redirect in place it does know if the correct canonical for a webpage is https://yourdomain.com or https://yourdomain.com.
- The topic ‘bug? canonical http instead of https’ is closed to new replies.