<?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>Privateer Web Solutions &#187; url rewriting</title>
	<atom:link href="http://www.privateerwebsolutions.com/tagged/url-rewriting/feed" rel="self" type="application/rss+xml" />
	<link>http://www.privateerwebsolutions.com</link>
	<description>Online Traffic Websites for Internet Sellers</description>
	<lastBuildDate>Mon, 11 Apr 2011 15:25:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How to setup search engine friendly URLs in WordPress</title>
		<link>http://www.privateerwebsolutions.com/articles/how-to-setup-search-engine-friendly-urls-in-wordpress.html</link>
		<comments>http://www.privateerwebsolutions.com/articles/how-to-setup-search-engine-friendly-urls-in-wordpress.html#comments</comments>
		<pubDate>Tue, 30 Jun 2009 01:29:50 +0000</pubDate>
		<dc:creator>Privateer Web Solutions</dc:creator>
				<category><![CDATA[Online Traffic Site]]></category>
		<category><![CDATA[Wordpress Setup for Selling]]></category>
		<category><![CDATA[url rewriting]]></category>
		<category><![CDATA[wordpress settings]]></category>

		<guid isPermaLink="false">http://www.privateerwebsolutions.com/?p=211</guid>
		<description><![CDATA[By default, WordPress displays urls for your posts using internal database IDs. For example: http://yourdomain.com/?post-id=3 While this works, it has two fundamental problems: Such urls don&#8217;t do anything to tell search engines what your post is about Such urls are often harder for people to remember than urls using names A good solution is to [...]]]></description>
			<content:encoded><![CDATA[<p>By default, WordPress displays urls for your posts using internal database IDs.</p>
<p><span id="more-211"></span></p>
<p>For example: http://yourdomain.com/?post-id=3</p>
<p>While this works, it has two fundamental problems:</p>
<ul>
<li>Such urls don&#8217;t do anything to tell search engines what your post is about</li>
<li>Such urls are often harder for people to remember than urls using names</li>
</ul>
<p>A good solution is to have your urls look more like the following:</p>
<p>http://yourdomain.com/setting-up-search-engine-friendly-urls-in-wordpress.html</p>
<p>This makes use of words that people search on, giving search engines extra ways to get your articles in front of people, and can be easier for people to remember&#8230;and give them some information on what clicking the link might take them to.</p>
<h3>To setup search engine friendly links in WordPress:</h3>
<ol>
<li>Login to your WordPress admin panel</li>
<li>Select &quot;Settings&quot; &rarr; &quot;Permalinks&quot;</li>
<li>Select &quot;Custom Structure&quot; under &quot;Common Settings&quot;</li>
<li>Enter the custom display method you wish to use.<br />This site uses &quot;/articles/%postname%.html&quot;, causing posts to display at http://www.privateerwebsolutions/articles/&lt;Article-Title&gt;.html</li>
<li>Select &quot;Save Changes&quot; at the bottom of the page.<br />This will update your link structures and might take a few seconds.</li>
</ol>
<p>Once finished, reload your site and you should see much more informative looking links.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.privateerwebsolutions.com/articles/how-to-setup-search-engine-friendly-urls-in-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rewriting URLs to avoid being penalized by dual search entries</title>
		<link>http://www.privateerwebsolutions.com/articles/rewriting-urls-to-avoid-being-penalized-by-dual-search-entries.html</link>
		<comments>http://www.privateerwebsolutions.com/articles/rewriting-urls-to-avoid-being-penalized-by-dual-search-entries.html#comments</comments>
		<pubDate>Tue, 30 Jun 2009 01:19:32 +0000</pubDate>
		<dc:creator>Privateer Web Solutions</dc:creator>
				<category><![CDATA[Online Traffic Site]]></category>
		<category><![CDATA[Wordpress Setup for Selling]]></category>
		<category><![CDATA[url rewriting]]></category>
		<category><![CDATA[wordpress settings]]></category>

		<guid isPermaLink="false">http://www.privateerwebsolutions.com/?p=203</guid>
		<description><![CDATA[When you first create a wordpress site which is not on a sub-domain, people can get to it via www.thesitename.com and thesitename.com. While this is a good thing for being able to reach your site, it may be a bad thing as far as search engines are concerned because it appears as if you have [...]]]></description>
			<content:encoded><![CDATA[<p>When you first create a wordpress site which is not on a sub-domain, people can get to it via www.thesitename.com and thesitename.com.</p>
<p><span id="more-203"></span></p>
<p>While this is a good thing for being able to reach your site, it may be a bad thing as far as search engines are concerned because it appears as if you have two sites with exactly the same content.</p>
<h3>Rewriting incoming URLs</h3>
<p>To prevent getting penalized by search engines for duplicate content, you will need to re-write the urls on your website.</p>
<p><b>Note:</b> Wherever &quot;yourdomainname&quot; is used below, it means the entire domain name&#8230;such as privateerwebsolutions.com or something.org or whatever.net.</p>
<h3>Method 1: Using WordPress General Settings</h3>
<p>The simplest method I have found for doing this is to use WordPress itself.</p>
<ol style="padding-left: 30px; padding-top: 0.5em; padding-bottom: 0.25em;">
<li>Login to WordPress</li>
<li>Go to &quot;Settings&quot; : &quot;General&quot;</li>
<li>Add www. to the &quot;WordPress address (URL) entry before your domain name (right after the http://)<br />The result should look like http://www.yourdomainname</li>
<li>Add www. to the &quot;Blog address (URL) entry before your domain name (right after the http://)<br />The result should look like http://www.yourdomainname</li>
<li>Select &quot;Save Changes&quot; to save your changes.</li>
</ol>
<p>Note that doing this will log you out of wordpress and you will need to log back in.</p>
<h3>Method 2: Using URL Rewriting</h3>
<p>Another way to do this is to update your sites &quot;.htaccess&quot; file to force all links incoming without the www to be rewritten with the www. To do this, you will need to edit your .htaccess file and add something like the following:</p>
<blockquote><p>
RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^yourdomain<br />
RewriteRule (.*) http://www.yourdomain/$1 [R=301,L]</p></blockquote>
<p>This should be placed inside of an &lt;IfModule mod_rewrite.c&gt; section.</p>
<p>The first line tells it to enable the rewrite engine.<br />
<br />The second line notes to only carry out any following rules for the specified domain.<br />
<br />The third line notes that for everything following the domain name, rewrite it with a www in front of the domain and do a 301 redirect then stop any further rewriting.</p>
<p>For example, if done for this site it would look like:<br />
<br />RewriteCond %{HTTP_HOST} ^privateerwebsolutions.com<br />
<br />RewriteRule (.*) http://www.privateerwebsolutions.com/$1 [R=301,L]</p>
<h3>Testing your changed blog URL</h3>
<p>To test your changes, go to http://yourdomain/ and see if you end up at http://www.yourdomain/. If you do, everything is good.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.privateerwebsolutions.com/articles/rewriting-urls-to-avoid-being-penalized-by-dual-search-entries.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

