WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. MelodyBlue
    Member
    Posted 10 months ago #

    Hi,

    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.

    http://wordpress.org/extend/plugins/magento-wordpress-integration/

  2. jamesckemp
    Member
    Plugin Author

    Posted 9 months 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
    Member
    Plugin Author

    Posted 8 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic