Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Adding a Canonical Url to a specific thread

Greetings,

I'm using a little hook to give yout News to my website from the forum to the page.
Works fine but there is a small problem with it.

I need to define a Canonical URL, becuase i got the simlar Information 2 Times on my Domain.
So i really would like to know how to add a Canonical Url to a specific category / thread.

Greetings from Germany,

Jonathan

Comments

  • TamaTama ✭✭✭

    check the GDN_Discussion table to get the discussion id
    http://vanillaforums.org/discussion/$id/

    There was an error rendering this rich post.

  • You mean a php script in the header which will react to a definied discussion id?

Sign In or Register to comment.