{ Snipperize } /htaccess
Snippets about htaccess
Disallow Linking to the Images from Outside of your Site based on Htaccess
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.
Apache / HTTP_REFERER, rewrite, htaccess, image, block / by ThePeppersStudio (58 days, 14.91 hours ago)
Htaccess by IP or Pass
Limit access by ip or password by setting .htaccess
Apache / htaccess, , password / by ThePeppersStudio (242 days, 12.24 hours ago)
Force Add WWW Or No WWW
You should really be doing one or the other. For consistency, as well as SEO’s, sake.
Apache / seo, htaccess, www, redirect / by ThePeppersStudio (311 days, 10.91 hours ago)
301 Redirects
This is the cleanest way to redirect a URL. Quick, easy, and search-engine friendly.
Apache / 301, redirect, htaccess / by ThePeppersStudio (311 days, 10.96 hours ago)
Active Gzip Compress With Htaccess
Compression reduces response times by reducing the size of the HTTP response. Gzip is the most popular and effective compression method currently available and generally reduces the response size by about 70%. Approximately 90% of today’s Internet traffic travels through browsers that claim to support gzip.
Apache / gzip, compress, deflate, htaccess / by ThePeppersStudio (311 days, 11.00 hours ago)
- 1
- Home
- New Snippet
- Languages
-

