Note: I figured it would be best to ask this question in a new thread so it will be easier for others with the same question to find.
Currently, my forum uses the non-www URL version but my Wordpress uses the www for URLs. I will be changing my site to use the non-www version for URL.
My vBulletin is located at example.com
My Wordpress is located at example.com/blog/
Thanks to Brian I know what I need to do for the vBulletin part and will be using this in the htaccess:
However there is another htaccess file found at domain.com/blog/. I don't recall ever modifying it when I set it up, but here's what it currently says:RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
Do I need to modify this Wordpress htaccess file too so there are 301 redirects for the blog?# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress


LinkBack URL
About LinkBacks





Reply With Quote
