<?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>Moulin Créatif &#187; search engine</title>
	<atom:link href="http://moulincreatif.com/blog/tags/search-engine/feed/" rel="self" type="application/rss+xml" />
	<link>http://moulincreatif.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 03 Jan 2012 13:50:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Make search engines love PHPmotion (part 2)</title>
		<link>http://moulincreatif.com/blog/phpmotion/make-search-engines-love-phpmotion-part-2/</link>
		<comments>http://moulincreatif.com/blog/phpmotion/make-search-engines-love-phpmotion-part-2/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 10:27:36 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[PHPmotion]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://moulincreatif.com/blog/?p=60</guid>
		<description><![CDATA[Part 2 of the PHPmotion seo series is now done (part 1 here)! In this article I will be concentrating on improving the .htaccess file to remove duplicate content &#38; set up correct redirect headers for links. Having 2 addresses to display the same content is bad (search engines may think you&#8217;re trying to trick [...]]]></description>
			<content:encoded><![CDATA[<p>Part 2 of the PHPmotion seo series is now done (<a title="Make search engines love PHPmotion (part 1)" href="http://moulincreatif.com/blog/phpmotion/make-search-engines-love-phpmotion-part-1/">part 1 here</a>)! In this article I will be concentrating on improving the .htaccess file to remove duplicate content &amp; set up correct redirect headers for links.<br />
<span id="more-60"></span><br />
Having 2 addresses to display the same content is bad (search engines may think you&#8217;re trying to trick them) and un-necessary. By having only one link for each page also means that there is no chance of visitors linking to different urls for the same content. A few changes in the .htaccess and all will be well!</p>
<h3>To www or not to www</h3>
<p>Choose which ever you prefer and redirect all the others over to it.</p>
<p><strong>To redirect from non www to www</strong></p>
<pre class="brush: php">RewriteCond %{HTTP_HOST} ^yourdomainname.com [NC]
RewriteRule (.*) http://www.yourdomainname.com/$1 [R=301,L]</pre>
<p><strong>To redirect from www to non www</strong></p>
<pre class="brush: php">RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]</pre>
<h3>Adjust the audio/video/image/blog listing pages</h3>
<p>If you use a <a href="http://www.duplicatecontent.net/">duplicate content checker</a> to check the following urls:</p>
<ul>
<li> http://v3.phpmotion.com/videos</li>
<li>http://v3.phpmotion.com/videos/load/recent</li>
</ul>
<p>You will see they are both identical. To correct this you could (should) change the links in the template files (themes/yourtheme/templates/main_1.htm) to point to videos/load/recent or vice-versa.</p>
<p>But we don&#8217;t want to lose any existing value on the old links do we? So we&#8217;ll just add a 301 redirect so everyone knows to use the other link from now on. Add the following line after RewriteCond %{REQUEST_FILENAME} !-d</p>
<pre class="brush: php">RewriteRule ^videos(/?)$ videos/load/recent [R=301,L]</pre>
<p>If you chose to replace all videos/load/recent links with just videos you should use this code:</p>
<pre class="brush: php">RewriteRule ^videos/load/recent(/?)$  videos [R=301,L]</pre>
<p>Now you just need to do similar for each of the media links in the main menu (audios, blogs &#038; images). You only need to do this for the load/recent links the other load/featured, etc&#8230; should be fine.</p>
<p>If done correctly (once you make the changes make sure that they work!) then you&#8217;ll have just done yourself a favor. Also if you don&#8217;t already use <a href="https://www.google.com/webmasters/tools/">Google Webmaster tools</a> then make sure you check it out! It will help show issues with your website and also give you some info like the top search queries, etc..</p>
]]></content:encoded>
			<wfw:commentRss>http://moulincreatif.com/blog/phpmotion/make-search-engines-love-phpmotion-part-2/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Make search engines love PHPmotion (part 1)</title>
		<link>http://moulincreatif.com/blog/phpmotion/make-search-engines-love-phpmotion-part-1/</link>
		<comments>http://moulincreatif.com/blog/phpmotion/make-search-engines-love-phpmotion-part-1/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 17:54:13 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[PHPmotion]]></category>
		<category><![CDATA[search engine]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://moulincreatif.com/blog/?p=24</guid>
		<description><![CDATA[This is part one of an as of yet undetermined amount of posts in which I will try to explain how to improve your search engine rankings for your PHPmotion website. I probably won&#8217;t be covering the actual marketing but will be providing code, ideas &#38; examples of ways to improve your website. Let me [...]]]></description>
			<content:encoded><![CDATA[<p>This is part one of an as of yet undetermined amount of posts in which I will try to explain how to improve your search engine rankings for your PHPmotion website. I probably won&#8217;t be covering the actual marketing but will be providing code, ideas &amp; examples of ways to improve your website.</p>
<p>Let me know if you find it useful and I&#8217;ll get started on more posts!<span id="more-24"></span></p>
<h3>Do not use duplicate title &amp; meta tags!</h3>
<p>This is easily missed as the keyword &amp; description tags are invisible to regular visitors, they only show up within the source code. Having the same titles on different pages is missing out on a great opportunity for getting some keywords picked up in search engines.</p>
<p>For example the featured, recent, most viewed &amp; most commented videos all have the same title &amp; meta tags! This is not good!</p>
<p>Here&#8217;s a simple way of fixing this and can be used in pretty much any of the .php files:</p>
<pre class="brush: php">$page_title = &quot;Your page title will go here! - $site_name&quot;;
$description = &quot;Enter a description for the page here, descriptions are often used as the small part of text that shows in search results and shouldn&#039;t exceed 150 or so characters (the amount Google display in results).&quot;;
$keywords = &quot;comma,separated,words,or short, search keywords&quot;;</pre>
<p>Meta keywords aren&#8217;t used so much now as the search engines prefer to scan the actual content of your page rather then trust what you enter.</p>
<p>So where do you stick this code into your files? Most of the time anywhere before this will be fine except in certain files (more on that in a bit):</p>
<pre class="brush: php">$TBS 			= new clsTinyButStrong;</pre>
<p>Try it out now in category_home.php.</p>
<p>But wait I hear you say, I want to display the name of the category! Good thinking! So here&#8217;s how you go about it, take the code had earlier with a few minor adjustements:</p>
<pre class="brush: php">$page_title = &quot;Watch $channel videos – $site_name&quot;;
$description = &quot;View all videos in the $channel category, watch, rate and comment on $channel videos.&quot;;
$keywords = &quot;$channel, $channel videos, popular $channel vids&quot;;</pre>
<p>Now that&#8217;s much better. Of course you can (and should) take this a lot further. Remember you will need to replace $channel with other variables (and don&#8217;t forget to change the descriptions &amp; keywords around a bit). Some pages not to miss are seemore.php ($see_more_title), audio.php (also $see_more_title).</p>
<p>If you find this useful let me know below! Any questions just ask!</p>
<p><strong>Update:</strong> How to add this for sub categories<br />
At the bottom of the file just before adding the above code add the following:</p>
<pre class="brush: php">if($sub &gt; 0) {
	$channel = $channel_name;
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://moulincreatif.com/blog/phpmotion/make-search-engines-love-phpmotion-part-1/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

