Where is the headerinclude template, can't find it in my ftp client to make the change?
Quote:
Originally Posted by BirdOPrey5
That's weird but this should fix it...
Edit your headerinclude template:
Find:
Code:
<meta name="description" content="{vb:raw vboptions.description}" />
</vb:if>
Below it Add:
Code:
<vb:if condition="THIS_SCRIPT == 'showthread'">
<link rel="canonical" href="http://www.example.com/forum/{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}" />
</vb:if>
Make sure you change http://www.example.com/forum/ to the URL to your own forums, whatever is before "showthread.php..." when you are viewing a thread. (In the example given it would be: http://www.baghdad4ever.net/vb/)
This will include a canonical link on your threads (and only threads) which over-rides the URL passed to Twitter, with hopefully, the right one now...
If this doesn't work please give me a link to your forums so I can see what is up...
|