<?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 for AskApache searching on robotstxt</title>
	<atom:link href="http://www.askapache.com/search/robotstxt/feed/?withcomments=1" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com</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>Comment on Updated robots.txt for WordPress by AskApache</title>
		<link>http://www.askapache.com/seo/updated-robotstxt-wordpress.html#comment-14723</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Sun, 05 May 2013 01:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/seo/updated-robotstxt-for-wordpress.html#comment-14723</guid>
		<description><![CDATA[Updated.. thanks for the heads-up.  There are better robots.txt articles on the site, just do a search.]]></description>
		<content:encoded><![CDATA[<p>Updated.. thanks for the heads-up.  There are better robots.txt articles on the site, just do a search.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updated robots.txt for WordPress by Seriously Spain</title>
		<link>http://www.askapache.com/seo/updated-robotstxt-wordpress.html#comment-14722</link>
		<dc:creator>Seriously Spain</dc:creator>
		<pubDate>Fri, 03 May 2013 05:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/seo/updated-robotstxt-for-wordpress.html#comment-14722</guid>
		<description><![CDATA[I wouldn&#039;t recommend using this. I tried and it deactivated my website. Deleted it immediately. No problem. The file hasn&#039;t been updated in forever so, no, it&#039;s unfortunately not useful any longer.]]></description>
		<content:encoded><![CDATA[<p>I wouldn't recommend using this. I tried and it deactivated my website. Deleted it immediately. No problem. The file hasn't been updated in forever so, no, it's unfortunately not useful any longer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirect index.php to root by Nameg1smd</title>
		<link>http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-940</link>
		<dc:creator>Nameg1smd</dc:creator>
		<pubDate>Wed, 21 Nov 2012 22:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-940</guid>
		<description><![CDATA[&lt;p&gt;First example in the article is for use in htaccess file in site root.&lt;/p&gt;
&lt;p&gt;Second example in the article is for use in htaccess file in /blog/ folder.&lt;/p&gt;
&lt;p&gt;Please make that more clear.&lt;/p&gt;
&lt;p&gt;There&#039;s a third bit of code you should include - for when the index.php file is in the /blog/ folder and the redirect code is placed in the htaccess file in the site root.&lt;/p&gt;
&lt;p&gt;Those are the three possible site configurations.&lt;/p&gt;
&lt;p&gt;Code seen in the comments...&lt;/p&gt;

&lt;pre&gt;RewriteCond %{REQUEST_URI} /(index)&#124;(home)(..{3,4})?$ [NC]
RewriteRule ^([^/]+/)+ http://www.askapache.com/$1? [R=301,L]&lt;/pre&gt;


&lt;p&gt;There are multiple problems with the above code. Do not use it. Condition runs for every request, you should also include the index&#124;home test in the Rule pattern for better efficiency. In the condition, repeat the same pattern with opening anchor and matching for folder levels. No extension or closing anchor specified for index, only for home. Unnecessary brackets, or brackets in wrong place.&lt;/p&gt;
&lt;pre&gt;RewriteRule ^(.*)$ $1.php [L]&lt;/pre&gt;

&lt;p&gt;Add a slash before the &lt;code&gt;$1&lt;/code&gt; otherwise you leave your server open to path injection hacks.&lt;/p&gt;

&lt;pre&gt;RewriteCond %{HTTP_HOST} www.example.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,NC]&lt;/pre&gt;

&lt;p&gt;The above code fails to redirect many non-canonical URLs, such as www request that include port number, etc. Try:&lt;/p&gt;
&lt;pre&gt;RewriteCond  %{HTTP_HOST}  !^(www.example.com)?$
RewriteRule  (.*)  http://www.example.com/$1 [R=301,L]&lt;/pre&gt;
]]></description>
		<content:encoded><![CDATA[<p>First example in the article is for use in htaccess file in site root.</p>
<p>Second example in the article is for use in htaccess file in /blog/ folder.</p>
<p>Please make that more clear.</p>
<p>There's a third bit of code you should include - for when the index.php file is in the /blog/ folder and the redirect code is placed in the htaccess file in the site root.</p>
<p>Those are the three possible site configurations.</p>
<p>Code seen in the comments...</p>
<pre>RewriteCond %{REQUEST_URI} /(index)|(home)(..{3,4})?$ [NC]
RewriteRule ^([^/]+/)+ http://www.askapache.com/$1? [R=301,L]</pre>
<p>There are multiple problems with the above code. Do not use it. Condition runs for every request, you should also include the index|home test in the Rule pattern for better efficiency. In the condition, repeat the same pattern with opening anchor and matching for folder levels. No extension or closing anchor specified for index, only for home. Unnecessary brackets, or brackets in wrong place.</p>
<pre>RewriteRule ^(.*)$ $1.php [L]</pre>
<p>Add a slash before the <code>$1</code> otherwise you leave your server open to path injection hacks.</p>
<pre>RewriteCond %{HTTP_HOST} www.example.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,NC]</pre>
<p>The above code fails to redirect many non-canonical URLs, such as www request that include port number, etc. Try:</p>
<pre>RewriteCond  %{HTTP_HOST}  !^(www.example.com)?$
RewriteRule  (.*)  http://www.example.com/$1 [R=301,L]</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirect index.php to root by Badruddin</title>
		<link>http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-932</link>
		<dc:creator>Badruddin</dc:creator>
		<pubDate>Tue, 07 Aug 2012 03:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-932</guid>
		<description><![CDATA[Thanks you so much, you doing wonderfull sharing and support.]]></description>
		<content:encoded><![CDATA[<p>Thanks you so much, you doing wonderfull sharing and support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirect index.php to root by Davide Masserini</title>
		<link>http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-929</link>
		<dc:creator>Davide Masserini</dc:creator>
		<pubDate>Tue, 31 Jul 2012 07:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-929</guid>
		<description><![CDATA[Great! It worked perfectly! Thanks so much!]]></description>
		<content:encoded><![CDATA[<p>Great! It worked perfectly! Thanks so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Redirect index.php to root by Arthur Klein</title>
		<link>http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-924</link>
		<dc:creator>Arthur Klein</dc:creator>
		<pubDate>Tue, 26 Jun 2012 19:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/htaccess/redirect-index-blog-root.html#comment-924</guid>
		<description><![CDATA[in this rule:

&lt;pre&gt;RewriteRule ^index.php$ - [L]&lt;/pre&gt;


What exactly do the following control?

&lt;pre&gt;&quot; ^&quot;      =
&quot;&quot;       =
&quot;$ -&quot;    =
&quot;[L]&quot;    =&lt;/pre&gt;


Thank you for your help
Arthur

&lt;pre&gt;
RewriteRule ^index.php$ - [L]&lt;/pre&gt;
]]></description>
		<content:encoded><![CDATA[<p>in this rule:</p>
<pre>RewriteRule ^index.php$ - [L]</pre>
<p>What exactly do the following control?</p>
<pre>" ^"      =
""       =
"$ -"    =
"[L]"    =</pre>
<p>Thank you for your help<br />
Arthur</p>
<pre>RewriteRule ^index.php$ - [L]</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SEO with Robots.txt by Name Rich</title>
		<link>http://www.askapache.com/seo/seo-with-robotstxt.html#comment-1388</link>
		<dc:creator>Name Rich</dc:creator>
		<pubDate>Fri, 08 Jun 2012 17:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/seo/seo-with-robotstxt.html#comment-1388</guid>
		<description><![CDATA[Is there any benefit to only having this in my header


Someone suggested that I am blocking the site from the Google bot and my site will not show up in search engines?

Thanks,]]></description>
		<content:encoded><![CDATA[<p>Is there any benefit to only having this in my header</p>
<p>Someone suggested that I am blocking the site from the Google bot and my site will not show up in search engines?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Allow AdSense Crawler Access by Navin Kunwar</title>
		<link>http://www.askapache.com/google/adsense-robots.html#comment-892</link>
		<dc:creator>Navin Kunwar</dc:creator>
		<pubDate>Mon, 16 Apr 2012 18:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/google/adsense-robots.html#comment-892</guid>
		<description><![CDATA[Its asking for user name and passord. should i create separate account for that ?]]></description>
		<content:encoded><![CDATA[<p>Its asking for user name and passord. should i create separate account for that ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Updated robots.txt for WordPress by Sarah</title>
		<link>http://www.askapache.com/seo/updated-robotstxt-wordpress.html#comment-1742</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Sat, 24 Mar 2012 02:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/seo/updated-robotstxt-for-wordpress.html#comment-1742</guid>
		<description><![CDATA[please updates this information since google updated in new algorithm]]></description>
		<content:encoded><![CDATA[<p>please updates this information since google updated in new algorithm</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress robots.txt SEO by AskApache</title>
		<link>http://www.askapache.com/seo/wordpress-robotstxt-seo.html#comment-827</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Tue, 28 Feb 2012 13:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com.com/seo/wordpress-robotstxt-optimized-for-seo.html#comment-827</guid>
		<description><![CDATA[&lt;strong&gt;@Chinekop ~&lt;/strong&gt;

It&#039;s just a difference where one has a more inclusive regex.  The reason is that while Google&#039;s robot may correctly interpret either, some robots from other search engines may need the other.  Always go with Google!]]></description>
		<content:encoded><![CDATA[<p><strong>@Chinekop ~</strong></p>
<p>It's just a difference where one has a more inclusive regex.  The reason is that while Google's robot may correctly interpret either, some robots from other search engines may need the other.  Always go with Google!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
