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
Return to the default flat view Create a new topic Submit Reply
Add a canonical link to the message page [message #166905] Fri, 23 March 2012 20:12 Go to previous message
rbenedetti is currently offline  rbenedetti   United States
Messages: 7
Registered: December 2010
Karma:
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.

[Message index]
 
Read Message
Read Message
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: Wed Dec 11 22:01:45 GMT 2024

Total time taken to generate the page: 0.04327 seconds