<?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>iTechLog &#187; MOD_REWRITE</title>
	<atom:link href="http://itechlog.com/tag/mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://itechlog.com</link>
	<description>Your source to IT solutions, interesting technology news and code snipets.</description>
	<lastBuildDate>Mon, 06 Sep 2010 12:05:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>.htaccess 301 Redirect</title>
		<link>http://itechlog.com/web-programming/2009/03/27/htaccess-301-redirect/</link>
		<comments>http://itechlog.com/web-programming/2009/03/27/htaccess-301-redirect/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 15:59:32 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[301 Redirect]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[MOD_REWRITE]]></category>
		<category><![CDATA[Search Optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[SEO Book]]></category>

		<guid isPermaLink="false">http://itechlog.com/web-programming/2009/03/27/htaccess-301-redirect/</guid>
		<description><![CDATA[.htaccess files (or &#8220;distributed configuration files&#8221;) provide a way to make configuration changes on a per-directory basis in an Apache HTTP Server. This file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof. This 301&#160; Redirect can be used anytime [...]]]></description>
			<content:encoded><![CDATA[<p><b><code>.htaccess</code></b> files (or &#8220;distributed configuration files&#8221;)    provide a way to make configuration changes on a per-directory basis in an <b>Apache HTTP Server</b>. This    file, containing one or more configuration directives, is placed in a    particular document directory, and the directives apply to that    directory, and all subdirectories thereof.</p>
<p>This <b>301&nbsp; Redirect</b> can be used anytime you want to redirect a URL. Here are some examples of its use:</p>
<ul>
<li>Single page &#8211; Redirect 301 /old_page.html http://www.mysite.com/new_page.html</li>
</ul>
<ul>
<li>entire site -&nbsp;&nbsp; Redirect 301 /&nbsp; http://www.new_site.com/</li>
</ul>
<ul>
<li>c<a href="http://www.amazon.co.uk/gp/product/0470100923?ie=UTF8&amp;tag=costafamily-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=0470100923" target="_blank"><img style="float: left; margin-top: 10px; margin-bottom: 10px; margin-right: 10px;" src="https://images-na.ssl-images-amazon.com/images/I/5184%2B7hkqxL._SL160_.jpg" alt="" align="left" border="0" /></a>hange file extension (html to php in this case) -&nbsp; RedirectMatch 301 (.*)\.html$ http://www.mysite.com$1.php</li>
</ul>
<p>There are many other uses for Redirect 301 and <a target="_blank" href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html">mod_rewrite on Apache</a>, if you are moving a site or redesigning a site with a new CMS make sure you redirect your old URLs to your new site. By failing to do so any user that clicks on a link to your old site (page) will hit a 404 ERROR page, this will affect your search rankings.&nbsp; </p>
<p>The book &#8220;<a target="_blank" href="http://itechlog.com/web-programming/2008/12/04/search-engine-optimization-seo-in-php-book/"><b>Professional SEO</b></a>&#8221; has a good chapter in<b> mod_rewrite and URL redirectio</b>n, and is also great SEO manual</p>
<p>For a full <a target="_blank" href="http://httpd.apache.org/docs/1.3/howto/htaccess.html">tutorial on .htaccess</a> visit the official Apache website.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=f4dc6eb8-fe8d-8f5f-b316-e99a32d6f252" /></div>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F&amp;title=.htaccess+301+Redirect" title="Bookmark this post : .htaccess 301 Redirect on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F&amp;title=.htaccess+301+Redirect&amp;bodytext=.htaccess+files+%28or+%22distributed+configuration+files%22%29++++provide+a+way+to+make+configuration+changes+on+a+per-directory+basis+in+an+Apache+HTTP+Server.+This++++file%2C+containing+one+or+more+configuration+directives%2C+is+placed+in+a++++particular+document+directory%2C+and+the+directives+apply+to+that++++directory%2C+and+all+" title="Digg this post : .htaccess 301 Redirect"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F&amp;t=.htaccess+301+Redirect" title="Recommend this post : .htaccess 301 Redirect on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="google_buzz" href="http://www.google.com/reader/link?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F&amp;title=.htaccess+301+Redirect" title="Buzz up this post : .htaccess 301 Redirect "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="yahoo_buzz" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F" title="Buzz up this post : .htaccess 301 Redirect "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="orkut" href="http://promote.orkut.com/preview?nt=orkut.com&amp;du=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F&amp;tt=.htaccess+301+Redirect" title="Share this post : .htaccess 301 Redirect on Orkut"><span class="head">Share on Orkut</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F&amp;title=.htaccess+301+Redirect" title="Share this post : .htaccess 301 Redirect on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F&amp;title=.htaccess+301+Redirect" title="Share this post : .htaccess 301 Redirect with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2009%2F03%2F27%2Fhtaccess-301-redirect%2F" title="Tweet this post : .htaccess 301 Redirect on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://itechlog.com/web-programming/2009/03/27/htaccess-301-redirect/feed" title="Follow this post : .htaccess 301 Redirect comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=iTechLog : .htaccess 301 Redirect&#038;body=here is a link to a site I really like.   http://itechlog.com/web-programming/2009/03/27/htaccess-301-redirect/" title="Tell a friend about this post : .htaccess 301 Redirect "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/.htaccess' rel='tag' target='_self'>.htaccess</a>, <a class='technorati-link' href='http://technorati.com/tag/301+Redirect' rel='tag' target='_self'>301 Redirect</a>, <a class='technorati-link' href='http://technorati.com/tag/Apache' rel='tag' target='_self'>Apache</a>, <a class='technorati-link' href='http://technorati.com/tag/MOD_REWRITE' rel='tag' target='_self'>MOD_REWRITE</a>, <a class='technorati-link' href='http://technorati.com/tag/Search+Optimization' rel='tag' target='_self'>Search Optimization</a>, <a class='technorati-link' href='http://technorati.com/tag/SEO' rel='tag' target='_self'>SEO</a>, <a class='technorati-link' href='http://technorati.com/tag/SEO+Book' rel='tag' target='_self'>SEO Book</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>December 4, 2008 -- <a href="http://itechlog.com/web-programming/2008/12/04/search-engine-optimization-seo-in-php-book/" title="Search Engine Optimization  SEO in PHP (Book)">Search Engine Optimization  SEO in PHP (Book)</a></li><li>August 12, 2010 -- <a href="http://itechlog.com/linux/2010/08/12/linuxcon-2010-just-for-fun-poll-results-explained/" title="LinuxCon 2010 Just for Fun Poll Results explained">LinuxCon 2010 Just for Fun Poll Results explained</a></li><li>January 7, 2010 -- <a href="http://itechlog.com/linux/2010/01/07/linux-clearos-to-rival-microsofts-sbs/" title="Linux ClearOS to rival Microsoft&#8217;s SBS">Linux ClearOS to rival Microsoft&#8217;s SBS</a></li><li>August 26, 2009 -- <a href="http://itechlog.com/wordpress/2009/08/26/wordpress-media-upload-http-error/" title="Wordpress Media upload HTTP Error">Wordpress Media upload HTTP Error</a></li><li>June 5, 2009 -- <a href="http://itechlog.com/itechlog-news/2009/06/05/keyword-search-and-website-ranking-tools/" title="Keyword search and website ranking tools">Keyword search and website ranking tools</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/web-programming/2009/03/27/htaccess-301-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Engine Optimization  SEO in PHP (Book)</title>
		<link>http://itechlog.com/web-programming/2008/12/04/search-engine-optimization-seo-in-php-book/</link>
		<comments>http://itechlog.com/web-programming/2008/12/04/search-engine-optimization-seo-in-php-book/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 23:55:02 +0000</pubDate>
		<dc:creator>Alex Costa</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Web Programming]]></category>
		<category><![CDATA[MOD_REWRITE]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://itechlog.com/?p=101</guid>
		<description><![CDATA[The term SEO (Search Engine Optimization) has become a new phenomenon with marketeers.  As a programmer/developer it&#8217;s very hard to find a good book on such a broad subject but recently I found this great book. The authors go about explaining and guiding you through exercises that are relevant for both programmers and marketeers.  It [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.co.uk/gp/product/0470100923?ie=UTF8&amp;tag=costafamily-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=0470100923" target="_blank"><img src="https://images-na.ssl-images-amazon.com/images/I/5184%2B7hkqxL._SL160_.jpg" border="0" alt="" align="right" /></a><br />
The term SEO (Search Engine Optimization) has become a new phenomenon with  <a title="or MARKETER - One that sells goods or services in or to a market, especially one that markets a specified commodity" href="http://www.thefreedictionary.com/marketeer" target="_blank">marketeers</a>.  As a programmer/developer it&#8217;s very hard to find a good book on such a broad subject but recently I found this great book. The authors go about explaining and guiding you through exercises that are relevant for both programmers and marketeers.  It contains detailed chapters on Website Content, Links, Webmaster tools and <a href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html" target="_blank">MOD_REWRITE</a>. The code snipets found in this book can be used as a good reference guide to any SEO project.   This <a title="SEO with PHP" href="http://www.amazon.co.uk/gp/product/0470100923?ie=UTF8&amp;tag=costafamily-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=0470100923" target="_blank">book is for PHP Programmers</a> but they have also published a <a title="SEO with .net" href="http://www.amazon.co.uk/gp/product/0470131470?ie=UTF8&amp;tag=costafamily-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=0470100923" target="_blank">.NET version.</a></p>
<p>If  you develop with <a title="Wordpress.org" href="http://wordpress.org" target="_blank">WordPress.org</a> this releted post can also be very helpfull:  <a title="SEO and WordPress" href="http://itechlog.com/wordpress/2008/12/13/seo-and-wordpress/" target="_blank">SEO and WordPress</a>
<ul class="socialwrap size32 row">
<li class="iconOnly"><a rel="nofollow" target="_blank" class="delicious" href="http://delicious.com/post?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F&amp;title=Search+Engine+Optimization++SEO+in+PHP+%28Book%29" title="Bookmark this post : Search Engine Optimization  SEO in PHP (Book) on Delicious"><span class="head">Bookmark on Delicious</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="digg" href="http://digg.com/submit?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F&amp;title=Search+Engine+Optimization++SEO+in+PHP+%28Book%29&amp;bodytext=%0D%0AThe+term+SEO+%28Search+Engine+Optimization%29+has+become+a+new+phenomenon+with++marketeers.%C2%A0+As+a+programmer%2Fdeveloper+it%27s+very+hard+to+find+a+good+book+on+such+a+broad+subject+but+recently+I+found+this+great+book.+The+authors+go+about+explaining+and+guiding+you+through+exercises+that+are+relevant+for+both+programmers+" title="Digg this post : Search Engine Optimization  SEO in PHP (Book)"><span class="head">Digg this post</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="facebook" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F&amp;t=Search+Engine+Optimization++SEO+in+PHP+%28Book%29" title="Recommend this post : Search Engine Optimization  SEO in PHP (Book) on Facebook"><span class="head">Recommend on Facebook</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="google_buzz" href="http://www.google.com/reader/link?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F&amp;title=Search+Engine+Optimization++SEO+in+PHP+%28Book%29" title="Buzz up this post : Search Engine Optimization  SEO in PHP (Book) "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="yahoo_buzz" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F" title="Buzz up this post : Search Engine Optimization  SEO in PHP (Book) "><span class="head">Buzz it up</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="orkut" href="http://promote.orkut.com/preview?nt=orkut.com&amp;du=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F&amp;tt=Search+Engine+Optimization++SEO+in+PHP+%28Book%29" title="Share this post : Search Engine Optimization  SEO in PHP (Book) on Orkut"><span class="head">Share on Orkut</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="reddit" href="http://www.reddit.com/submit?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F&amp;title=Search+Engine+Optimization++SEO+in+PHP+%28Book%29" title="Share this post : Search Engine Optimization  SEO in PHP (Book) on Reddit"><span class="head">share via Reddit</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="stumble" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F&amp;title=Search+Engine+Optimization++SEO+in+PHP+%28Book%29" title="Share this post : Search Engine Optimization  SEO in PHP (Book) with Stumblers"><span class="head">Share with Stumblers</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="_blank" class="twitter" href="http://twitter.com/home/?status=http%3A%2F%2Fitechlog.com%2Fweb-programming%2F2008%2F12%2F04%2Fsearch-engine-optimization-seo-in-php-book%2F" title="Tweet this post : Search Engine Optimization  SEO in PHP (Book) on Twitter"><span class="head">Tweet about it</span></a></li>
<li class="iconOnly"><a rel="nofollow" target="" class="rss" href="http://itechlog.com/web-programming/2008/12/04/search-engine-optimization-seo-in-php-book/feed" title="Follow this post : Search Engine Optimization  SEO in PHP (Book) comments"><span class="head">Subscribe to the comments on this post</span></a></li>
<li class="iconOnly"><a rel="" class="email" href="mailto:?subject=iTechLog : Search Engine Optimization  SEO in PHP (Book)&#038;body=here is a link to a site I really like.   http://itechlog.com/web-programming/2008/12/04/search-engine-optimization-seo-in-php-book/" title="Tell a friend about this post : Search Engine Optimization  SEO in PHP (Book) "><span class="head">Tell a friend</span></a></li>
</ul>
<div class="clean"></div>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Books' rel='tag' target='_self'>Books</a>, <a class='technorati-link' href='http://technorati.com/tag/MOD_REWRITE' rel='tag' target='_self'>MOD_REWRITE</a>, <a class='technorati-link' href='http://technorati.com/tag/PHP' rel='tag' target='_self'>PHP</a>, <a class='technorati-link' href='http://technorati.com/tag/Programming' rel='tag' target='_self'>Programming</a>, <a class='technorati-link' href='http://technorati.com/tag/Search' rel='tag' target='_self'>Search</a>, <a class='technorati-link' href='http://technorati.com/tag/SEO' rel='tag' target='_self'>SEO</a></p>

<!-- end wp-tags-to-technorati -->
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>June 5, 2009 -- <a href="http://itechlog.com/itechlog-news/2009/06/05/keyword-search-and-website-ranking-tools/" title="Keyword search and website ranking tools">Keyword search and website ranking tools</a></li><li>May 13, 2009 -- <a href="http://itechlog.com/web-programming/2009/05/13/automatically-display-form-data-with-php/" title="Automatically display form data with PHP">Automatically display form data with PHP</a></li><li>March 27, 2009 -- <a href="http://itechlog.com/web-programming/2009/03/27/htaccess-301-redirect/" title=".htaccess 301 Redirect">.htaccess 301 Redirect</a></li><li>December 13, 2008 -- <a href="http://itechlog.com/wordpress/2008/12/13/seo-and-wordpress/" title="SEO and Wordpress">SEO and Wordpress</a></li><li>March 26, 2010 -- <a href="http://itechlog.com/itechlog-news/2010/03/26/books-for-sale-linux-shell-qmail-handbook-and-ssltls/" title="Books for sale &#8211; Linux Shell, Qmail Handbook and SSL/TLS">Books for sale &#8211; Linux Shell, Qmail Handbook and SSL/TLS</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://itechlog.com/web-programming/2008/12/04/search-engine-optimization-seo-in-php-book/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
