Tag Archives: redirect

Cell phone safe redirecting with mod_rewrite

This is an update to Redirecting all ServerAliases to a preferred domain with mod_rewrite. In that article I solved a problem that I was having where I needed to redirect all ServerAlias options to just one domain, preserving the ssl … Continue reading

Posted in General | Tagged , , | 1 Comment

PHP function to Redirect a user with a message

One of the common things that you need to do in PHP is redirect a user, and display a message on whatever page you are sending them to. There are a lot of reasons for this, but the most common … Continue reading

Posted in PHP | Tagged , | 14 Comments

Redirecting all ServerAliases to a preferred domain with mod_rewrite

I had a domain that I owned three TLDs for. I had the .com, the .net, and the .org. These all go to the same site using ServerAlias directives in the apache config. As do the www versions of each. … Continue reading

Posted in apache | Tagged , , | 1 Comment