The Six Most Common Htaccess Problems and How to Fix Them

Is your Apache htaccess not working? Here are the top reasons why an htaccess file may not work, and how get your htaccess working. Htaccess Problem #1: No Dot Before the Filename The .htaccess file’s filename must start with a dot, like … Continue reading

Filed in , | 15 Comments

How to Redirect a Domain Using an Apache .htaccess File

Why Redirect From Your www Domain to Your www-less Domain For example, why would you redirect from www.smartwebdeveloper.com to smartwebdeveloper.com. To search engines these are two different domains with identical content. Your incoming links may get spread between the two … Continue reading

Filed in , | 1 Comment

Httpd.conf’s Location on CentOS, Ubuntu, Red Hat, Mac and Others

Here’s where to find the Apache 2 web server configuration file httpd.conf The httpd.conf directory differs across Linux & Unix variants like CentOS, Mac OS X, Red Hat, Ubuntu and XAMPP Mac. This table lists the httpd.conf location for each … Continue reading

Filed in , , , , , | 1 Comment