I'm wondering if the following is possible - and if it is, how it could be done -
Can I redirect:
http://subdomain.domain.com
to
http://domain.com/folder/folder
| SitePoint Sponsor |
I'm wondering if the following is possible - and if it is, how it could be done -
Can I redirect:
http://subdomain.domain.com
to
http://domain.com/folder/folder
You can do it using .htaccess rule.. take a look at a sample rule you can set for your subdomain.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^blog\.mysite\.com
RewriteRule ^(.*)$ /blog/$1 [L]
Bookmarks