301 Redirect
RewriteRule ^services-area/danderong$ http://www.metrobinhire.com.au/services-area/dandenong [L,R=301]
Joomla 301 redirection
Redirect 301 /services-area/danderong http://www.metrobinhire.com.au/services-area/dandenong
301 Redirect with Query String
//Link: http://www.southamstudios.com/index.php?main_page=page&id=11
//htaccess
RewriteCond %{HTTP_HOST} ^southamstudios.com$ [NC]
RewriteCond %{QUERY_STRING} ^main_page=page&id=41$ [NC]
RewriteRule ^(.*)$ https://mq.southamstudios.com/? [R=301,L]
OR
RewriteCond %{QUERY_STRING} ^main_page=page&id=41$ [NC]
RewriteRule ^(.*)$ https://mq.southamstudios.com/? [R=301,L]
HTTP to HTTPS Redirect
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^www\.(.+)$ [NC]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
www to non-www
RewriteCond %{HTTP_HOST} ^www.holmesglen.southamstudios.com$ [NC]
RewriteRule ^(.*)$ https://holmesglen.southamstudios.com/$1 [R=301,L]
non-www to www
RewriteCond %{HTTP_HOST} ^shappere.com.au$
RewriteRule ^(.*)$ "http\:\/\/www\.shappere\.com\.au\/$1" [R=301,L]