Dynadot โ€” .com Transfer

[Resolved] .htaccess question: Is there an any adverse affect of making it go from no www to www

SpaceshipSpaceship
Watch

kiplarson

Established Member
Impact
0
.htaccess question: is there an any adverse affect of making it go from no www to www

Example, I have several vBulletin forums and found this code:

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www\.|$) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Is there any downside to using this code? It will make the site go from myvbulletinforum.com to www.myvbulletinforum.com I know that... but is there an adverse affect in doing this? Other than perhaps making people have to relogin for those who visit by the no www means?

I mean assumably, this would be better for improving page rank etc. isn't it?

Thanks in advance
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
no this should not cause any problem.

Just make sure that your forum is set up to use www.domainname.com instead of domainname.com otherwise everyone will be sent wrong and have to get redirected and end up putting a lot of pressure unnecessary on the server
 
0
•••
CatchedCatched
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back