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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 16:12 Go to next message
rbenedetti is currently offline  rbenedetti   United States
Messages: 7
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
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 09:32 Go to previous message
rbenedetti is currently offline  rbenedetti   
Messages: 7
Registered: December 2010
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
No body has idea about that?
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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 Oct 18 10:49:07 EDT 2017

Total time taken to generate the page: 0.00609 seconds