2012-07-26, 02:51 AM
Hello,
I'm hoping this is possible. I need to insert arbitrary <link> tags into the <head> section of certain threads. For instance, if I have a thread with an article and the same article on my main website, I would like the thread to contain the tag:
<link rel='canonical' href=''content_on_main_site" />
In the header.
These tags would, of course, be manually entered and only on certain threads. I'm just at a loss on how I would go about doing it.
I'm considering, if worse comes to worse, conditional templates to check the ThreadID for every thread would have be used, and the <link> would have to be hardcoded. This isn't something I'm very happy doing, but will have to do it if there is no other way.
Looking forward to the community's response,
Regards,
Pleeb.
I'm hoping this is possible. I need to insert arbitrary <link> tags into the <head> section of certain threads. For instance, if I have a thread with an article and the same article on my main website, I would like the thread to contain the tag:
<link rel='canonical' href=''content_on_main_site" />
In the header.
These tags would, of course, be manually entered and only on certain threads. I'm just at a loss on how I would go about doing it.
I'm considering, if worse comes to worse, conditional templates to check the ThreadID for every thread would have be used, and the <link> would have to be hardcoded. This isn't something I'm very happy doing, but will have to do it if there is no other way.
Looking forward to the community's response,
Regards,
Pleeb.