Magento WordPress Integration
[resolved] Lost Session information when going to Blog Page (3 posts)

  1. MelodyBlue
    Posted 3 years ago #


    I have a magento shop and wordpress blog, so I've installed the magento wordpress integration.
    I've copied the header of my shop inside wordpress using <?php the_block(BLOCK-NAME); ?>. It seems to works all fine but if I login on my shop and go to the blog page, I am suddenly logout. It looks like it lost all the session information and log me out automatically every time I'm visiting the blog.
    Is it something that I forget to set up??

    The other weird things is that all the link from my blog page are following by an ID like: http://www.myswebsite.co.uk/clothing?SID=nhb7o8rt0f3b7bakhd4jpa9m24

    Is it possible to get rid of this ID at the end of my links??

    Thanks for the help.


  2. jamesckemp
    Plugin Author

    Posted 3 years ago #

    Please see this regarding the SID parameter: http://wordpress.org/support/topic/problem-url-_sidu?replies=3#post-4390196

    As for the logging out issue, try setting the cookie path and domain in Magento.

  3. jamesckemp
    Plugin Author

    Posted 3 years ago #

    As a follow up, you will need to do the following:

    Navigate to System > Configuration > Web.

    Under Cookie Path, enter "/"
    Under Cookie Domain, enter ".yourdomain.com"

    Do not enter the quote marks!

    Once saved, clear your Magento cache, empty the var/cache and var/session folders. Also clear your browser cache.

    Your cookies should now be working as expected!

    I am marking this as resolved, as no further response has been made.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Magento WordPress Integration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic