<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: .htaccess mod_rewrite rewrite examples</title>
	<atom:link href="http://www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Thu, 16 May 2013 00:37:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: e-sushiâ„¢</title>
		<link>http://www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html#comment-1887</link>
		<dc:creator>e-sushiâ„¢</dc:creator>
		<pubDate>Fri, 12 Nov 2010 09:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1003#comment-1887</guid>
		<description><![CDATA[Limiting to certain request would be faster and safer when you use it like this:


&lt;pre&gt;Deny from All&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Limiting to certain request would be faster and safer when you use it like this:</p>
<pre>Deny from All</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: vickie</title>
		<link>http://www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html#comment-1886</link>
		<dc:creator>vickie</dc:creator>
		<pubDate>Tue, 29 Jun 2010 18:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1003#comment-1886</guid>
		<description><![CDATA[Hi
I have a problem with &quot;too many redirects&quot; and no clue how to fix it but would like to try the loop stopping code (unless anyone has any other suggestions) but not sure where in the .htaccess file to put it (my first website, so a novice).  I upgraded to Wordpress 3.0 a week ago and not sure if this was the start of the problems.

My current .htaccess file looks like this and if I delete it I don&#039;t get the redirect error but all the links on the site are broken (so have put it back).  Any help or suggestions much appreciated


&lt;pre&gt;# BEGIN WordPress
&#160;
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&#160;
# END WordPress
AddType x-mapp-php5 .php&#039;&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
I have a problem with "too many redirects" and no clue how to fix it but would like to try the loop stopping code (unless anyone has any other suggestions) but not sure where in the .htaccess file to put it (my first website, so a novice).  I upgraded to Wordpress 3.0 a week ago and not sure if this was the start of the problems.</p>
<p>My current .htaccess file looks like this and if I delete it I don't get the redirect error but all the links on the site are broken (so have put it back).  Any help or suggestions much appreciated</p>
<pre># BEGIN WordPress
&nbsp;
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&nbsp;
# END WordPress
AddType x-mapp-php5 .php'</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay-ar Bauson</title>
		<link>http://www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html#comment-1885</link>
		<dc:creator>Jay-ar Bauson</dc:creator>
		<pubDate>Wed, 30 Sep 2009 06:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1003#comment-1885</guid>
		<description><![CDATA[I was thinking of the &#039;&lt;em&gt;Cache-Friendly File&lt;/em&gt;&#039; Names part, how do you actually apply it? What should be my directory structure?

Let&#039;s say in a directory I have my &#039;&lt;code&gt;index.php&lt;/code&gt;&#039;, &#039;css&#039; folder and a &#039;&lt;code&gt;style.css&lt;/code&gt;&#039; in it, how should I apply the tweak?


&lt;code&gt;index.php&lt;/code&gt; --
&lt;pre&gt;&lt;?php
function dump($str){
  echo &quot;&quot;;
  print_r($str);
  echo &quot;&quot;;
}
dump($_GET);
?&gt;&lt;/pre&gt;

on its &lt;code&gt;.htaccess&lt;/code&gt; I will put
&lt;pre&gt;RewriteEngine on
RewriteRule ^css/(j&#124;c)/([a-z]+)-([0-9]+).(js&#124;css)$ /css/$1/$2.$4 [L]&lt;/pre&gt;


I should update this line right? But how? :D]]></description>
		<content:encoded><![CDATA[<p>I was thinking of the '<em>Cache-Friendly File</em>' Names part, how do you actually apply it? What should be my directory structure?</p>
<p>Let's say in a directory I have my '<code>index.php</code>', 'css' folder and a '<code>style.css</code>' in it, how should I apply the tweak?</p>
<p><code>index.php</code> --</p>
<pre>&lt;?php
function dump($str){
  echo &amp;quot;";
  print_r($str);
  echo "";
}
dump($_GET);
?&gt;</pre>
<p>on its <code>.htaccess</code> I will put</p>
<pre>RewriteEngine on
RewriteRule ^css/(j|c)/([a-z]+)-([0-9]+).(js|css)$ /css/$1/$2.$4 [L]</pre>
<p>I should update this line right? But how? :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bork</title>
		<link>http://www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html#comment-1884</link>
		<dc:creator>bork</dc:creator>
		<pubDate>Sun, 26 Apr 2009 14:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1003#comment-1884</guid>
		<description><![CDATA[Hi,

I have the same problem as Jimmy: Want to remove a query string but your code does not work.... Thx for help.]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have the same problem as Jimmy: Want to remove a query string but your code does not work.... Thx for help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://www.askapache.com/htaccess/htaccess-mod_rewrite-rewrite-examples.html#comment-1882</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Sat, 14 Mar 2009 13:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/?p=1003#comment-1882</guid>
		<description><![CDATA[&lt;strong&gt;Removing the Query_String&lt;/strong&gt;
Can you please give me an example of how i can test this thing. when i add this and go to example.com?test=123 it doesn&#039;t do any thing so i do not know what it&#039;s support to do; what i would like is to do is eliminate ?query from search engines

email fake by the way -.-]]></description>
		<content:encoded><![CDATA[<p><strong>Removing the Query_String</strong><br />
Can you please give me an example of how i can test this thing. when i add this and go to example.com?test=123 it doesn't do any thing so i do not know what it's support to do; what i would like is to do is eliminate ?query from search engines</p>
<p>email fake by the way -.-</p>
]]></content:encoded>
	</item>
</channel>
</rss>
