Strip Down Apache to Improve Performance & Me

1 ano atrás
Can you believe that its been 5 years since the release of Apache 2.4?! Still, most Apache based web servers continue to run Apache version 2.2 or even 2.0. This is understandable for the same reasons why Apache web servers are still used more than Nginx… compatibility, official support and ...

13 Best Search Filter WordPress Plugins for Free D

2 anos atrás
If you’re running a WordPress based site or blog, then you’re continually hunting down an approach to develop and make your website less demanding to use for both you and your users. Whether it will be shortcodes, posts, pages, joins, spam, remarks, or some other thing identified with ...

Example .htaccess Code Snippets

2 anos atrás
Here are some specific examples taken from the Htaccess Guide. Redirect Everyone Except IP address to alternate page [crayon-5c96d1fea0300265420025/] When developing sites This lets google crawl the page, lets me access without a password, and lets my client access the page WITH a password. ...

VirtualMin WordPress Nginx Permalinks

2 anos atrás
VirtualMin WordPress Nginx Permalinks If you want to use Virtualmin with nginx, there are two nice tutorials (Using Nginx with Virtualmin and Virtualmin with NGINX+PHP-FPM+OPCACHE). To get the WordPress permalinks to work, do the following: Go to Virtualmin > Services > Configure ...

Moving to HTTPS on WordPress

4 anos atrás
I just recently took CSS-Tricks “HTTPS everywhere”. That is, every URL on this site enforces the HTTPS (SSL) protocol. Non-secure HTTP requests get redirected to HTTPS. Here’s some notes on that journey. Why do it? General security. When you enforce HTTPS, you’re ...

Bootstrap 3 Media Queries

4 anos atrás
@media only screen and (min-width : 320px) { } @media only screen and (min-width : 480px) { } @media only screen and (min-width : 768px) { } jQuery.noConflict()(function($){ $(document).ready(function(){ var sticky_navigation_offset_top = $('#mainmenu-block-bg').offset().top; var sticky_navigation = function(){ var scroll_top = $(window).scrollTop(); // our current vertical position from the top var menuheight = $('#mainmenu-block-bg').height(); if (scroll_top > sticky_navigation_offset_top) { $('#mainmenu-block-bg').css({ 'background': 'rgba(35,40,45,0.9)','position': 'fixed', 'top':0, 'left':0, 'z-index':11 }); $('body').css({ 'padding-top': menuheight }); } else { $('#mainmenu-block-bg').css({ 'top':0, 'position': 'relative','padding-top':0, 'background': '#23282d' }); $('body').css({ 'padding-top': 0 }); } }; // run our function on load sticky_navigation(); // and run it again every time you scroll $(window).scroll(function() { sticky_navigation(); }); }); });