Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Head canonical tag locking site


incrediBILL - 4:58 am on Feb 3, 2013 (gmt 0)


You can embed PHP variables in HTML like this:

<link rel="canonical" href="<?=$url?>"/>

Meaning you can put any href in the variable $url as long as the variable is created in PHP before the header is included.


Thread source:: http://www.webmasterworld.com/php/4541564.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com