October 2012

Redirect site to https

Published by burgerboydaddy on Tue, 10/23/2012 - 10:45


There are plenty of times I want to require users to be accessing a site only via SSL.

And that can be easy done using .htaccess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Remove node from search

Published by burgerboydaddy on Fri, 10/05/2012 - 19:15


Quickly one.
Today I was tasked to remove node from search results on our side.
It looks like easy but it is not if you are using basic Drupal 7 search engine.
Options are: