Hi,
May sound stupid but how would i set /forum if accessed by a person or a bot to redirect to forum.domain instead please?
Thanks.
Dan
This is a discussion on Req: redirect to subdomain within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Hi, May sound stupid but how would i set /forum if accessed by a person or a bot to redirect ...
Hi,
May sound stupid but how would i set /forum if accessed by a person or a bot to redirect to forum.domain instead please?
Thanks.
Dan
Hi Dan,
just add this to your forum/.htaccess:
RewriteCond %{HTTP_HOST} !^forum\.
RewriteRule ^(.*)$ http://forum.domain.com/$1 [L,R=301]
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
i use httpd.conf so shall i just add it there then?
Put the specified directives after the:
<Directory /...>
RewriteEngine on
Last edited by Oleg Ignatiuk; 01-19-2006 at 01:06 PM.
Oleg Ignatiuk / Crawlability Inc.
Security vbulletin - Patch Level for all supported versions released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!