- Code: Select all
http://example.com/
http://www.example.com/
Concerning the s2Member plugin for WordPress®:
If a Member logs in at: ( NOTICE the www. prefix )
- Code: Select all
http://www.example.com/wp-login.php
Now, if you created a link to: ( WITHOUT the www. prefix )
- Code: Select all
http://example.com/category/juices/
Decide which variation you're going to use:
Decide early-on which domain variation you're going to use, and make sure that your installation of WordPress® is configured to match what you intend to use. Check your Dashboard under: Settings -> General. All of the URLs configured in that panel, need to match what you intend 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 ).
Related articles:
http://blog.stackoverflow.com/2008/06/d ... ww-prefix/
http://www.codinghorror.com/blog/2008/0 ... ebate.html
http://www.besthostratings.com/articles ... ccess.html
http://codex.wordpress.org/Changing_The_Site_URL
Forcing one or the other:
http://www.besthostratings.com/articles ... ccess.html