1 nervman Apr 27, 2008 01:43
3 nervman Apr 27, 2008 04:53
how can i do it?
sorry my bad English =)
4 tilqicom Apr 27, 2008 16:43
i dont want to mislead you, but afaik subdomains are subfolders you have created, so simply create a .txt file enter modifying these
Redirect 301 /mysubdomain1 http://www.mydomain.com
Redirect 301 /mysubdomain2 http://www.mydomain.com
then rename it to .htaccess
or you can use this too:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^blog.mysite.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.blog.mysite.com$
RewriteRule ^(.*)$ http://www.mysite.com/blog/1 [R=301,L]
i guess you can deal with it with a simple 301 redirect in .htaccess