<?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>WpFunc &#187; .htaccess</title>
	<atom:link href="http://www.wpfunc.com/tag/htaccess/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Fri, 09 Jul 2010 09:05:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Use .htaccess like a protector&#8230;</title>
		<link>http://www.wpfunc.com/wordpress/use-htaccess-like-a-protector.html</link>
		<comments>http://www.wpfunc.com/wordpress/use-htaccess-like-a-protector.html#comments</comments>
		<pubDate>Mon, 01 Feb 2010 20:07:28 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[protect]]></category>
		<category><![CDATA[request]]></category>
		<category><![CDATA[sql injection]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=390</guid>
		<description><![CDATA[Protect your blog from script injections with .htaccess. With this file we can make a lot of things. Today we insert a protect code into this file. Make backup and see how to make it&#8230; Let&#8217;s Begin
Here is the code;
Simply paste this code into your .htaccess file. Make backup before change file.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/you-can-stop-hotlinking.html' rel='bookmark' title='Permanent Link: You can stop Hotlinking!'>You can stop Hotlinking!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/udegbunam-asked-how-i-hide-my-content-from-ie6-users.html' rel='bookmark' title='Permanent Link: Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;'>Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;</a></li>
<li><a href='http://www.wpfunc.com/wordpress/make-tabs-for-your-sidebar.html' rel='bookmark' title='Permanent Link: Make Tabs for your Sidebar!'>Make Tabs for your Sidebar!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Protect your blog from script injections with <span style="color: #ff0000;"><strong>.htaccess</strong></span>. With this file we can make a lot of things. Today we insert a protect code into this file. Make backup and see how to make it&#8230; Let&#8217;s Begin<span id="more-390"></span></p>
<h3>Here is the code;</h3>
<p style="text-align: justify;">Simply paste this code into your <span style="color: #ff0000;"><strong>.htaccess</strong></span> file. Make backup before change file.</p>
<pre class="brush: xml;">Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (\&lt;|%3C).*script.*(\&gt;|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
</pre>
<p>That&#8217;s All!</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html&amp;title=Use%20.htaccess%20like%20a%20protector...&amp;notes=Protect%20your%20blog%20from%20script%20injections%20with%20.htaccess.%20With%20this%20file%20we%20can%20make%20a%20lot%20of%20things.%20Today%20we%20insert%20a%20protect%20code%20into%20this%20file.%20Make%20backup%20and%20see%20how%20to%20make%20it...%20Let%27s%20Begin%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0ASimply%20paste%20this%20code%20into%20yo'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html&amp;title=Use%20.htaccess%20like%20a%20protector...&amp;bodytext=Protect%20your%20blog%20from%20script%20injections%20with%20.htaccess.%20With%20this%20file%20we%20can%20make%20a%20lot%20of%20things.%20Today%20we%20insert%20a%20protect%20code%20into%20this%20file.%20Make%20backup%20and%20see%20how%20to%20make%20it...%20Let%27s%20Begin%0D%0A%0D%0AHere%20is%20the%20code%3B%0D%0ASimply%20paste%20this%20code%20into%20yo'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html&amp;t=Use%20.htaccess%20like%20a%20protector...'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=Use%20.htaccess%20like%20a%20protector...&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html&amp;title=Use%20.htaccess%20like%20a%20protector...'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html&amp;title=Use%20.htaccess%20like%20a%20protector...'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fuse-htaccess-like-a-protector.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/you-can-stop-hotlinking.html' rel='bookmark' title='Permanent Link: You can stop Hotlinking!'>You can stop Hotlinking!</a></li>
<li><a href='http://www.wpfunc.com/wordpress/udegbunam-asked-how-i-hide-my-content-from-ie6-users.html' rel='bookmark' title='Permanent Link: Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;'>Udegbunam Asked &#8220;How i hide my content from IE6 Users?&#8221;</a></li>
<li><a href='http://www.wpfunc.com/wordpress/make-tabs-for-your-sidebar.html' rel='bookmark' title='Permanent Link: Make Tabs for your Sidebar!'>Make Tabs for your Sidebar!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/use-htaccess-like-a-protector.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You can stop Hotlinking!</title>
		<link>http://www.wpfunc.com/wordpress/you-can-stop-hotlinking.html</link>
		<comments>http://www.wpfunc.com/wordpress/you-can-stop-hotlinking.html#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:41:58 +0000</pubDate>
		<dc:creator>KaiseRCrazY</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[bandwith]]></category>
		<category><![CDATA[hidden file]]></category>
		<category><![CDATA[hotlinking]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[steal]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=181</guid>
		<description><![CDATA[Yeah! Hotlinking is bad! I don&#8217;t use any image for that! If you use a lot of or nice photograps/ images the hotlinkers :) or bandwith thiefs can use your images and you can show this people like stupid :)
If you want to do this only you have to change .htaccess file. Just copy this [...]<hr /><div style="text-align:center;">
<a href="http://aweber.com/?339698" title="Email Marketing">
<img src="http://www.aweber.com/banners/email_marketing/468x60_an.gif" alt="Email Marketing $19/Month!" style="border:none;" /></a>
</div><hr />


Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/use-htaccess-like-a-protector.html' rel='bookmark' title='Permanent Link: Use .htaccess like a protector&#8230;'>Use .htaccess like a protector&#8230;</a></li>
<li><a href='http://www.wpfunc.com/wordpress/add-no-index-to-images.html' rel='bookmark' title='Permanent Link: Add No-Index to Images'>Add No-Index to Images</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Yeah! Hotlinking is bad! I don&#8217;t use any image for that! If you use a lot of or nice photograps/ images the hotlinkers :) or bandwith thiefs can use your images and you can show this people like stupid :)<span id="more-181"></span></p>
<p style="text-align: justify;">If you want to do this only you have to change <strong><span style="color: #ff0000;">.htaccess</span></strong> file. Just copy this code below and change image path. After that if somebody<strong> steal</strong> your image/photo the code change this photos with your image. Thief shown like a stupid.</p>
<h3>Here is the code;</h3>
<pre class="brush: plain;">#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC]
#RewriteRule \.(gif|jpg|png)$ %u2013 [F]
#RewriteRule \.(gif|jpg|png)$ http://www.yourdomain.com/stealingisbad.gif [R,L] </pre>
<p style="text-align: justify;">Copy this code into <strong>.htaccess</strong> file. If you can&#8217;t se this file in your FTP program you can add filter like <strong>-a</strong> and <strong>-l</strong>. After that you can see this <strong>. (dot)</strong> and <strong>hidden</strong> files.</p>
<a rel='nofollow' target='_blank'  href='http://delicious.com/post?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html&amp;title=You%20can%20stop%20Hotlinking%21&amp;notes=Yeah%21%20Hotlinking%20is%20bad%21%20I%20don%27t%20use%20any%20image%20for%20that%21%20If%20you%20use%20a%20lot%20of%20or%20nice%20photograps%2F%20images%20the%20hotlinkers%20%3A%29%20or%20bandwith%20thiefs%20can%20use%20your%20images%20and%20you%20can%20show%20this%20people%20like%20stupid%20%3A%29%0D%0AIf%20you%20want%20to%20do%20this%20only%20you%20have%20to%20chan'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/delicious.png' class='sociable-img sociable-hovers ' title='del.icio.us' alt='del.icio.us' /></a><a rel='nofollow' target='_blank'  href='http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html&amp;title=You%20can%20stop%20Hotlinking%21&amp;bodytext=Yeah%21%20Hotlinking%20is%20bad%21%20I%20don%27t%20use%20any%20image%20for%20that%21%20If%20you%20use%20a%20lot%20of%20or%20nice%20photograps%2F%20images%20the%20hotlinkers%20%3A%29%20or%20bandwith%20thiefs%20can%20use%20your%20images%20and%20you%20can%20show%20this%20people%20like%20stupid%20%3A%29%0D%0AIf%20you%20want%20to%20do%20this%20only%20you%20have%20to%20chan'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/digg.png' class='sociable-img sociable-hovers ' title='Digg' alt='Digg' /></a><a rel='nofollow' target='_blank'  href='http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html&amp;t=You%20can%20stop%20Hotlinking%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/facebook.png' class='sociable-img sociable-hovers ' title='Facebook' alt='Facebook' /></a><a rel='nofollow' target='_blank'  href='http://www.friendfeed.com/share?title=You%20can%20stop%20Hotlinking%21&amp;link=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/friendfeed.png' class='sociable-img sociable-hovers ' title='FriendFeed' alt='FriendFeed' /></a><a rel='nofollow' target='_blank'  href='http://reddit.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html&amp;title=You%20can%20stop%20Hotlinking%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/reddit.png' class='sociable-img sociable-hovers ' title='Reddit' alt='Reddit' /></a><a rel='nofollow' target='_blank'  href='http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html&amp;title=You%20can%20stop%20Hotlinking%21'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png' class='sociable-img sociable-hovers ' title='StumbleUpon' alt='StumbleUpon' /></a><a rel='nofollow' target='_blank'  href='http://technorati.com/faves?add=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/technorati.png' class='sociable-img sociable-hovers ' title='Technorati' alt='Technorati' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/pdf.png' class='sociable-img sociable-hovers ' title='PDF' alt='PDF' /></a><a rel='nofollow' target='_blank'  href='http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.wpfunc.com%2Fwordpress%2Fyou-can-stop-hotlinking.html&amp;partner=sociable'><img src='http://www.wpfunc.com/wp-content/plugins/sociable-30/images/default/16/printfriendly.png' class='sociable-img sociable-hovers ' title='Print' alt='Print' /></a><br/><br/>

<p>Related posts:<ol><li><a href='http://www.wpfunc.com/wordpress/use-htaccess-like-a-protector.html' rel='bookmark' title='Permanent Link: Use .htaccess like a protector&#8230;'>Use .htaccess like a protector&#8230;</a></li>
<li><a href='http://www.wpfunc.com/wordpress/add-no-index-to-images.html' rel='bookmark' title='Permanent Link: Add No-Index to Images'>Add No-Index to Images</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpfunc.com/wordpress/you-can-stop-hotlinking.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
