FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Add a canonical link to the message page (How to add a canonical link to the message pages)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Add a canonical link to the message page [message #166905] Fri, 23 March 2012 20:12 Go to next message
rbenedetti is currently offline  rbenedetti   United States
Messages: 7
Registered: December 2010
Karma: 0
Junior Member
Hi,

Here is another small thing I would like to do to optimize how my website is crawled.

I would like to add a canonical link in the header of the message pages.
Something like:
<link rel="canonical" href="www.myfudform.com/t/3881/" />
in the header of the HTML page.

The reason why I want to do that is that without, there are many url driving to the same content.
For instance:

www.myfudform.com/t/3881/ ( good URL) and www.myfudform.com/?t=msg&th=3881&goto=11836&#msg_11836 (duplicate URL)

Adding this canonical link in the header would solve the problem.

Note: this has nothing specific and would be a generic improvement to FUDForum.

Thanks to let me know if you have any idea how to hack this.

Re: Add a canonical link to the message page [message #166917 is a reply to message #166905] Mon, 26 March 2012 13:32 Go to previous message
rbenedetti is currently offline  rbenedetti   
Messages: 7
Registered: December 2010
Karma: 0
Junior Member
No body has idea about that?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Why a 302 redirect?
Next Topic: Newbie question: where to check in bug fix on sourceforge?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 20:43:17 GMT 2024

Total time taken to generate the page: 0.02320 seconds