htaccess
The snippet below is excellent if you have several domains pointing to the same webspace and only want to use one domain as your primary domain. RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST} !newdomain.com$ [NC]RewriteRule ^(.*)$ http://www.newdomain.com/$1 [L,R=301] or RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST}…
We have been struggling with getting some decent and meaningful PHP Error codes this past week, and this article from perishablepress.com has really helped. The rules are well documented and easy to understand and follow. Copyright & Thanks to http://perishablepress.com/advanced-php-error-handling-via-htaccess/ for the info. Prevent…