Proper 301 Redirects with Apache httpd.conf —
Let’s say you want to redirect www.yourdomain.com to yourdomain.com for SEO reasons. The best way to accomplish this is in your apache config file. Sure, you can use .htaccess, but Apache will have to literally open the file for every request. Better performance to just do it in the httpd.conf file. Here’s an example of [...]