XF 1.5 .htaccess redirect to force www URL

fion

Member
We recently added the following code to our forum .htaccess file to force URLs to include "www" before the site name:

RewriteCond %{HTTP_HOST} ^sitename.com [NC]
RewriteRule ^(.*)$ http://www.sitename.com/forums/$1 [L,R=301,NC]

This seems to work without any problems. However, since making the change earlier today, we have seen wider than usual fluctuations in traffic and some periods with lower than normal posting activity.

Is there any obvious problem with the code or any other issue we should be aware of?
 
Top Bottom