Hello,
please try using .htaccess rewrite rule in root folder instead of the option: redirect non-www to www (just modify it with your domain name accordingly)
This is a discussion on redirect non-www to www within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello, please try using .htaccess rewrite rule in root folder instead of the option: http://www.vbseo.com/23757-post28.html (just modify it with your ...
Hello,
please try using .htaccess rewrite rule in root folder instead of the option: redirect non-www to www (just modify it with your domain name accordingly)
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!
Hi,
You cannot work like that. Look this is working for me fine.
Use the following code after RewriteEngine On. Your .htaccess file must be in your forum directory.
If you do not want to use your main directory for other purpose you can redirect to your forum with another .htaccess in the root directory.Code:RewriteCond %{HTTP_HOST} !^www\.example.\.com RewriteRule (.*) http://www.example.com/vb/$1 [R=301,L] RewriteBase /vb/
I hope this will help you. It is tested with my forum and working 100%Code:RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.example\.com RewriteRule (.*) http://www.example.com/vb/$1 [R=301,L] RedirectMatch permanent ^/$ http://www.example.com/vb/ RewriteBase /