Support » Fixing WordPress » Webpage acts differently with and without www

  • Resolved Shripad

    (@shripad)


    Hi,

    I wanted to make the page appear differently for logged in and not logged in users, so I created a new template with if else statements. The page works fine but I noticed something funny. If I go to http://<mysite&gt;.com/download, the page acts as intended i.e. shows content if logged in, else prints a message, but if I go to http://www.<mysite>.com/download, it displays the entire page even if the user is not logged in, can you please tell me why this happens and how to fix this?

    Thanks,
    Shripad

Viewing 1 replies (of 1 total)
  • Thread Starter Shripad

    (@shripad)

    Sorry for asking this question, I found out the reason for this.
    Both I guess were using separate sessions and that why the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Webpage acts differently with and without www’ is closed to new replies.