<?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>.htaccess Archives - Nick Shaw</title>
	<atom:link href="https://www.nick-shaw.co.uk/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Tue, 24 Jul 2018 09:39:00 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">150481139</site>	<item>
		<title>Leverage Browser Caching in WordPress via .htaccess</title>
		<link>https://www.nick-shaw.co.uk/leverage-browser-caching-in-wordpress-via-htaccess/</link>
					<comments>https://www.nick-shaw.co.uk/leverage-browser-caching-in-wordpress-via-htaccess/#respond</comments>
		
		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Sun, 22 Jul 2018 09:35:46 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[.htaccess]]></category>
		<guid isPermaLink="false">https://www.nick-shaw.co.uk/?p=2177</guid>

					<description><![CDATA[<p>Add this to your .htacess to Leverage Browser Caching</p>
<p>The post <a href="https://www.nick-shaw.co.uk/leverage-browser-caching-in-wordpress-via-htaccess/">Leverage Browser Caching in WordPress via .htaccess</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Add this to your .htacess to Leverage Browser Caching</p>
<pre class="brush: php; title: ; notranslate">
## https://crunchify.com/how-to-speed-up-wordpress-leveraging-browser-caching-via-htaccess/
## EXPIRES CACHING ##
&lt;IfModule mod_expires.c&gt;
ExpiresActive On
ExpiresByType image/jpg &quot;access 1 year&quot;
ExpiresByType image/jpeg &quot;access 1 year&quot;
ExpiresByType image/gif &quot;access 1 year&quot;
ExpiresByType image/png &quot;access 1 year&quot;
ExpiresByType text/css &quot;access 1 month&quot;
ExpiresByType text/html &quot;access 1 month&quot;
ExpiresByType application/pdf &quot;access 1 month&quot;

ExpiresByType text/x-javascript &quot;access 1 month&quot;
ExpiresByType application/x-shockwave-flash &quot;access 1 month&quot;
ExpiresByType image/x-icon &quot;access 1 year&quot;
ExpiresDefault &quot;access 1 month&quot;
&lt;/IfModule&gt;
## EXPIRES CACHING ##

&lt;FilesMatch &quot;\\.(js|css|html|htm|php|xml)$&quot;&gt;
SetOutputFilter DEFLATE
&lt;/FilesMatch&gt;

&lt;IfModule mod_gzip.c&gt;
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
&lt;/IfModule&gt;
</pre>
<p>The post <a href="https://www.nick-shaw.co.uk/leverage-browser-caching-in-wordpress-via-htaccess/">Leverage Browser Caching in WordPress via .htaccess</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.nick-shaw.co.uk/leverage-browser-caching-in-wordpress-via-htaccess/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2177</post-id>	</item>
		<item>
		<title>Re-direct all domains to one domain, regardless of subdomain</title>
		<link>https://www.nick-shaw.co.uk/re-direct-all-domains-to-one-domain-regardless-of-subdomain/</link>
					<comments>https://www.nick-shaw.co.uk/re-direct-all-domains-to-one-domain-regardless-of-subdomain/#respond</comments>
		
		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Mon, 14 Feb 2011 21:49:31 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Re-direct domains]]></category>
		<category><![CDATA[RewriteEngine]]></category>
		<guid isPermaLink="false">http://www.nick-shaw.co.uk/code/?p=21</guid>

					<description><![CDATA[<p>.htaccess rule to re-direct all domains to one domain, regardless of subdomain Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} !^(.*)nick-shaw.co.uk &#x5B;nc] rewriterule ^(.*)$ https://www.nick-shaw.co.uk/$1 &#x5B;r=301,nc]</p>
<p>The post <a href="https://www.nick-shaw.co.uk/re-direct-all-domains-to-one-domain-regardless-of-subdomain/">Re-direct all domains to one domain, regardless of subdomain</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>.htaccess rule to re-direct all domains to one domain, regardless of subdomain</p>
<pre class="brush: plain; title: ; notranslate">
Options +FollowSymlinks

RewriteEngine on
rewritecond %{http_host} !^(.*)nick-shaw.co.uk &#x5B;nc]
rewriterule ^(.*)$ https://www.nick-shaw.co.uk/$1 &#x5B;r=301,nc]
</pre>
<p>The post <a href="https://www.nick-shaw.co.uk/re-direct-all-domains-to-one-domain-regardless-of-subdomain/">Re-direct all domains to one domain, regardless of subdomain</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.nick-shaw.co.uk/re-direct-all-domains-to-one-domain-regardless-of-subdomain/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2156</post-id>	</item>
	</channel>
</rss>
