• The site I’m working on is located in a folder on the server called website. I have an HTML page in the root (index.html) that links to the folder where the wordpress site is. When I click on the link on the index page I’m asked to log in. Once I log in, it sends me to the homepage as expected. The problem is when I click on any link on the homepage, I’m asked to login again. After this, it works fine.

    Is there any way that I can fix this aside from moving the entire site into the root? The reason i cant move the site to the root is that there are other folders with wordpress sites in them. If I move the site out, then the password will effect the other sites if I do.

    Thank you

    https://wordpress.org/plugins/hide-my-site/

Viewing 1 replies (of 1 total)
  • Plugin Author ClevelandWebDeveloper

    (@clevelandwebdeveloper)

    Hi wavdav,

    It’s hard to tell without being able to see for myself.

    One guess would be that the ‘logged in’ cookie is being placed initially on a page without the www [like http://yoursite.com/wordpress%5D and then after you have logged in, all the links on your homepage go to a page with the www [like http://www.yoursite.com/wordpress/somepage%5D. This would be a problem because the logged in cookie would not be recognized as being there – on account of http://www.yoursite.com being considered a different domain than http://yoursite.com with regard to cookies. The solution here would be to change your WordPress site URL/WordPress links so that they match your initial index page (so that they would all either use the www or not).

    Again, this is just one thought without knowing the specifics of your case. If this doesn’t work out, I might be able to provide more help if you are comfortable emailing me your website URL and Hide My Site password (so that I could get a better look at the underlying issue). You can email me via info at clevelandwebdeveloper dot com.

    All the best,
    Justin

Viewing 1 replies (of 1 total)
  • The topic ‘have to login twice’ is closed to new replies.