<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lorem Ipsum Ges.m.b.H. &#187; WordPress</title>
	<atom:link href="http://www.loremipsum.at/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loremipsum.at</link>
	<description>Der Onlineauftritt der Lorem Ipsum Medienges.m.b.H.</description>
	<lastBuildDate>Wed, 11 Jan 2012 08:14:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WordPress 3.1 Pluginbugfixing bei Kategorielinks</title>
		<link>http://www.loremipsum.at/blog/code/wordpress-3-1-pluginbugfixing-bei-kategorielinks/</link>
		<comments>http://www.loremipsum.at/blog/code/wordpress-3-1-pluginbugfixing-bei-kategorielinks/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 21:43:58 +0000</pubDate>
		<dc:creator>Ing. Karl Kowald</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Bugfix]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.loremipsum.at/?p=2627</guid>
		<description><![CDATA[Seit gestern wird WordPress 3.1 als stable ausgeliefert, jedoch scheinen einige Plugin-Anbieter ihre Software nicht damit vorabgetestet zu haben, denn bei einigen treten seltsame Fehler auf, betreffend der mod_rewrite-Funktion für sprechende URL&#8217;s und Kategorielinks Kategorielinks verweisen auf Artikel oder 404-Fehlerseite &#8230; <a href="http://www.loremipsum.at/blog/code/wordpress-3-1-pluginbugfixing-bei-kategorielinks/">weiterlesen <span class="meta-nav">&#187;</span></a><div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/produkte/wordpress-plugins/" rel="bookmark">WordPress Plugins</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/neues-wordpress-plugin-affiliando-vergleichsrechner-1-0/" rel="bookmark">Neues WordPress Plugin: Affiliando Vergleichsrechner 1.0</a></li>
		<li><a href="http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/" rel="bookmark">WordPress 3.0 &#8211; Upgrade sinnvoll?</a></li>
	</ul></div>
]]></description>
			<content:encoded><![CDATA[<p>Seit gestern wird WordPress 3.1 als stable ausgeliefert, jedoch scheinen einige Plugin-Anbieter ihre Software nicht damit vorabgetestet zu haben, denn bei einigen treten seltsame Fehler auf, betreffend der mod_rewrite-Funktion für sprechende URL&#8217;s und Kategorielinks<span id="more-2627"></span></p>
<h2>Kategorielinks verweisen auf Artikel oder 404-Fehlerseite</h2>
<p>Ob man ein Plugin mit solch einen Fehler hat bemerkt man eigentlich sehr einfach. Klickt man auf einen Kategorielink und wird automatisch auf einen Artikel der Kategorie oder eine 404 Fehlerseite weitergeleitet, anstatt in der schönen Kategorieübersicht zu landen hat man ein nicht kompatibles Plugin dabei.</p>
<h2>1 Zeile auskommentieren als Sofortmaßnahme</h2>
<p>Erstaunlicherweise lässt sich das in den meisten Fällen jedoch recht einfach lösen. Einfach nach folgender Zeile suchen:</p>
<div class="codecolorer-container php geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$wp_rewrite</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">flush_rules</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p><strong>Diese Zeile</strong> einfach <strong>auskommentieren oder löschen</strong> und schon funktionieren die Kategorielinks wieder korrekt. <strong>Trotz</strong> dieses <strong>Eingriffs funktionieren</strong> die <strong>Plugins</strong> alle noch <strong>korrekt</strong> (bisher 3 Plugins auf diese Art bearbeitet). Dies ist zwar keine sinnvolle Dauerlösung, jedoch werden in den nächsten Tagen und Wochen die meisten Pluginentwickler adequate, getestete Lösungen via Updates nachreichen.</p>
<h2>Betroffene Plugins via Linux-Shell finden</h2>
<p>Betreiber von Blogs mit sehr vielen Plugins können mit diesem Aufruf in der Linuxshell rasch und effizient herausfinden in welche Plugins von diesem Problem betroffen sind.</p>
<div class="codecolorer-container c geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">grep <span style="color: #339933;">-</span>rl <span style="color: #ff0000;">'flush_rules'</span> <span style="color: #339933;">/</span>pathtowordpress<span style="color: #339933;">/</span>wp<span style="color: #339933;">-</span>content<span style="color: #339933;">/</span>plugins<span style="color: #339933;">/</span></div></td></tr></tbody></table></div>
<p>Mit diesem Aufruf erhält man eine Liste betroffener Dateien zurück, dort muss nur noch der entsprechende Eintrag auskommentiert werden.</p>
<div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/produkte/wordpress-plugins/" rel="bookmark">WordPress Plugins</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/neues-wordpress-plugin-affiliando-vergleichsrechner-1-0/" rel="bookmark">Neues WordPress Plugin: Affiliando Vergleichsrechner 1.0</a></li>
		<li><a href="http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/" rel="bookmark">WordPress 3.0 &#8211; Upgrade sinnvoll?</a></li>
	</ul></div>
]]></content:encoded>
			<wfw:commentRss>http://www.loremipsum.at/blog/code/wordpress-3-1-pluginbugfixing-bei-kategorielinks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Adminbar für Usergruppen global deaktivieren</title>
		<link>http://www.loremipsum.at/blog/code/wordpress-adminbar-fur-usergruppen-global-deaktivieren/</link>
		<comments>http://www.loremipsum.at/blog/code/wordpress-adminbar-fur-usergruppen-global-deaktivieren/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 19:30:25 +0000</pubDate>
		<dc:creator>Ing. Karl Kowald</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Technik]]></category>
		<category><![CDATA[AdminBar]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.loremipsum.at/?p=2618</guid>
		<description><![CDATA[Seit heute ist WordPress in der Version 3.1 veröffentlicht. Mit diesem Release kam unter anderem ein Feature namens Adminbar, für Benutzer von wordpress.com bereits eine bekannte Kopfleiste im Frontend von WordPress um schneller Backendfunktionen auch im Frontend nutzen zu können. &#8230; <a href="http://www.loremipsum.at/blog/code/wordpress-adminbar-fur-usergruppen-global-deaktivieren/">weiterlesen <span class="meta-nav">&#187;</span></a><div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/produkte/wordpress-plugins/" rel="bookmark">WordPress Plugins</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/neues-wordpress-plugin-affiliando-vergleichsrechner-1-0/" rel="bookmark">Neues WordPress Plugin: Affiliando Vergleichsrechner 1.0</a></li>
		<li><a href="http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/" rel="bookmark">WordPress 3.0 &#8211; Upgrade sinnvoll?</a></li>
	</ul></div>
]]></description>
			<content:encoded><![CDATA[<p>Seit heute ist WordPress in der Version 3.1 veröffentlicht. Mit diesem Release kam unter anderem ein Feature namens Adminbar, für Benutzer von wordpress.com bereits eine bekannte Kopfleiste im Frontend von WordPress um schneller Backendfunktionen auch im Frontend nutzen zu können.</p>
<h2>Adminbar für registrierte Benutzer global deaktivieren</h2>
<p>Grundsätzlich eine sinnvolle Sache für Admins und Redakteure, jedoch für registrierte Leser meist unnötig und nicht ins Designkonzept passend. Mit einem kleinen aber feinen Eintrag in der functions.php des aktivierten Designs kann man dem aber Abhilfe schaffen &#8211; alternativ kann man das natürlich auch via Plugin aktivieren:</p>
<div class="codecolorer-container php geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>current_user_can<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'edit_posts'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'show_admin_bar'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'__return_false'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>Mit diesen Zweizeiler kann man auf einfachste Weise die Adminbar für gewisse Usergruppen deaktivieren. In diesem Beispiel gilt das nur für registrierte Benutzer, da diese die einzige Gruppe ist, die keine Artikel editieren kann.</p>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">edit_posts</div>
<div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/produkte/wordpress-plugins/" rel="bookmark">WordPress Plugins</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/neues-wordpress-plugin-affiliando-vergleichsrechner-1-0/" rel="bookmark">Neues WordPress Plugin: Affiliando Vergleichsrechner 1.0</a></li>
		<li><a href="http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/" rel="bookmark">WordPress 3.0 &#8211; Upgrade sinnvoll?</a></li>
	</ul></div>
]]></content:encoded>
			<wfw:commentRss>http://www.loremipsum.at/blog/code/wordpress-adminbar-fur-usergruppen-global-deaktivieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 Schritte zur Keyword SERP-Position mit Google Analytics</title>
		<link>http://www.loremipsum.at/blog/sem/seo/3-schritte-zur-keyword-serp-position-mit-google-analytics/</link>
		<comments>http://www.loremipsum.at/blog/sem/seo/3-schritte-zur-keyword-serp-position-mit-google-analytics/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 11:51:17 +0000</pubDate>
		<dc:creator>Ing. Karl Kowald</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Codeschnippsel]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Ranking]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.loremipsum.at/?p=953</guid>
		<description><![CDATA[Die Suchbegriffe mit welchen Besucher auf unsere Seite gelangen kann man problemlos mit Google Analytics auswerten. Will man jedoch auch die eigene Position auf der Suchmaschinenergebnisseite (SERP) wissen, welche zum Klick des Besuchers geführt hat, muss man schon selbst nach &#8230; <a href="http://www.loremipsum.at/blog/sem/seo/3-schritte-zur-keyword-serp-position-mit-google-analytics/">weiterlesen <span class="meta-nav">&#187;</span></a><div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/consulting/google-analytics-consulting/" rel="bookmark">Google Analytics Consulting</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/seo/google-bombing-der-weg-vom-spitzenkanditat-zum-vollkoffer/" rel="bookmark">Google-Bombing: Der Weg vom Spitzenkandidat zum Vollkoffer</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/seo/besserer-content-bessere-serp-platzierung/" rel="bookmark">Besserer Content = bessere SERP-Platzierung?</a></li>
	</ul></div>
]]></description>
			<content:encoded><![CDATA[<p>Die Suchbegriffe mit welchen Besucher auf unsere Seite gelangen kann man problemlos mit Google Analytics auswerten. Will man jedoch auch die eigene Position auf der Suchmaschinenergebnisseite (SERP) wissen, welche zum Klick des Besuchers geführt hat, muss man schon selbst nach dem Begriff googlen oder via Google WebmasterTools danach suchen. Leider gibt bei beiden Methoden Abweichungen die kein genaues Resultat ergeben, doch mit einer kleinen Änderung am Google Analytics Code kann dem abhilfe geschaffen werden.<span id="more-953"></span></p>
<h2>Schritt 1: Referer Auswerten</h2>
<p>Zuerst liest man einfach beim Seitenaufruf den Referer aus:</p>
<div class="codecolorer-container php geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/cd\=(\d+)/&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTP_REFERER'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/(\d+)/&quot;</span><span style="color: #339933;">,</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span><span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$rank</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>Dadurch erhalten wir die Position auf der Google Suchergebnisseite von welcher der aktuelle Besucher kommt. Sollte die eigene Seite eventuell mit der $_GET Variable cd arbeiten wäre es Ratsam noch einen allgemeinen Filter über die Refererdomain laufen zu lassen um falsche Werte auszuschließen.</p>
<h2>Schritt 2: Wert an Google Analytics übergeben</h2>
<p>Hierfür nutzen wir die Möglichkeit via Javascript eigens definierte Variablen ans Google Analytics zu übergeben. Inmitten des Google-Codes fügen wir nun die Position mit einem eigenes kreierten Variablennamen &#8220;Google_Platz&#8221; ein, allerdings nur dann wenn auch tatsächlich ein Wert dafür vorhanden ist:</p>
<div class="codecolorer-container php geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$rank</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">''</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span>    _gaq.push(['_setCustomVar',1,'Google_Platz','<span style="color: #000000; font-weight: bold;">&lt;?=</span><span style="color: #000088;">$rank</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>',2]);<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>Als Ergebnis sollte dann soetwas im Quellcode stehen:</p>
<div class="codecolorer-container javascript geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #003366; font-weight: bold;">var</span> _gaq <span style="color: #339933;">=</span> _gaq <span style="color: #339933;">||</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
_gaq.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'_setAccount'</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'UA-xxxxxxxx-x'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
_gaq.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'_setCustomVar'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'Google_Platz'</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'3'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
_gaq.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'_trackPageview'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> ga <span style="color: #339933;">=</span> document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ga.<span style="color: #660066;">type</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">'text/javascript'</span><span style="color: #339933;">;</span> ga.<span style="color: #660066;">async</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />
ga.<span style="color: #660066;">src</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'https:'</span> <span style="color: #339933;">==</span> document.<span style="color: #660066;">location</span>.<span style="color: #660066;">protocol</span> <span style="color: #339933;">?</span> <span style="color: #3366CC;">'https://ssl'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'http://www'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'.google-analytics.com/ga.js'</span><span style="color: #339933;">;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> s <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'script'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> s.<span style="color: #660066;">parentNode</span>.<span style="color: #660066;">insertBefore</span><span style="color: #009900;">&#40;</span>ga<span style="color: #339933;">,</span> s<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>In diesem Beispiel kam der Klick von der 3. Position.</p>
<h2>Schritt 3: Auswerten nach Platzierung</h2>
<div id="attachment_954" class="wp-caption alignright" style="width: 253px"><a href="http://loremipsum.at/wp-content/uploads/2010/09/google-positionszahl.jpg"><img class="size-medium wp-image-954" title="google-positionszahl" src="http://loremipsum.at/wp-content/uploads/2010/09/google-positionszahl-243x300.jpg" alt="Die Positionszahl die das Script übergibt" width="243" height="300" /></a><p class="wp-caption-text">Die Positionszahl die das Script übergibt</p></div>
<p>Nach einigen Tagen sollte man die ersten Ergebnisse bereits sehen und man kann mit der Auswertung beginnen. Leider werden eigene Variablen nicht standardmäßig von Google Analytics ausgewertet, weshalb man sich in die Benutzerdefierten Berichte wagen muss. Jedoch lohnt es sich, da man ab diesem Zeitpunkt wichtige Kennzahlen wie die Bounce-Rate oder Umsatzziele auch nach dem Ranking auswerten. Auch durchschnittliche Platzierungen von wichtigen Keywords kann man über einen langen Zeithorizont auswerten, wobei natürlich nur die Platzierungen bewertet werden, welche auch tatsächlich zu einem Besuch auf der Homepage geführt haben.</p>
<h2>WordPress Plugin mit dieser Funktion</h2>
<p>Wir arbeiten bereits seit einigen Tagen an einer kleinen Funktions- &amp; Effektsammlung für WordPress welches wir an dieser Stelle veröffentlichen möchten. Diese Auswertungsoption wird darin von ebenfalls integriert werden. Für alle die somit noch einige Tage darauf warten können ein Hinweis damit Sie es nicht selbst in ihrem Code einfügen müssen.</p>
<h2>Update: Auswertung nur mit Javascript</h2>
<p>Alternativ kann man auch eine reine Javascriptauswertung machen, dadurch erspart man sich den Eingriff in PHP-Files.</p>
<div class="codecolorer-container javascript geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">referrer</span>.<span style="color: #660066;">search</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/[\?|&amp;]cd=/</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><br />
<span style="color: #339933;">&amp;&amp;</span> document.<span style="color: #660066;">referrer</span>.<span style="color: #660066;">search</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/google\./</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #003366; font-weight: bold;">var</span> rank<span style="color: #339933;">=</span>document.<span style="color: #660066;">referrer</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/[&amp;|\?]cd=([\d]+)/</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
_gaq.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #3366CC;">'_setCustomVar'</span><span style="color: #339933;">,</span><span style="color: #CC0000;">1</span><span style="color: #339933;">,</span><span style="color: #3366CC;">'Google_Platz'</span><span style="color: #339933;">,</span>rank<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/consulting/google-analytics-consulting/" rel="bookmark">Google Analytics Consulting</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/seo/google-bombing-der-weg-vom-spitzenkanditat-zum-vollkoffer/" rel="bookmark">Google-Bombing: Der Weg vom Spitzenkandidat zum Vollkoffer</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/seo/besserer-content-bessere-serp-platzierung/" rel="bookmark">Besserer Content = bessere SERP-Platzierung?</a></li>
	</ul></div>
]]></content:encoded>
			<wfw:commentRss>http://www.loremipsum.at/blog/sem/seo/3-schritte-zur-keyword-serp-position-mit-google-analytics/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 &#8211; Upgrade sinnvoll?</title>
		<link>http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/</link>
		<comments>http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 12:04:54 +0000</pubDate>
		<dc:creator>Ing. Karl Kowald</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.loremipsum.at/?p=438</guid>
		<description><![CDATA[Vor einigen Tagen ist WordPress in seiner neuen Version 3.0 erschienen. Durch die Auto-Upatefunktion im Administrationsbereich kann man gar nicht umhin das zu bemerken. Durchaus von Vorteil, doch es lohnt sich vorab zu überlegen ob ein sofortiger Klick auf Upgrade &#8230; <a href="http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/">weiterlesen <span class="meta-nav">&#187;</span></a><div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/produkte/wordpress-plugins/" rel="bookmark">WordPress Plugins</a></li>
		<li><a href="http://www.loremipsum.at/blog/news/upgrade-auf-27-neues-design-online/" rel="bookmark">Upgrade auf 2.7 + neues Design online</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/neues-wordpress-plugin-affiliando-vergleichsrechner-1-0/" rel="bookmark">Neues WordPress Plugin: Affiliando Vergleichsrechner 1.0</a></li>
	</ul></div>
]]></description>
			<content:encoded><![CDATA[<p>Vor einigen Tagen ist WordPress in seiner neuen Version 3.0 erschienen. Durch die Auto-Upatefunktion im Administrationsbereich kann man gar nicht umhin das zu bemerken. Durchaus von Vorteil, doch es lohnt sich vorab zu überlegen ob ein sofortiger Klick auf Upgrade sinnvoll ist.<span id="more-438"></span></p>
<h3>Software aktuell halten</h3>
<p>Sein CMS aktuell zu halten ist schon alleine zum Schutz vor Hackerangriffen grundsätzlich wichtig. Jedoch haben Upgrades mit größeren Versionssprüngen auch Ihre Tücken weshalb zuwarten sich in manchen Fällen als sinnvoller erweist. Wenn der Funktionsumfang sich deutlich verändert ist das ein Zeichen für weitreichende Erweiterungen und Erneuerungen im Quellcode der Software. Naturgemäß können sich dort immer wieder kleinere Fehler (Bugs) einschleichen. Diese werden erst mit den folgenden Releases behoben. Bei so einer aktiven Entwicklercommunity wie WordPress dauert es nicht lange bis zur Version 3.0.1 erscheint und die Vorversion ist Sicher genug das man im Zweifel noch einige Wochen zuwarten kann mit einem Update.</p>
<h3>Kompatiblität der Plugins</h3>
<p>Plugins sind meistens kostenlos zur Verfügung gestellt und werden daher auch nicht immer mit höchster Priorität weiterentwickelt und aktuell gehalten. Auf der Plugin-Downloadseite von WordPress gibt es ein Bewertungsmodul für Kompatibilität zwischen Plugin und WordPress Version. Bevor man sich für ein Upgrade entscheidet lohnt es sich alle eigenen Plugins zu überprüfen ob diese auch nach dem Upgrade funktionieren. Besonders beim Einsatz vieler Plugins sollten Sie ein Upgrade zeitlich verschieben und einige Wochen zuwarten. Wenn nach 4-5 Wochen manch ein Plugin noch immer nicht kompatibel ist sollten Sie damit beginnen nach alternativen zu suchen.</p>
<h3>Neues Design, neue Möglichkeiten</h3>
<p>Mit WordPress 3.0 wurde ein komplett überarbeitetes Design mitgeliefert. Daher sollten Sie auch Ihr eigenes Design überprüfen, ob es fit genug ist für das Upgrade und keine veralteten Funktionen aufruft. Ausserdem lohnt es sich dabei gleich zu überprüfen welche Neuerungen mit dem Upgrade eingeführt wurden und für den eigenen Internauftritt sein können.</p>
<h3>Aktualisieren mit Hausverstand</h3>
<p>Schlussfolgernd lohnt sich eine rasche Aktualisierung auf WordPress 3.0 besonders für Seiten mit wenig Plugins. Sobald jedoch eigene Funktionen integriert und/oder viele Plugins in Verwendung sind sollte man vorab einen Funktionstest machen (z.B: Innerhalb einer Sandbox) um zu prüfen ob nach einem Upgradeklick auch alles in gewohnter Form funktioniert.</p>
<div class="related"> 						<span class="hash">Verwandte Themen und Beitr&auml;ge</span>  						<ul>
		<li><a href="http://www.loremipsum.at/produkte/wordpress-plugins/" rel="bookmark">WordPress Plugins</a></li>
		<li><a href="http://www.loremipsum.at/blog/news/upgrade-auf-27-neues-design-online/" rel="bookmark">Upgrade auf 2.7 + neues Design online</a></li>
		<li><a href="http://www.loremipsum.at/blog/sem/neues-wordpress-plugin-affiliando-vergleichsrechner-1-0/" rel="bookmark">Neues WordPress Plugin: Affiliando Vergleichsrechner 1.0</a></li>
	</ul></div>
]]></content:encoded>
			<wfw:commentRss>http://www.loremipsum.at/blog/code/wordpress-3-0-upgrade-sinnvoll/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

