|Posted: Friday Feb 3rd, 2012 at 1:54 am #3534|
Some site owners don’t realize that ALL browsers consider variations in your domain as “different”. That is, EVERY browser sees each of these URLs as totally different destinations:
For this reason, most site owners implement .htaccess tricks to force one version or the other, so that a visitor could type either into their address bar, yet still end up in the right place.
Concerning the s2Member plugin for WordPress®:
If a Member logs in at: ( NOTICE the www. prefix )
their login Cookie will ONLY be recognized on that particular variation of your site.
Now, if you created a link to: ( WITHOUT the www. prefix )
they would NOT be recognized as a logged-in Member, because they originally logged in on another variation of your domain ( with the www. prefix ).
Decide which variation you’re going to use:
Remain consistent: Be consistent in the way you link to pages on your site. Please do NOT create links on your site that use different variations of your domain. That could result in a visitor logging in on one variation, but clicking links on your site that land them on another variation ( where they may not be recognized as a logged-in Member ).
Forcing one or the other:
- s2Member® Products