News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF Canonical Tag

Started by vmgamer, February 16, 2009, 11:51:14 AM

Previous topic - Next topic

Groundhog

Thanks for this mod vmgamer.  :)

checkmater

Appears an error when I tried to install the mod in the Pakage zone.... in the 1.1.10 version.

So I installed it manually and works perfect!!!!

Thank you very much!, Improving SEO!

Greetings.
SMF, other software developing and some other stuff on my website, you can also hire someone at myFreelancing website . xD

Mr. Jinx

Quote from: sixthofmay on May 02, 2009, 09:09:42 PM
I hard coded mine like this (added on the line after after the Canonical Tag code):

elseif ($context['page_title'] == 'Some Bands I Like - Index')
echo '
<link rel="canonical" href=http://www.somebandsilike.com/ />';

Obviously change the page title to match your index page's title, and the href to your index page's url.

Thanks! I think code like this should be include in the mod for perfection. Great for SEO!

Özgür

Quote from: Mr. Jinx on September 28, 2009, 01:04:01 PM
Quote from: sixthofmay on May 02, 2009, 09:09:42 PM
I hard coded mine like this (added on the line after after the Canonical Tag code):

elseif ($context['page_title'] == 'Some Bands I Like - Index')
echo '
<link rel="canonical" href=http://www.somebandsilike.com/ />';

Obviously change the page title to match your index page's title, and the href to your index page's url.

Thanks! I think code like this should be include in the mod for perfection. Great for SEO!
Or you can use this

  if (isset($context['current_action']) &&  $context['current_action'] == 'someaction')
      echo '
   <link rel="canonical" href=http://www.somebandsilike.com/ />';

You must change someaction tou what you want. :P
So Long

4LP3RUZ1

Love this mod, i think it should be included in smf by default :)
Frozen frogs are back :(

InfoStrides

Please, I am curious about these questions:

What is the relationship between this mod and PrettyURLs?
Can they be used together?

InfoStrides

In addition: Is it similar to H tags?

Mr. Jinx

Quote from: 4LP3RUZ1 on October 19, 2009, 06:35:37 AM
Love this mod, i think it should be included in smf by default :)
In SMF 2.0 it is installed by default :)

InfoStrides

I successfully installed the mod and observed the difference in the source code. I am waiting for its action on my site PR.

Thanks to the mod author!

Succubus Evaligan

Canonical is native in SMF 2RC3?
Yuri Goddess

PLAYBOY

Is there any difference between this mod and http://custom.simplemachines.org/mods/index.php?mod=2129 this mod?
I have both of them in my forum... Do i really need both of them?

1.1.13

Arantor

You need this one more than you need the other one.

This one tells search engines to consider pages as duplicates of each other as appropriate (which means you don't get penalised for duplicate content), the other affects meta tags which have no SEO benefit.
Holder of controversial views, all of which my own.


PLAYBOY

So i guess i should uninstall "KeyWords Generator (AutoKeywords)"

Arantor

*shrug* It doesn't hurt, it just doesn't help.
Holder of controversial views, all of which my own.


coolfx350

I am getting a lot of duplicated content from google webmaster tools, how do I make this one page instead of 5 pages with the same content?

/android-applications/av-for-incredible/
/android-applications/av-for-incredible/msg12337/
/android-applications/av-for-incredible/msg12426/
/android-applications/av-for-incredible/msg12439/
/android-applications/av-for-incredible/msg12440/

dougiefresh

Thank you for the wonderful mod!  I thought I'd let everybody know that when I updated my forum from 2.0 RC5 to 2.0 Gold, I had to reinstall all my mods.  This mod installed without issues and without emulation.  Hope this info helps someone!

Mr. Jinx

You do not need to install this mod on 2.0 Gold.
Canonical support is included by default now.

dougiefresh

Sweet!  Now if only they would integrate the other 80 mods I have installed  :P

Anyways, thanks for the information!

Xpresskonami

After installing this mod. I still get a lot of duplicate content from Google and it has totally decrease all my index topics from 5000 Index topic to 50. I discovered my urls are

http://url.com/index.php

And

http://url.com

Both URL works on my forum. how can I fix this??


Advertisement: