<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 19:44:34 +0000</lastBuildDate>
    <item>
      <title>(CSS) Crossbrowser CSS Gradient - josephknight</title>
      <link>https://snipplr.com/view/40299/crossbrowser-css-gradient</link>
      <description>&lt;p&gt;From: http://www.webdesignerwall.com/tutorials/cross-browser-css-gradient/&lt;/p&gt;</description>
      <pubDate>Sat, 11 Sep 2010 03:13:23 UTC</pubDate>
      <guid>https://snipplr.com/view/40299/crossbrowser-css-gradient</guid>
    </item>
    <item>
      <title>(PHP) WordPress - remove version number from head - josephknight</title>
      <link>https://snipplr.com/view/36699/wordpress--remove-version-number-from-head</link>
      <description>&lt;p&gt;If your WordPress blog is outdated even by a few days and there's a security hole in your old version you could be seriously compromised without even knowing it. Trust me. This has happened to two of my clients and the fix is not easy. Usually, once compromised, you have to delete the blog and reinstall WordPress, then scour your theme and uploaded files before re-uploading to the server. Avoid this hassle (or worse damage to your blog) if you can.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Jul 2010 16:36:14 UTC</pubDate>
      <guid>https://snipplr.com/view/36699/wordpress--remove-version-number-from-head</guid>
    </item>
    <item>
      <title>(Apache) htaccess - disallow linking to images from outside your site - josephknight</title>
      <link>https://snipplr.com/view/36698/htaccess--disallow-linking-to-images-from-outside-your-site</link>
      <description>&lt;p&gt;Replace "mysite" with your own and this will block access to sites attempting to link to your images. Note, it's not necessarily always a bad thing for people to link to your images. If you run a blog, portfolio, or sales gallery, etc, you may actually want your images to show up in google image search results and the like. Careful that you're not blocking your goals along with the images. Make sure this script is for you.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Jul 2010 16:31:05 UTC</pubDate>
      <guid>https://snipplr.com/view/36698/htaccess--disallow-linking-to-images-from-outside-your-site</guid>
    </item>
    <item>
      <title>(Apache) WordPress - .htaccess - protect config file - josephknight</title>
      <link>https://snipplr.com/view/36697/wordpress--htaccess--protect-config-file</link>
      <description>&lt;p&gt;The problem&#13;
As a WordPress user, you probably know how important the wp-config.php file is. This file contains all of the information required to access your precious database: username, password, server name and so on. Protecting the wp-config.php file is critical, so how about exploiting the power of Apache to this end?&#13;
&#13;
Code explanation&#13;
.htaccess files are powerful and one of the best tools to prevent unwanted access to your files. In this code, we have simply created a rule that prevents any access to the wp-admin.php file, thus ensuring that no evil bots can access it.&#13;
&#13;
Source&#13;
&#13;
    * 10 Easy Ways to Secure Your WordPress Blog&lt;/p&gt;</description>
      <pubDate>Mon, 05 Jul 2010 16:26:18 UTC</pubDate>
      <guid>https://snipplr.com/view/36697/wordpress--htaccess--protect-config-file</guid>
    </item>
    <item>
      <title>(Apache) WordPress - .htaccess - block injection attacks - josephknight</title>
      <link>https://snipplr.com/view/36695/wordpress--htaccess--block-injection-attacks</link>
      <description>&lt;p&gt;The problem&#13;
Protecting dynamic websites is especially important. Most developers always protect their GET and POST requests, but sometimes this is not enough. We should also protect our blog against script injections and any attempt to modify the PHP GLOBALS and _REQUEST variables.&#13;
&#13;
The solution&#13;
The following code blocks script injections and any attempts to modify the PHP GLOBALS and _REQUEST variables. Paste it in your .htaccess file (located in the root of your WordPress installation). Make sure to always back up the .htaccess file before modifying it.&#13;
&#13;
Code explanation&#13;
Using the power of the .htaccess file, we can check requests. What weâ€™ve done here is check whether the request contains a &lt;script&gt; and whether it has tried to modify the value of the PHP GLOBALS or _REQUEST variables. If any of these conditions are met, the request is blocked and a 403 error is returned to the clientâ€™s browser.&#13;
&#13;
Sources&#13;
&#13;
    * ProtÃ©ger Son Site Avec Un Fichier .htaccess&#13;
    * Protect Your WordPress Blog Using .htaccess&lt;/p&gt;</description>
      <pubDate>Mon, 05 Jul 2010 16:17:18 UTC</pubDate>
      <guid>https://snipplr.com/view/36695/wordpress--htaccess--block-injection-attacks</guid>
    </item>
    <item>
      <title>(PHP) WordPress add post thumbnails to feeds - josephknight</title>
      <link>https://snipplr.com/view/36490/wordpress-add-post-thumbnails-to-feeds</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jun 2010 05:14:24 UTC</pubDate>
      <guid>https://snipplr.com/view/36490/wordpress-add-post-thumbnails-to-feeds</guid>
    </item>
    <item>
      <title>(PHP) WordPress include real, unmodified jQuery - josephknight</title>
      <link>https://snipplr.com/view/36488/wordpress-include-real-unmodified-jquery</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 30 Jun 2010 05:09:32 UTC</pubDate>
      <guid>https://snipplr.com/view/36488/wordpress-include-real-unmodified-jquery</guid>
    </item>
  </channel>
</rss>
