Return to Snippet

Revision: 21728
at December 19, 2009 09:46 by math89

Initial Code
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?$
RewriteRule ^(/)?$ blog [L]

Initial URL

Initial Description
Redirect to a subfolder (blog) in a search engine friendly way using .htaccess. Change “” to your domain name.

Initial Title
Redirect Your Domain To A Subfolder Using .htaccess

Initial Tags

Initial Language