<?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>PHP Magic Book - Free PHP Scripts, Tutorials and Downloads &#187; Mod Rewrite</title>
	<atom:link href="http://www.phpmagicbook.com/category/mod-rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmagicbook.com</link>
	<description>PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips</description>
	<lastBuildDate>Tue, 15 Jun 2010 13:22:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Htaccess Mod Rewrite Practical Essential Important Solutions &#8211; Update</title>
		<link>http://www.phpmagicbook.com/htaccess-mod-rewrite-practical-essential-important-solutions-update/</link>
		<comments>http://www.phpmagicbook.com/htaccess-mod-rewrite-practical-essential-important-solutions-update/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 20:11:59 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Mod Rewrite]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.phpmagicbook.com/?p=506</guid>
		<description><![CDATA[I have been experimenting with .htaccess a lot regarding with mod rewriting and URL rewriting and had a lot of difficulty finding the solutions regarding to exact problem I faced. This stuff is such a headache. I am feeling headache right now as I am typing after messing with a lot of .htaccess codes. Here [...]<p><a href="http://www.phpmagicbook.com/htaccess-mod-rewrite-practical-essential-important-solutions-update/">Htaccess Mod Rewrite Practical Essential Important Solutions &#8211; Update</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I have been experimenting with .htaccess a lot regarding with mod rewriting and URL rewriting and had a lot of difficulty finding the solutions regarding to exact problem I faced. This stuff is such a headache. I am feeling headache right now as I am typing after messing with a lot of .htaccess codes. Here is an update regarding essential stuff which you will find useful if you are trying to change your URLS from index.php to index.html or index.php to index and if after putting RewriteEngine on images are not showing up at pages. Following exercises will answer these tasks in htacces mod rewrite:</p>
<p>1- How to enable RewriteEngine for htaccess and localhost<br />
2- Images are not showing after RewriteEngine on<br />
3- Images in second level directory are not showing after RewriteEngine on<br />
e.g. <strong>images/1.jpg</strong> is showing but <strong>images/icons/2.jpg</strong> is not showing up<br />
4- Want to change <strong>index.php</strong> into <strong>index</strong> or <strong>about.php</strong> into <strong>about</strong><br />
5- Want to change all <strong>pages.php</strong> to <strong>pages.html</strong> for site using htaccess<br />
6- Want to Rewrite <strong>yoursite.com/user.php?username=xyz</strong> to <strong>yoursite.com/xyz</strong><br />
7- Want to Rewriting <strong>product.php?id=12</strong> to <strong>product/ipod-nano/12.html</strong><br />
8- Want to change <strong>product.php?id=5</strong> to <strong>porduct-5.html</strong></p>
<p><span id="more-506"></span></p>
<h4>Enable ReWrite Engine</h4>
<p>Before rewriting do this in .htaccess file.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">Options <span style="color: #339933;">+</span>FollowSymLinks
RewriteEngine on</pre></div></div>

<p>and after that start rewriting</p>
<h4>Images not showing after RewriteEngine on</h4>
<p>Solve images problem which sometimes does not show if you enable rewrite engine in .htaccess. I was trying to change index.php to index and when I did that, images from first images directory were displaying (images/) but the second level images (images/icons/) were not displaying. Even when I tried the absolute path, images from images/icons/ directory were not displaying. The trick is that, you have to rewrite images directory as well and similarly sometimes css and js directories also. In this case when I tried the following code, my problem was solved.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule ^images<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">.+</span><span style="color: #009900;">&#41;</span>?$ images<span style="color: #339933;">/</span>$<span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#91;</span>NC<span style="color: #339933;">,</span>L<span style="color: #009900;">&#93;</span> 
<span style="color: #666666; font-style: italic;"># RewriteRule ^images/icons/(.+)?$ images/icons/$1 [NC,L]</span></pre></div></div>

<p>First line in above example solved my problem and I did not need the second in my case.</p>
<p>There is problem with Browsers which don&#8217;t recognize that folders you typed are not real So there is problem with images and css style. In another case consider the following example.</p>
<p>All you have to do is mod rewrite all your image, css and js folders like below:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule ^pictures<span style="color: #339933;">/</span>images<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">.+</span><span style="color: #009900;">&#41;</span>?$ images<span style="color: #339933;">/</span>$<span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#91;</span>NC<span style="color: #339933;">,</span>L<span style="color: #009900;">&#93;</span>
RewriteRule ^pictures<span style="color: #339933;">/</span>css<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">.+</span><span style="color: #009900;">&#41;</span>?$ css<span style="color: #339933;">/</span>$<span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#91;</span>NC<span style="color: #339933;">,</span>L<span style="color: #009900;">&#93;</span>
RewriteRule ^pictures<span style="color: #339933;">/</span>js<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">.+</span><span style="color: #009900;">&#41;</span>?$ js<span style="color: #339933;">/</span>$<span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#91;</span>NC<span style="color: #339933;">,</span>L<span style="color: #009900;">&#93;</span>
RewriteRule ^pictures<span style="color: #339933;">/</span>php<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">.+</span><span style="color: #009900;">&#41;</span>?$ php<span style="color: #339933;">/</span>$<span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#91;</span>NC<span style="color: #339933;">,</span>L<span style="color: #009900;">&#93;</span>
RewriteRule ^pictures<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span>?$ pictures<span style="color: #339933;">.</span>Php?year<span style="color: #339933;">=</span>$<span style="color: #cc66cc;">1</span> <span style="color: #009900;">&#91;</span>NC<span style="color: #339933;">,</span>L<span style="color: #009900;">&#93;</span></pre></div></div>

<h4>Redirect index.php to index</h4>
<p>Okay, you have to do this with all the pages separately. In the following case I have done these with two pages. Index.php and about.php. I don&#8217;t know yet what is the solution for doing it in single line for every page.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule index index<span style="color: #339933;">.</span>php
RewriteRule about about<span style="color: #339933;">.</span>php</pre></div></div>

<p>so on&#8230;</p>
<p>Important: You have implemented this code in .htaccess file. Now your like for <strong>yoursite.com/about.php</strong> will be <strong>yoursite.com/about</strong>. You will have to link the text with this modified call (with no .php) and .htaccess will do the magic where you have defined the rule to change about.php to about. That&#8217;s it.</p>
<h4>Change .php URLs in .html</h4>
<p>Now this one I know. Single line of code will do the magic. You have all the pages of site in php, but after writing this single line code in .htaccess, they will be changed into .html. I mean the URLs will be changed to .html. Link your pages with .html extension and write this code in .htaccess file and you are done.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #339933;">.*</span><span style="color: #009900;">&#41;</span>\<span style="color: #339933;">.</span>html$ $1<span style="color: #339933;">.</span>php <span style="color: #009900;">&#91;</span>NC<span style="color: #009900;">&#93;</span></pre></div></div>

<p>For htm do this.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #339933;">.*</span><span style="color: #009900;">&#41;</span>\<span style="color: #339933;">.</span>htm$ $1<span style="color: #339933;">.</span>php <span style="color: #009900;">&#91;</span>NC<span style="color: #009900;">&#93;</span></pre></div></div>

<h4>Rewriting yoursite.com/user.php?username=xyz to yoursite.com/xyz</h4>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>a<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z0<span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span>_<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span>$ user<span style="color: #339933;">.</span>php?username<span style="color: #339933;">=</span>$<span style="color: #cc66cc;">1</span>
RewriteRule ^<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>a<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z0<span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span>_<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span>$ user<span style="color: #339933;">.</span>php?username<span style="color: #339933;">=</span>$<span style="color: #cc66cc;">1</span></pre></div></div>

<h4>Rewriting product.php?id=12 to product/ipod-nano/12.html</h4>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule ^product<span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span>a<span style="color: #339933;">-</span>zA<span style="color: #339933;">-</span>Z0<span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span>_<span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span>\<span style="color: #339933;">.</span>html$ product<span style="color: #339933;">.</span>php?id<span style="color: #339933;">=</span>$<span style="color: #cc66cc;">2</span></pre></div></div>

<p>And change product.php?id=5 to porduct-5.html so that http://localhost/product-5.html calls product.php?id=5 automatically</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">RewriteRule ^product<span style="color: #339933;">-</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span>\<span style="color: #339933;">.</span>html$ products<span style="color: #339933;">.</span>php?id<span style="color: #339933;">=</span>$<span style="color: #cc66cc;">1</span></pre></div></div>

<p>Done&#8230;</p>
<p>Please help me learn and do more with this htaccess stuff. If you know more about this, want to correct / improve these codes or offer more advanced codes to do the same what I have mentioned above, share with me in comments.</p>
<p><a href="http://www.phpmagicbook.com/htaccess-mod-rewrite-practical-essential-important-solutions-update/">Htaccess Mod Rewrite Practical Essential Important Solutions &#8211; Update</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.phpmagicbook.com/change-blog-forum-theme-color-scheme-online-live-tool/" title="Change Your Blog or Forum Theme Color Scheme Online Live">Change Your Blog or Forum Theme Color Scheme Online Live</a></li><li><a href="http://www.phpmagicbook.com/getting-ip-address-in-php/" title="Getting IP Address In PHP">Getting IP Address In PHP</a></li><li><a href="http://www.phpmagicbook.com/php-email-headers-and-multiple-recipients-html-php-email/" title="PHP eMail &#8211; Headers And Multiple Recipients &#8211; HTML PHP Email">PHP eMail &#8211; Headers And Multiple Recipients &#8211; HTML PHP Email</a></li><li><a href="http://www.phpmagicbook.com/simple-php-script/" title="Simple PHP Script &#8211; Lets Start PHP &#8211; Echo Hello PHP">Simple PHP Script &#8211; Lets Start PHP &#8211; Echo Hello PHP</a></li><li><a href="http://www.phpmagicbook.com/php-file-delete-unlink-function/" title="PHP &#8211; File Delete &#8211; Unlink Function">PHP &#8211; File Delete &#8211; Unlink Function</a></li><li><a href="http://www.phpmagicbook.com/display-total-number-of-posts-on-your-wordpress-blog/" title="Display Total Number of Posts on Your WordPress Blog">Display Total Number of Posts on Your WordPress Blog</a></li><li><a href="http://www.phpmagicbook.com/php-is-not-secure/" title="PHP is Not Secure">PHP is Not Secure</a></li><li><a href="http://www.phpmagicbook.com/country-select-and-time-zone-select/" title="Country Select and Time Zone Select">Country Select and Time Zone Select</a></li><li><a href="http://www.phpmagicbook.com/change-default-wordpress-gravatar-in-comments/" title="Change Default WordPress Gravatar in Comments">Change Default WordPress Gravatar in Comments</a></li><li><a href="http://www.phpmagicbook.com/quiz-switch-if-else/" title="Quiz &#8211; Switch &#8211; If Else in PHP">Quiz &#8211; Switch &#8211; If Else in PHP</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.phpmagicbook.com/htaccess-mod-rewrite-practical-essential-important-solutions-update/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Allow htaccess and Mod Rewrite in Wamp</title>
		<link>http://www.phpmagicbook.com/allow-htaccess-and-mod-rewrite-in-wamp/</link>
		<comments>http://www.phpmagicbook.com/allow-htaccess-and-mod-rewrite-in-wamp/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 09:19:26 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Mod Rewrite]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[modrewrite]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[wamp]]></category>

		<guid isPermaLink="false">http://www.phpmagicbook.com/?p=498</guid>
		<description><![CDATA[You must enable mod_rewrite before you can use it. If you want to enable it in httpd.conf, then use Options FollowSymLinks Fileinfo or Options SymLinksIfOwnerMatch Fileinfo If you wish to enable mod_rewrite at the .htaccess level (i.e. only in certain (sub)directories within each vHost and not for all (sub)directories of each vHost), then you must [...]<p><a href="http://www.phpmagicbook.com/allow-htaccess-and-mod-rewrite-in-wamp/">Allow htaccess and Mod Rewrite in Wamp</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
]]></description>
			<content:encoded><![CDATA[<p>You must enable mod_rewrite before you can use it. If you want to enable it in httpd.conf, then use </p>
<p>Options FollowSymLinks Fileinfo<br />
or<br />
Options SymLinksIfOwnerMatch Fileinfo</p>
<p>If you wish to enable mod_rewrite at the .htaccess level (i.e. only in certain (sub)directories within each vHost and not for all (sub)directories of each vHost), then you must set allowOverride Options (at a minimum) in httpd.conf, and place one of </p>
<p>Options +FollowSymLinks<br />
or<br />
Options +SymLinksIfOwnerMatch </p>
<p>in the .htaccess file(s) to enable mod_rewrite.</p>
<p><span id="more-498"></span></p>
<p>In the latter case, it is usual to set Options Fileinfo (and any others) in httpd.conf, and then set Options +FollowSymLinks in .htaccess along with +/-indexes, +/-MultiViews, etc. as desired. Take a look at the +/- add/subtract option syntax versus fixed Option declarations &#8212; You&#8217;ll likely want to establish fixed baseline Options in httpd.conf, and then use the add/subtract syntax at the .htaccess level. For security, don&#8217;t enable any Option unless you&#8217;re sure you need it.</p>
<p>If you did not get any clue what the crap was just above, just ignore it and do the following.</p>
<p>Go to <strong>Wamp</strong> -> Left click at icon in the taskbar -> Click <strong>Config files</strong> -> <strong>httpd.conf</strong><br />
A file will be opened.<br />
Search rewrite in it.<br />
You will get:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">#LoadModule rewrite_module modules/mod_rewrite.so</pre></div></div>

<p>Remove hash from the beginning (Uncomment it) e.g.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">LoadModule rewrite_module modules/mod_rewrite.so</pre></div></div>

<p>Save the file. Mod Rewriting is enabled.</p>
<p>Open Notepad or Textpad or Dtreamweaver.<br />
Create new file.<br />
Save it as <strong>.htaccess</strong> in the required directory or root directory of website.<br />
Copy and paste the following in it.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">Options +FollowSymLinks
RewriteEngine On</pre></div></div>

<p>And you are done. Use this .htacces file now to code onward and it will work.<br />
The above, when you uncommented the rewrite thing, you enabled mod-rewrite in wamp.</p>
<p>This case is important when there is involvement of redirecting and the use of .htaccess file at localhost. e.g. When you use WordPress at localhost for development purpose, then this method to allow .htaccess file and mod-rewrite for wamp is good. Its GoOoOOoOooD!</p>
<p><a href="http://www.phpmagicbook.com/allow-htaccess-and-mod-rewrite-in-wamp/">Allow htaccess and Mod Rewrite in Wamp</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.phpmagicbook.com/protect-hotlink-the-right-way-using-htaccess/" title="Protect Hotlink the Right Way Using htaccess">Protect Hotlink the Right Way Using htaccess</a></li><li><a href="http://www.phpmagicbook.com/customizing-wordpress-tags-cloud-a-guide/" title="Customizing WordPress Tags Cloud &#8211; A Guide">Customizing WordPress Tags Cloud &#8211; A Guide</a></li><li><a href="http://www.phpmagicbook.com/htaccess-essential-tricks-for-blog-website-performance-a-guide/" title=".htaccess Essential Tricks For Blog/Website Performance &#8211; Guide">.htaccess Essential Tricks For Blog/Website Performance &#8211; Guide</a></li><li><a href="http://www.phpmagicbook.com/redirect-wordpress-rss-feeds-to-feedburner/" title="Redirect WordPress RSS Feeds to Feedburner">Redirect WordPress RSS Feeds to Feedburner</a></li><li><a href="http://www.phpmagicbook.com/force-file-download-do-not-display-open-in-browser/" title="Force File download Using PHP &#8211; Do Not Display Open In Browser onclick">Force File download Using PHP &#8211; Do Not Display Open In Browser onclick</a></li><li><a href="http://www.phpmagicbook.com/dothtaccess-hacks/" title="Essential DotHtaccess Hacks">Essential DotHtaccess Hacks</a></li><li><a href="http://www.phpmagicbook.com/php-local-servers-download/" title="PHP &#8211; Local Servers Download">PHP &#8211; Local Servers Download</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.phpmagicbook.com/allow-htaccess-and-mod-rewrite-in-wamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect WordPress RSS Feeds to Feedburner</title>
		<link>http://www.phpmagicbook.com/redirect-wordpress-rss-feeds-to-feedburner/</link>
		<comments>http://www.phpmagicbook.com/redirect-wordpress-rss-feeds-to-feedburner/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 23:31:09 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Mod Rewrite]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[customize]]></category>

		<guid isPermaLink="false">http://www.phpmagicbook.com/?p=315</guid>
		<description><![CDATA[Feedburner is a very useful service for adding a visual user and search engine friendly rss with your blog. Every successful blogger uses Feedburner service. Feedburner also provide a way to know your subscribers and emails your subscribers when ever an update is available at your blog without causing any load at your own server. [...]<p><a href="http://www.phpmagicbook.com/redirect-wordpress-rss-feeds-to-feedburner/">Redirect WordPress RSS Feeds to Feedburner</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Feedburner is a very useful service for adding a visual user and search engine friendly rss with your blog. Every successful blogger uses Feedburner service. Feedburner also provide a way to know your subscribers and emails your subscribers when ever an update is available at your blog without causing any load at your own server. This service is free.</p>
<p>Using .htaccess, we can redirect WordPress RSS Feeds to feedburner. Each time someone will click on a link to http://www.yourblog.com/feed, he’ll be redirected to http://feeds.feedburner.com/yourblog.</p>
<p>Simply edit your .htaccess file which will be located in root directory of your blog by following method and paste the following code in that.</p>
<p><span id="more-315"></span></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;"># temp redirect wordpress feeds to feedburner
&lt;IfModule mod_rewrite.c&gt;
 RewriteEngine on
 RewriteCond %{HTTP_USER_AGENT} !FeedBurner    [NC]
 RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]
 RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/yourblog [R=302,NC,L]
&lt;/IfModule&gt;</pre></div></div>

<p><strong>http://feeds.feedburner.com/yourblog</strong> is the address of your feedburner feeds for your blog. Change it accordingly.</p>
<p>After saving your .htaccess file, all your rss link will be redirected to your feedburner feeds.</p>
<p><a href="http://www.phpmagicbook.com/redirect-wordpress-rss-feeds-to-feedburner/">Redirect WordPress RSS Feeds to Feedburner</a> is a post from: <a href="http://www.phpmagicbook.com">PHP Magic Book - Free PHP Scripts, Tutorials and Downloads</a></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://www.phpmagicbook.com/change-blog-forum-theme-color-scheme-online-live-tool/" title="Change Your Blog or Forum Theme Color Scheme Online Live">Change Your Blog or Forum Theme Color Scheme Online Live</a></li><li><a href="http://www.phpmagicbook.com/customizing-wordpress-tags-cloud-a-guide/" title="Customizing WordPress Tags Cloud &#8211; A Guide">Customizing WordPress Tags Cloud &#8211; A Guide</a></li><li><a href="http://www.phpmagicbook.com/how-to-include-specific-file-in-wordpress-blog-template/" title="How to Include Specific File In WordPress Blog Template">How to Include Specific File In WordPress Blog Template</a></li><li><a href="http://www.phpmagicbook.com/how-to-display-some-content-at-homepage-single-post-of-blog/" title="How To Display Some Content at Just Home Page and Single Post of Blog">How To Display Some Content at Just Home Page and Single Post of Blog</a></li><li><a href="http://www.phpmagicbook.com/display-rss-feed-from-any-blog-on-your-wordpress-blog/" title="Display RSS Feed From Any Blog on Your WordPress Blog">Display RSS Feed From Any Blog on Your WordPress Blog</a></li><li><a href="http://www.phpmagicbook.com/provide-rss-feed-for-each-post-and-comment-at-your-wordpress-blog/" title="Provide RSS Feed for Each Post and Comment at Your WordPress Blog">Provide RSS Feed for Each Post and Comment at Your WordPress Blog</a></li><li><a href="http://www.phpmagicbook.com/remove-ads-for-registered-users-or-admin-on-wordpress-blog/" title="Remove Ads for Registered Users or Admin on WordPress Blog">Remove Ads for Registered Users or Admin on WordPress Blog</a></li><li><a href="http://www.phpmagicbook.com/remove-comments-section-from-your-wordpress-blog/" title="Remove Comments Section From Your WordPress Blog">Remove Comments Section From Your WordPress Blog</a></li><li><a href="http://www.phpmagicbook.com/insert-adsense-after-the-first-post-in-your-wordpress-blog/" title="Insert Adsense After the First Post in Your WordPress Blog">Insert Adsense After the First Post in Your WordPress Blog</a></li><li><a href="http://www.phpmagicbook.com/redirect-ugly-permalink-to-postname/" title="Redirect Ugly Permalink to Postname">Redirect Ugly Permalink to Postname</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.phpmagicbook.com/redirect-wordpress-rss-feeds-to-feedburner/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 2.338 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-07-30 16:32:38 -->
