Posts Tagged ‘mod_rewrite’

Redirecting www to non-www Using .htaccess

Friday, April 24th, 2009

The Apache Web server supports URL rewriting with the mod_rewrite engine. Placing custom rules in an .htaccess file lets you do all sorts of useful things to keep your URLs tidy. One really handy thing you can do for search engines and visitors is redirecting traffic from www to non-www version of your domain (and vice versa).

(more…)


Intavant    Scriptalicious    Servermind

©2009 Gabriel Harper. Do not use, copy or re-publish any part of this blog.