Does the plugin accept php code?
-
Hello,
I wanted to implement site-wide href lang code into the head section. unfortunately the php within the html was not recognized
<link rel=”alternate” href=”<?php echo ‘https://firstdomain.de’ . $_SERVER[‘REQUEST_URI’]; ?>” hreflang=”de-de” />
<link rel=”alternate” href=”<?php echo ‘https://seconddomain.co.uk’ . $_SERVER[‘REQUEST_URI’]; ?>” hreflang=”en-gb” />Do you know why? Does the plugin accept php code? The code is correct since it work when i implement it directly into the header.php file.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Does the plugin accept php code?’ is closed to new replies.