Redirect to a new page using .htaccess filesCristi DraghiciAugust 18, 2014Programming The code is pretty simple: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(.*)$ http://blog.draghici.net/$1 [R=301,L] </IfModule>Code language: HTML, XML (xml) Tags# Apache Previous Post htaccess subdomain creation Next Post WordPress – make all images inside a post links