Apache webserver tip for redirecting old links to the new WordPress

Most of the Google search results for netsnbytes are for blog posts hosted on Emperor.  Emperor is the Linux server in my basement but Emperor is on the DSL line.

A few years ago I got to know Apache pretty well.  Apache magic allowed me to do a bit with the DSL line and no port 80 access.  Apache running on Emperor, the Linux server, was the gateway to a half-dozen web servers in the basement.  Those servers allowed me to research a lot of new technology as it came out.  Working with Apache was a good learning experience too.

All it took was a little more Apache magic to redirect old search links to the new WordPress place here.

Apache conf excerpt for anyone interested:

Alias /wordpress "/var/www/www-apps/wordpress"

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?netsnbytes\.net
RewriteRule (.*) https://blog.netsnbytes.org/$1 [R=301,L]

My handiest resource has been the Apache Cookbook from O’Reilly.  You can get it  here at Amazon.