Created
February 26, 2018 23:59
-
-
Save nholman7/2664d97eba913933f1610804e876f8a7 to your computer and use it in GitHub Desktop.
Add HTTPS canonical
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="canonical" href="https://<?php echo $_SERVER['HTTP_HOST']; ?><?php echo parse_url( $_SERVER['REQUEST_URI'], PHP_URL_PATH ); ?>" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment