<?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: Stop WordPress Overwriting Custom .htaccess Rules</title> <atom:link href="http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/feed/" rel="self" type="application/rss+xml" /><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/</link> <description>Search Engine Optimisation Ireland</description> <lastBuildDate>Tue, 06 Dec 2011 20:35:07 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.3</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com" /> <atom:link rel="hub" href="http://superfeedr.com/hubbub" /> <item><title>By: John</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-34158</link> <dc:creator>John</dc:creator> <pubDate>Thu, 31 Mar 2011 11:34:31 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-34158</guid> <description>mmm, looks like all the opening &amp; closing ifmodule tags have been removed from my previous post - not sure why that happened - anyway, i hope you get what i meant by all that.</description> <content:encoded><![CDATA[<p>mmm, looks like all the opening &amp; closing ifmodule tags have been removed from my previous post &#8211; not sure why that happened &#8211; anyway, i hope you get what i meant by all that.</p> ]]></content:encoded> </item> <item><title>By: John</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-34157</link> <dc:creator>John</dc:creator> <pubDate>Thu, 31 Mar 2011 11:32:03 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-34157</guid> <description>Hi Richard - i have a problem with W3 Total Cache plugin - whenever i try to update Core Wordpress version on my sites these rules always get overwritten - i&#039;ve tried enclosing the W3 Total Cache rules in  these tags:RewriteEngine On
[... ]Funky custom rules go here[ ...]However, whenever i go back into my wp-admin area to the w3 total cache settings im asked to reapply my cache settings and that reverts my htaccess file back the way it was - the only difference being that I have empty code at the top of the file - here&#039;s what the file looks like now:RewriteEngine On# BEGIN W3TC Browser CacheAddType text/html .html .htm
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xmlExpiresActive On
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
Header append Vary User-Agent env=!dont-vary
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-iconFileETag None
Header set X-Powered-By &quot;W3 Total Cache/0.9.1.3&quot;FileETag None
Header set X-Powered-By &quot;W3 Total Cache/0.9.1.3&quot;FileETag None
Header set X-Powered-By &quot;W3 Total Cache/0.9.1.3&quot;# END W3TC Browser Cache# BEGIN W3TC Page CacheRewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} (2\.0\ mmp&#124;240x320&#124;alcatel&#124;amoi&#124;asus&#124;au\-mic&#124;audiovox&#124;avantgo&#124;benq&#124;bird&#124;blackberry&#124;blazer&#124;cdm&#124;cellphone&#124;danger&#124;ddipocket&#124;docomo&#124;dopod&#124;elaine/3\.0&#124;ericsson&#124;eudoraweb&#124;fly&#124;haier&#124;hiptop&#124;hp\.ipaq&#124;htc&#124;huawei&#124;i\-mobile&#124;iemobile&#124;j\-phone&#124;kddi&#124;konka&#124;kwc&#124;kyocera/wx310k&#124;lenovo&#124;lg&#124;lg/u990&#124;lge\ vx&#124;midp&#124;midp\-2\.0&#124;mmef20&#124;mmp&#124;mobilephone&#124;mot\-v&#124;motorola&#124;netfront&#124;newgen&#124;newt&#124;nintendo\ ds&#124;nintendo\ wii&#124;nitro&#124;nokia&#124;novarra&#124;o2&#124;openweb&#124;opera\ mobi&#124;opera\.mobi&#124;palm&#124;panasonic&#124;pantech&#124;pdxgw&#124;pg&#124;philips&#124;phone&#124;playstation\ portable&#124;portalmmm&#124;ppc&#124;proxinet&#124;psp&#124;pt&#124;qtek&#124;sagem&#124;samsung&#124;sanyo&#124;sch&#124;sec&#124;sendo&#124;sgh&#124;sharp&#124;sharp\-tq\-gx10&#124;small&#124;smartphone&#124;softbank&#124;sonyericsson&#124;sph&#124;symbian&#124;symbian\ os&#124;symbianos&#124;toshiba&#124;treo&#124;ts21i\-10&#124;up\.browser&#124;up\.link&#124;uts&#124;vertu&#124;vodafone&#124;wap&#124;willcome&#124;windows\ ce&#124;windows\.ce&#124;winwap&#124;xda&#124;zte) [NC]
RewriteRule .* - [E=W3TC_UA:_low]
RewriteCond %{HTTP_USER_AGENT} (acer\ s100&#124;android&#124;archos5&#124;blackberry9500&#124;blackberry9530&#124;blackberry9550&#124;cupcake&#124;docomo\ ht\-03a&#124;dream&#124;htc\ hero&#124;htc\ magic&#124;htc_dream&#124;htc_magic&#124;incognito&#124;ipad&#124;iphone&#124;ipod&#124;lg\-gw620&#124;liquid\ build&#124;maemo&#124;mot\-mb200&#124;mot\-mb300&#124;nexus\ one&#124;opera\ mini&#124;samsung\-s8000&#124;series60.*webkit&#124;series60/5\.0&#124;sonyericssone10&#124;sonyericssonu20&#124;sonyericssonx10&#124;t\-mobile\ mytouch\ 3g&#124;t\-mobile\ opal&#124;tattoo&#124;webmate&#124;webos) [NC]
RewriteRule .* - [E=W3TC_UA:_high]
RewriteCond %{HTTPS} =on
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{SERVER_PORT} =443
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=W3TC_ENC:.gzip]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =&quot;&quot;
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{REQUEST_URI} !(\/wp-admin\/&#124;\/xmlrpc.php&#124;\/wp-(app&#124;cron&#124;login&#124;register&#124;mail)\.php&#124;wp-.*\.php) [NC,OR]
RewriteCond %{REQUEST_URI} (wp-comments-popup\.php&#124;wp-links-opml\.php&#124;wp-locations\.php) [NC]
RewriteCond %{HTTP_COOKIE} !(comment_author&#124;wp-postpass&#124;wordpress_\[a-f0-9\]\+&#124;wordpress_logged_in) [NC]
RewriteCond &quot;/home/w30oil/public_html/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}&quot; -f
RewriteRule (.*) &quot;/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}&quot; [L]# END W3TC Page Cache# BEGIN WordPressRewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPressAppreciate any help you can give me to figure this out :-)</description> <content:encoded><![CDATA[<p>Hi Richard &#8211; i have a problem with W3 Total Cache plugin &#8211; whenever i try to update Core WordPress version on my sites these rules always get overwritten &#8211; i&#8217;ve tried enclosing the W3 Total Cache rules in  these tags:</p><p>RewriteEngine On<br
/> [... ]Funky custom rules go here[ ...]</p><p>However, whenever i go back into my wp-admin area to the w3 total cache settings im asked to reapply my cache settings and that reverts my htaccess file back the way it was &#8211; the only difference being that I have empty code at the top of the file &#8211; here&#8217;s what the file looks like now:</p><p>RewriteEngine On</p><p># BEGIN W3TC Browser Cache</p><p> AddType text/html .html .htm<br
/> AddType text/richtext .rtf .rtx<br
/> AddType image/svg+xml .svg .svgz<br
/> AddType text/plain .txt<br
/> AddType text/xsd .xsd<br
/> AddType text/xsl .xsl<br
/> AddType text/xml .xml</p><p> ExpiresActive On<br
/> ExpiresByType text/html A3600<br
/> ExpiresByType text/richtext A3600<br
/> ExpiresByType image/svg+xml A3600<br
/> ExpiresByType text/plain A3600<br
/> ExpiresByType text/xsd A3600<br
/> ExpiresByType text/xsl A3600<br
/> ExpiresByType text/xml A3600</p><p> BrowserMatch ^Mozilla/4 gzip-only-text/html<br
/> BrowserMatch ^Mozilla/4\.0[678] no-gzip<br
/> BrowserMatch \bMSIE !no-gzip !gzip-only-text/html<br
/> BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html</p><p> Header append Vary User-Agent env=!dont-vary</p><p> AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon</p><p> FileETag None</p><p> Header set X-Powered-By &#8220;W3 Total Cache/0.9.1.3&#8243;</p><p> FileETag None</p><p> Header set X-Powered-By &#8220;W3 Total Cache/0.9.1.3&#8243;</p><p> FileETag None</p><p> Header set X-Powered-By &#8220;W3 Total Cache/0.9.1.3&#8243;</p><p># END W3TC Browser Cache</p><p># BEGIN W3TC Page Cache</p><p> RewriteEngine On<br
/> RewriteBase /<br
/> RewriteCond %{HTTP_USER_AGENT} (2\.0\ mmp|240&#215;320|alcatel|amoi|asus|au\-mic|audiovox|avantgo|benq|bird|blackberry|blazer|cdm|cellphone|danger|ddipocket|docomo|dopod|elaine/3\.0|ericsson|eudoraweb|fly|haier|hiptop|hp\.ipaq|htc|huawei|i\-mobile|iemobile|j\-phone|kddi|konka|kwc|kyocera/wx310k|lenovo|lg|lg/u990|lge\ vx|midp|midp\-2\.0|mmef20|mmp|mobilephone|mot\-v|motorola|netfront|newgen|newt|nintendo\ ds|nintendo\ wii|nitro|nokia|novarra|o2|openweb|opera\ mobi|opera\.mobi|palm|panasonic|pantech|pdxgw|pg|philips|phone|playstation\ portable|portalmmm|ppc|proxinet|psp|pt|qtek|sagem|samsung|sanyo|sch|sec|sendo|sgh|sharp|sharp\-tq\-gx10|small|smartphone|softbank|sonyericsson|sph|symbian|symbian\ os|symbianos|toshiba|treo|ts21i\-10|up\.browser|up\.link|uts|vertu|vodafone|wap|willcome|windows\ ce|windows\.ce|winwap|xda|zte) [NC]<br
/> RewriteRule .* &#8211; [E=W3TC_UA:_low]<br
/> RewriteCond %{HTTP_USER_AGENT} (acer\ s100|android|archos5|blackberry9500|blackberry9530|blackberry9550|cupcake|docomo\ ht\-03a|dream|htc\ hero|htc\ magic|htc_dream|htc_magic|incognito|ipad|iphone|ipod|lg\-gw620|liquid\ build|maemo|mot\-mb200|mot\-mb300|nexus\ one|opera\ mini|samsung\-s8000|series60.*webkit|series60/5\.0|sonyericssone10|sonyericssonu20|sonyericssonx10|t\-mobile\ mytouch\ 3g|t\-mobile\ opal|tattoo|webmate|webos) [NC]<br
/> RewriteRule .* &#8211; [E=W3TC_UA:_high]<br
/> RewriteCond %{HTTPS} =on<br
/> RewriteRule .* &#8211; [E=W3TC_SSL:_ssl]<br
/> RewriteCond %{SERVER_PORT} =443<br
/> RewriteRule .* &#8211; [E=W3TC_SSL:_ssl]<br
/> RewriteCond %{HTTP:Accept-Encoding} gzip<br
/> RewriteRule .* &#8211; [E=W3TC_ENC:.gzip]<br
/> RewriteCond %{REQUEST_METHOD} !=POST<br
/> RewriteCond %{QUERY_STRING} =&#8221;"<br
/> RewriteCond %{REQUEST_URI} \/$<br
/> RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail)\.php|wp-.*\.php) [NC,OR]<br
/> RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC]<br
/> RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC]<br
/> RewriteCond &#8220;/home/w30oil/public_html/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}&#8221; -f<br
/> RewriteRule (.*) &#8220;/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}&#8221; [L]</p><p># END W3TC Page Cache</p><p># BEGIN WordPress</p><p>RewriteEngine On<br
/> RewriteBase /<br
/> RewriteRule ^index\.php$ &#8211; [L]<br
/> RewriteCond %{REQUEST_FILENAME} !-f<br
/> RewriteCond %{REQUEST_FILENAME} !-d<br
/> RewriteRule . /index.php [L]</p><p># END WordPress</p><p>Appreciate any help you can give me to figure this out <img
src='http://d3ohi9reiehxab.cloudfront.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Lanny</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-26518</link> <dc:creator>Lanny</dc:creator> <pubDate>Fri, 10 Dec 2010 16:41:40 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-26518</guid> <description>Thanks! I appreciate your post -it&#039;s great to find a solution to a problem immediately after it happens. :)</description> <content:encoded><![CDATA[<p>Thanks! I appreciate your post -it&#8217;s great to find a solution to a problem immediately after it happens. <img
src='http://d3ohi9reiehxab.cloudfront.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Daniel</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-16207</link> <dc:creator>Daniel</dc:creator> <pubDate>Sun, 23 May 2010 14:33:36 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-16207</guid> <description>Thanks a lot Richard !! I will do it exactly like you ve said and will let you know , is there some other way to see if some of the plugins are updating my .htaccess ? search in plugin script code etc? i will disable them everytime i will see that the 505 server continues..
btw. I have made some investigations and have found that the URL from my error logs belongs to one very big forum in china dedicating a lot to the spamming and is hosted on the same hosting(bluehost)
hxxp://makemoney.vipearn.com/  have changed http to hxxp to not spam here.
It lets me think that if they share the same server they could also hack bluehost - not me.</description> <content:encoded><![CDATA[<p>Thanks a lot Richard !! I will do it exactly like you ve said and will let you know , is there some other way to see if some of the plugins are updating my .htaccess ? search in plugin script code etc? i will disable them everytime i will see that the 505 server continues..<br
/> btw. I have made some investigations and have found that the URL from my error logs belongs to one very big forum in china dedicating a lot to the spamming and is hosted on the same hosting(bluehost)<br
/> <a
href="hxxp://makemoney.vipearn.com/">hxxp://makemoney.vipearn.com/</a> have changed http to hxxp to not spam here.<br
/> It lets me think that if they share the same server they could also hack bluehost &#8211; not me.</p> ]]></content:encoded> </item> <item><title>By: Richard Hearne</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-16205</link> <dc:creator>Richard Hearne</dc:creator> <pubDate>Sun, 23 May 2010 12:52:53 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-16205</guid> <description>Hi DanielMost likely an installed plugin is adding this. Since it only seems to happen every day or 2 it&#039;s going to be hard to track down the culprit.
Best advice is to disable plugins in small batches and watch to see if the problem goes away. Once you&#039;ve tracked down a batch that removes the issue then disable each of those one by one to see which is causing the problem.
If you know of any installed plguins that update .htaccess then try to disable those first to track down culprit.Hope you fix the problem, rgds
Richard</description> <content:encoded><![CDATA[<p>Hi Daniel</p><p>Most likely an installed plugin is adding this. Since it only seems to happen every day or 2 it&#8217;s going to be hard to track down the culprit.<br
/> Best advice is to disable plugins in small batches and watch to see if the problem goes away. Once you&#8217;ve tracked down a batch that removes the issue then disable each of those one by one to see which is causing the problem.<br
/> If you know of any installed plguins that update .htaccess then try to disable those first to track down culprit.</p><p>Hope you fix the problem, rgds<br
/> Richard</p> ]]></content:encoded> </item> <item><title>By: Daniel</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-16176</link> <dc:creator>Daniel</dc:creator> <pubDate>Sat, 22 May 2010 11:53:39 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-16176</guid> <description>Hello,
I see that here almost anybody knows something about htaccess file, Can somebody help me with .htaccess file issue?
I have a wordpress website with some plugins and another subdomains installations, almost everyday or second day I got a 505 internal server error , if I remove .htaccess file it works again until next day or next 2 days.I noticed that everytime it happens .htaccess file changes from :# BEGIN WordPressRewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPressto# BEGIN WordPressRewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
sAfter the problem something adds &quot;s&quot; at the end of the .htaccess file .
I have no idea what can cause it , could you tell me where can i find the problem ? I have the last wordpress version , my Hosting company is Bluehost.com , i run on:Linux
Architecture  	x86_64
MySQL version 	5.1.46-log
Apache version  	2.2.15
Kernel version 	2.6.28-10.40.intel.E1000E.BHsmp
PHP version 	5.2.13Hope that somebody can help , I am not .htaccess expert at all
thanks Daniel </description> <content:encoded><![CDATA[<p>Hello,<br
/> I see that here almost anybody knows something about htaccess file, Can somebody help me with .htaccess file issue?<br
/> I have a wordpress website with some plugins and another subdomains installations, almost everyday or second day I got a 505 internal server error , if I remove .htaccess file it works again until next day or next 2 days.</p><p>I noticed that everytime it happens .htaccess file changes from :</p><p># BEGIN WordPress</p><p>RewriteEngine On<br
/> RewriteBase /<br
/> RewriteCond %{REQUEST_FILENAME} !-f<br
/> RewriteCond %{REQUEST_FILENAME} !-d<br
/> RewriteRule . /index.php [L]</p><p># END WordPress</p><p>to</p><p># BEGIN WordPress</p><p>RewriteEngine On<br
/> RewriteBase /<br
/> RewriteCond %{REQUEST_FILENAME} !-f<br
/> RewriteCond %{REQUEST_FILENAME} !-d<br
/> RewriteRule . /index.php [L]</p><p># END WordPress<br
/> s</p><p>After the problem something adds &#8220;s&#8221; at the end of the .htaccess file .<br
/> I have no idea what can cause it , could you tell me where can i find the problem ? I have the last wordpress version , my Hosting company is Bluehost.com , i run on:</p><p>Linux<br
/> Architecture  	x86_64<br
/> MySQL version 	5.1.46-log<br
/> Apache version  	2.2.15<br
/> Kernel version 	2.6.28-10.40.intel.E1000E.BHsmp<br
/> PHP version 	5.2.13</p><p>Hope that somebody can help , I am not .htaccess expert at all<br
/> thanks Daniel</p> ]]></content:encoded> </item> <item><title>By: Travis</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-14111</link> <dc:creator>Travis</dc:creator> <pubDate>Wed, 07 Apr 2010 00:29:26 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-14111</guid> <description>Great tip.  You are correct, a simple comment in the default .htaccess file would have been useful.  Thanks!</description> <content:encoded><![CDATA[<p>Great tip.  You are correct, a simple comment in the default .htaccess file would have been useful.  Thanks!</p> ]]></content:encoded> </item> <item><title>By: Nick</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-9546</link> <dc:creator>Nick</dc:creator> <pubDate>Fri, 18 Dec 2009 16:05:05 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-9546</guid> <description>Hey, good tip.  I was having the same problem.  I just added my custom rules to the bottom.  Everything has been fine since.</description> <content:encoded><![CDATA[<p>Hey, good tip.  I was having the same problem.  I just added my custom rules to the bottom.  Everything has been fine since.</p> ]]></content:encoded> </item> <item><title>By: David Robertson</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-9008</link> <dc:creator>David Robertson</dc:creator> <pubDate>Fri, 04 Dec 2009 22:15:41 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-9008</guid> <description>Excellent.  Thank you so much.  And there was me thinking a plugin was at fault!</description> <content:encoded><![CDATA[<p>Excellent.  Thank you so much.  And there was me thinking a plugin was at fault!</p> ]]></content:encoded> </item> <item><title>By: Kevin</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1733</link> <dc:creator>Kevin</dc:creator> <pubDate>Mon, 22 Jun 2009 15:33:47 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1733</guid> <description>Wow, thank you. This has been making me CRAZY!!!</description> <content:encoded><![CDATA[<p>Wow, thank you. This has been making me CRAZY!!!</p> ]]></content:encoded> </item> <item><title>By: gee</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1734</link> <dc:creator>gee</dc:creator> <pubDate>Mon, 25 May 2009 18:46:23 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1734</guid> <description>Brilliant! Solved all my headaches! THANKS!</description> <content:encoded><![CDATA[<p>Brilliant! Solved all my headaches! THANKS!</p> ]]></content:encoded> </item> <item><title>By: Phil Buckley</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1732</link> <dc:creator>Phil Buckley</dc:creator> <pubDate>Fri, 30 Jan 2009 00:43:33 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1732</guid> <description>Ahhhh, thank you for saving me the trouble of trudging through the code.</description> <content:encoded><![CDATA[<p>Ahhhh, thank you for saving me the trouble of trudging through the code.</p> ]]></content:encoded> </item> <item><title>By: WordPress: Prevent WP from Overwriting Custom htaccess Rules &#124; WhyPad</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1726</link> <dc:creator>WordPress: Prevent WP from Overwriting Custom htaccess Rules &#124; WhyPad</dc:creator> <pubDate>Fri, 12 Sep 2008 03:24:06 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1726</guid> <description>[...] Thanks to Richard at Red Cardinal for pointing out the very simple fix to this problem here. [...]</description> <content:encoded><![CDATA[<p>[...] Thanks to Richard at Red Cardinal for pointing out the very simple fix to this problem here. [...]</p> ]]></content:encoded> </item> <item><title>By: pkmk</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1729</link> <dc:creator>pkmk</dc:creator> <pubDate>Wed, 23 Jul 2008 21:11:58 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1729</guid> <description>thanks, it was getting silly this overwriting of my custom .htaccess ;]</description> <content:encoded><![CDATA[<p>thanks, it was getting silly this overwriting of my custom .htaccess ;]</p> ]]></content:encoded> </item> <item><title>By: markus</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1731</link> <dc:creator>markus</dc:creator> <pubDate>Sun, 06 Jul 2008 07:16:29 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1731</guid> <description>thanks richard! fixed my problem!</description> <content:encoded><![CDATA[<p>thanks richard! fixed my problem!</p> ]]></content:encoded> </item> <item><title>By: James T</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1727</link> <dc:creator>James T</dc:creator> <pubDate>Fri, 04 Jul 2008 15:57:23 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1727</guid> <description>Thank you very much for this.It happened a few weeks ago and I assumed it was a server oddity that reset the .htaccess file.But today I found that saving any post/page caused the .htaccess to take out all my custom rules.I came here and it fixed it.  Like you, I thought it made sense to only have 1 if statement rather than 2.Many thanks.</description> <content:encoded><![CDATA[<p>Thank you very much for this.</p><p>It happened a few weeks ago and I assumed it was a server oddity that reset the .htaccess file.</p><p>But today I found that saving any post/page caused the .htaccess to take out all my custom rules.</p><p>I came here and it fixed it.  Like you, I thought it made sense to only have 1 if statement rather than 2.</p><p>Many thanks.</p> ]]></content:encoded> </item> <item><title>By: Richard Hearne</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1730</link> <dc:creator>Richard Hearne</dc:creator> <pubDate>Tue, 03 Jun 2008 20:53:43 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1730</guid> <description>@Kenrick - simple answer to that is that WP cannot write to .htaccess if you chmod it. WP can actually write some useful stuff in there, and quite a few plugins use this functionality.</description> <content:encoded><![CDATA[<p>@Kenrick &#8211; simple answer to that is that WP cannot write to .htaccess if you chmod it. WP can actually write some useful stuff in there, and quite a few plugins use this functionality.</p> ]]></content:encoded> </item> <item><title>By: kenrick</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1728</link> <dc:creator>kenrick</dc:creator> <pubDate>Mon, 02 Jun 2008 16:29:38 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1728</guid> <description>um, how about you just chmod the .htaccess file to not be writable by the server? as in read only access?</description> <content:encoded><![CDATA[<p>um, how about you just chmod the .htaccess file to not be writable by the server? as in read only access?</p> ]]></content:encoded> </item> <item><title>By: David Meade</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1725</link> <dc:creator>David Meade</dc:creator> <pubDate>Thu, 28 Feb 2008 20:33:07 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1725</guid> <description>Thanks for checking, Richard.I just last night got it to work. I&#039;m actually not 100% sure what combination of things I was messing with finally got it to work. :-)</description> <content:encoded><![CDATA[<p>Thanks for checking, Richard.</p><p>I just last night got it to work. I&#8217;m actually not 100% sure what combination of things I was messing with finally got it to work. <img
src='http://d3ohi9reiehxab.cloudfront.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Richard Hearne</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1724</link> <dc:creator>Richard Hearne</dc:creator> <pubDate>Thu, 28 Feb 2008 19:57:28 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1724</guid> <description>Hi DavidHave to say I wouldn&#039;t know where to start. You&#039;re .htaccess is a little more exotic than most.Rgds
Richard</description> <content:encoded><![CDATA[<p>Hi David</p><p>Have to say I wouldn&#8217;t know where to start. You&#8217;re .htaccess is a little more exotic than most.</p><p>Rgds<br
/> Richard</p> ]]></content:encoded> </item> <item><title>By: David Meade</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1723</link> <dc:creator>David Meade</dc:creator> <pubDate>Wed, 20 Feb 2008 16:14:14 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1723</guid> <description>Hi Richard. I found this post thanks to a google search in hopes of fixing a wordpress/.htaccess issue I&#039;m having.  I wonder if you could shed some light on why my .htaccess file is preventing wordpress pingbacks from working.After messing around with my .htaccess I actually got a pingback to work once ... once .  Something in here is breaking pingbacks.Any insight you might have would be greatly appreciated.My rewrite rules are:# Use PHP5CGI as default
AddHandler fcgid-script .php
FCGIWrapper /usr/local/cpanel/cgi-sys/fcgiwrapper .phpRewriteEngine On
RewriteBase /
RewriteRule ^feed/?$ http://feeds.feedburner.com/DavidMeade [QSA,L]
RewriteRule ^itunes/?$ http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=87086557 [QSA,L]
RewriteRule ^media/(.+)/?$ /post/post.php?mediaID=$1 [QSA,L]# BEGIN WordPressRewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress</description> <content:encoded><![CDATA[<p>Hi Richard. I found this post thanks to a google search in hopes of fixing a wordpress/.htaccess issue I&#8217;m having.  I wonder if you could shed some light on why my .htaccess file is preventing wordpress pingbacks from working.</p><p>After messing around with my .htaccess I actually got a pingback to work once &#8230; once .  Something in here is breaking pingbacks.</p><p>Any insight you might have would be greatly appreciated.</p><p>My rewrite rules are:</p><p># Use PHP5CGI as default<br
/> AddHandler fcgid-script .php<br
/> FCGIWrapper /usr/local/cpanel/cgi-sys/fcgiwrapper .php</p><p>RewriteEngine On<br
/> RewriteBase /<br
/> RewriteRule ^feed/?$ <a
href="http://feeds.feedburner.com/DavidMeade">http://feeds.feedburner.com/DavidMeade</a> [QSA,L]<br
/> RewriteRule ^itunes/?$ <a
href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=87086557">http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=87086557</a> [QSA,L]<br
/> RewriteRule ^media/(.+)/?$ /post/post.php?mediaID=$1 [QSA,L]</p><p># BEGIN WordPress</p><p>RewriteEngine On<br
/> RewriteBase /<br
/> RewriteCond %{REQUEST_FILENAME} !-f<br
/> RewriteCond %{REQUEST_FILENAME} !-d<br
/> RewriteRule . /index.php [L]</p><p># END WordPress</p> ]]></content:encoded> </item> <item><title>By: Stupendous Man &#187; Separate Feedburner feeds and categories feeds using .htaccess</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1722</link> <dc:creator>Stupendous Man &#187; Separate Feedburner feeds and categories feeds using .htaccess</dc:creator> <pubDate>Wed, 21 Nov 2007 04:20:18 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1722</guid> <description>[...] I stumbled upon this as I was doing a bit of research, and hit upon some excellent posts here and here. [Please do read those posts before going ahead as they are excellent source of information] I had [...]</description> <content:encoded><![CDATA[<p>[...] I stumbled upon this as I was doing a bit of research, and hit upon some excellent posts here and here. [Please do read those posts before going ahead as they are excellent source of information] I had [...]</p> ]]></content:encoded> </item> <item><title>By: Raymond</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1721</link> <dc:creator>Raymond</dc:creator> <pubDate>Sat, 25 Aug 2007 03:30:53 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1721</guid> <description>Hey thanks for the advice...I&#039;ve been having trouble with that too...hopefully this will fix the problem!</description> <content:encoded><![CDATA[<p>Hey thanks for the advice&#8230;I&#8217;ve been having trouble with that too&#8230;hopefully this will fix the problem!</p> ]]></content:encoded> </item> <item><title>By: Richard Hearne</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1720</link> <dc:creator>Richard Hearne</dc:creator> <pubDate>Tue, 12 Jun 2007 08:37:54 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1720</guid> <description>@John - I&#039;m happy that I&#039;m not the only one to have come acropper with this. So far it seems to be holding out well for me - only reason I&#039;ve needed to update my .htaccess file as been to ad some new referrers to ban.@ Paul - yep. Generally you wont need this.Rgds to both!</description> <content:encoded><![CDATA[<p>@John &#8211; I&#8217;m happy that I&#8217;m not the only one to have come acropper with this. So far it seems to be holding out well for me &#8211; only reason I&#8217;ve needed to update my .htaccess file as been to ad some new referrers to ban.</p><p>@ Paul &#8211; yep. Generally you wont need this.</p><p>Rgds to both!</p> ]]></content:encoded> </item> <item><title>By: paul</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1719</link> <dc:creator>paul</dc:creator> <pubDate>Tue, 12 Jun 2007 08:27:13 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1719</guid> <description>err in the brackets should be &#039;&lt;ifmodule mod_rewrite.c&gt;&#039; :(</description> <content:encoded><![CDATA[<p>err in the brackets should be &#8216;&lt;ifmodule mod_rewrite.c&gt;&#8217; <img
src='http://d3ohi9reiehxab.cloudfront.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: paul</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1718</link> <dc:creator>paul</dc:creator> <pubDate>Tue, 12 Jun 2007 08:25:51 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1718</guid> <description>hiya,
I do mine the same way, but one question the &lt;i&gt;&quot;&quot; that you have ? Is this just to stop Apache crashing incase great sysadmin forgets to reinstall mod_rewrite ?
thanks,
paul&lt;/i&gt;</description> <content:encoded><![CDATA[<p>hiya,<br
/> I do mine the same way, but one question the <i>&#8220;&#8221; that you have ? Is this just to stop Apache crashing incase great sysadmin forgets to reinstall mod_rewrite ?<br
/> thanks,<br
/> paul</i></p> ]]></content:encoded> </item> <item><title>By: JLH</title><link>http://www.redcardinal.ie/blogs/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1717</link> <dc:creator>JLH</dc:creator> <pubDate>Mon, 11 Jun 2007 22:11:25 +0000</pubDate> <guid
isPermaLink="false">http://www.redcardinal.ie/webdev/11-06-2007/stop-wordpress-overwriting-htaccess/#comment-1717</guid> <description>Thanks Richard, I&#039;m off to see if I&#039;ve got anything within the wordpress block.</description> <content:encoded><![CDATA[<p>Thanks Richard, I&#8217;m off to see if I&#8217;ve got anything within the wordpress block.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Content Delivery Network via Amazon Web Services: CloudFront: d3ohi9reiehxab.cloudfront.net

Served from: www.redcardinal.ie @ 2012-02-08 23:54:17 -->
