|
Das bretteleben.de "Canonical URL" Modul für Joomla 1.5 erlaubt es selektiv die von Google seit Februar 2009 unterstützten Canonischen URLs (canonical url) im HEAD von Seiten zu setzen. Dies dient der Vermeidung von DuplicateContent und dem Konzentieren des PageRank auf eine Seite, wenn diese unter mehreren URLs erreichbar ist.
bretteleben.de "Canonical URL" Modul für Joomla 1.5Das bretteleben.de Canonical URL Modul ist mit Joomla 1.5 einsetzbar.
Das Modul bietet 10 Parameter-Paare, mit denen die tatsächliche URL modifiziert und für das Setzen des TAGs <link rel="canonical" href="/gewünschter Link"> aufbereitet werden kann. Beginnend mit Version 1.1 können mehrere Instanzen des Moduls die URL einer Seite bearbeiten. Dies erfolgt in der Reihenfolge, in der die Module im Backend angegeben sind. Neu in Version 1.1:-mehrere Instanzen kumulierend möglich
Features:- ersetzen einzelner Teile des Pfades - entfernen unerwünschter GET-Parameter - setzen einer fixen canonischen URL
Installation und Verwendung 1.) Das Modul über das Backend hochladen. 2.) Das Modul für alle oder einzelne Menüpunkte aktivieren. 3.) Parameter: Es stehen zehn Parameter-Paare zur Verfügung. Jedes Paar besteht aus dem text, der gesucht und dem Text, mit dem er ersetzt werden soll.
Beispiel: Joomfish wird verwendet, es sind aber noch nicht alle Seiten übersetzt. Um zu verhindern, dass man von Google für DuplicateContent abgestraft wird, setzt man bei noch nicht übersetzten Seiten die Originalseite als canonische URL. Rule01: Find part of URL: lang-en Rule01: Set part of URL: lang-de
Damit wird auf diesen Seiten die deutsche Version als Canonical URL gesetzt.
Beispiel2: Man verwendet yvComment, möchte jedoch nicht, dass die Unterseiten mit den Artikeln 10-20, 20-30, etc. als eigene Seite indiziert werden, um den Pagerank auf die jeweilige Hauptseite zu konzentrieren.
Rule02: Find part of URL: start= Rule02: Set part of URL:
Der Text im ersten Abschnitt endet mit einem Istgleichzeichen. Das Modul erkennt das als zu ersetzenden Parameter und ersetzt den Parameter samt den jeweiligen Werten (0,10,20, was auch immer) gegen den im zweiten Teil eingegebenen Text - in diesem Fall gegen nichts. Hinweis: Das ? vor beziehungsweise das & (oder & amp;) nach einem Parameter wird NICHT angegeben, darum kümmert sich das Modul selbst.
Beispiel3: Man möchte für eine bestimmte Seite ungeachtet aller möglichen und unmöglichen auftretenden URLs eine bestzimmte URL festsetzen, unter der die Seite indiziert werden soll.
Rule03: Find part of URL: Rule03: Set part of URL: /meine-gewuenschte-url.html
In diesem Fall bleibt der erste Teil der Regel frei. Das sagt dem Modul: ersetze die gesamte (relative) URL.
Das Modul arbeitet die gesetzten Regeln der Reihe nach ab und fügt dann den Link rel="canonical" mit der generierten URL in den Head der Seite ein. Der Domain-Teil der URL bleibt von diesem Plugin unberücksichtigt. Alle Änderungen in diesem Bereich sollten nach wie vor per Redirect geregelt werden. Einschränkungen: Verbesserungsvorschläge und Vorschläge für eine Erweiterung der Funktionalität sind hochwillkommen! Das Modul ist mit Vorsicht zu geniessen, den ein fehlerhaftes Setzen der Parameter kann dazu führen, dass Seiten aus dem Google-Index gänzlich verschwinden! Also jede getroffene Einstellung bitte im Quelltext der betroffenen Seite auf korrektes Funktionieren testen!!! Das Modul ist kein Ersatz für das Joomla-eigene SEF-Plugin oder eine externe SEF-Erweiterung. Es ist nur eine Ergänzung!
Eine Schritt für Schritt Anleitung zu Installation und Verwendung folgt.
Demo
Im Menüpunkt Joomla: Very Simple Image Gallery ist das Modul in Verwendung und setzt den Link zur Seite als canonische URL, auch wenn es mit den GET-Parametern von yvComment aufgerufen wird (beim Blättern in den Kommentaren). KompatibilitätDas Modul ist unter Joomla 1.5.6, 1.5.7 und 1.5.8 erfolgreich getestet, das Zusammenspiel mit den verschiedensten anderen Erweiterungen mag aber Probleme mit sich bringen. Ich empfehle einen Testlauf vor dem Einsatz auf einer aktiven Seite und stehe für Fragen und Anregungen immer gerne zur Verfügung. LizenzDas Modul ist unter der GNU Public License (www.gnu.org/copyleft/gpl.html) lizensiert. aktuelle Version: 1.1.0Version 1.1.0 - 2009-03-29
- Das Modul überprüft ob von einer anderen Instanz bereits eine canonische URL gesetzt wurde und bearbeitet diese weiter.
Version 1.0.0 - 2009-02-13Support Für Fragen und Anregungen steht die Kommentarfunktion zur Verfügung, Erfahrungsberichte (ob positiv oder negativ) sind hochwillkommen. Wer die Erweiterung nutzt, hat die Möglichkeit auf joomlaos.de oder extensions.joomla.org Bewertung und Erfahrungsbericht zu posten. Darüber hinaus freue ich mich über jeden, der die Möglichkeit findet, mich durch einen Link zu www.bretteleben.de auf seiner Webseite zu unterstützen. Das Plugin selbst produziert keine versteckten Links oder sonstige Nettigkeiten welcher Art auch immer.
Download Das ZIP-Archiv enthält das Modul, mit dem Download erklären Sie sich mit den Bestimmungen der GNU Public License einverstanden. Das ZIP-Archiv kann für Update und Neuinstallation verwendet werden.
|
Hi,
ich weiß nicht ob ich hier richtig bin, versuche es aber einfach mal. Ich bin Anfänger und habe eine Frage bezüglich yvcomment in der aktuellen Version 1.25.003. Alles ohne Probleme installiert, jedoch erscheint das Eingabefenster "Kommentar hinzufügen" doppelt und untereinander. Was mach ich falsch?
Gruß
multi-usb AT web DOT de
Hallo multi-usb!
Nein, tut mir leid aber da bist Du hier nicht richtig. Ich verwende die Komponente nur und kann Dir in diesem Fall nicht weiterhelfen. Versuche es vielleicht mal auf der Seite des Entwicklers (yurivolkov.com/Joomla/yvComment/index_en.html) oder in den Foren auf forum.joomla.org
Gruß
Andreas
Why does this plugin have just 10 pairs for canonical urls?
Hi Goran!
Because the plugin is a module and if you need more than these 10 pairs, just copy the first module and go on with the next.
Best regards
Andreas
Hallo, Im using vmSEF pluging for Virtuemart URL-friendly and now Im trying take out string "?pop=0" from Virtuemart url. Example of string is here: http://pianoforte.cz/cs/obchod/noty-pro-piano/klasika/intimni-skici?pop=0
I have done this:
1.) Upload and install the Package.
2.) Activate the module for all Menu-Items.
3.) Set parameters:
1. pop=0
1. [empty]
(letter "?" is not still possible take out? I have read.)
Ive try to use canonical URL for else my URLs and it doesnt work also... What Im doing bad?
Thank you for answer.
Hi Jurka!
The module does not change the URL of a page. The module sets the Canonical URL, this is a tag in the head of the page that tells Google the URL to use when indexing this page. Please have a look at the source of your page, the extension already works and removes the parameter. Just search for rel="canonical".
About the code you are using: Please replace "pop=0" with "pop=".
Best regards
Andreas
I cannot guarantee for what Google does, but have a look yourself:
http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
Best regards
Andreas
Just to confirm, Google will treat all URLs with "/us/" as "/" right? In other words, abc.com/us/page-one will be treated as abc.com/page-one? The default language for my site is English so there was no need to have "/us/" included in the URL.
If this works, this module is a terrific extension that everyone should have to avoid duplicate content. Thank you.
You seem to have a problem with the directory settings on your server. Uploading an extension with your FTP-client is not a solution because the Joomla! installer not only moves the files to the right place but also registers the extension in the Joomla! database. In your case - although you have been able to use the backend of the module (if you have set the rule) - maybe something went wrong whilst uninstalling/reinstalling/reuploading and the extension is not properly registered.
To solve this problem, first check the directory settings: Joomla! backend > Help > System Info > Directory permissons. Everything should be green (writable) there.
If everything looks fine and the error persists, check if you have activated the Joomla! FTP layer: Joomla! backend > Site > Global Configuration > Server > FTP. If it is activated, deactivate it and check the gallery again. If it works now - fine.
If it doesn't (or if the FTP layer has been deactivated from the beginning), activate it and try to configure it properly. A nice Howto you find at forum.joomla.org in the article of the user Degira:
http://forum.joomla.org/viewtopic.php?f=431&t=314112&p=1382452#p1382452
If everything works, delete the files uploaded by FTP and reinstall the extension.
Best regards
Andreas
* JFolder::create: Could not create directory
* Module Install: Failed to create directory.: "/hsphere/local/home/site/modules/mod_canonical"
so i manually uploaded the folder to the server using ftp.
then i set the rules as you have suggested, /s/ -> /
published on all pages. but i could not find the rel=canonical code anywhere in the page source, i checked head and body.
did i manually install the module incorrectly? i'd like to delete everything and start again. do i just need to delete the folder in modules or are there other files i have to delete? thank you.
The URL you see in the address-bar of the browser will never get touched by this module. It adds/modifies the canonical tag. Have a look at the source of a page targeted by this mdolue and you will find a link with rel="canoncial" and href="/THE_MODIFIED_URL". This is the tag Google reads. Multiple pages pointing to the same canoncial URL will get treated as 1 page (as long as there are not to many differences between them).
So, give your sample another try, "/us/" -> "/" and have a look at the source of the page.
About your question how to separate pages already translated from pages still waiting for the translation: A module allows you to target it explicitly to the pages you want it to work with so - as soon as you have translated a page, turn off the module for this page.
As soon as you create a new page - still without translation - turn it on for this page.
Best regards
Andreas
Rule01: Find part of URL: /us/
Rule01: Set part of URL: (leave blank)
But when I checked the urls, it still shows /us/ in the URLs.
Second question, some pages are already translated into Spanish and some aren't. If I follow the example in this site,
Rule01: Find part of URL: lang-de (still delivers english content)
Rule01: Set part of URL: lang-en (this is your main language, we use it as canonical url)
Wouldn't the above canonicalize all my Spanish pages? How do I just do the untranslated ones only?
If you could provide a link to the page plus post the settings you are using, I will have a look at it.
Best regards
Andreas