• Resolved reptiguy1

    (@reptiguy1)


    I had cookiless domain configured correctly, at least I thought I did. When I ran the website through the pingdom tool it got 100% or there abouts for serving static content from a cookiles domain.

    This was a few weeks ago. Today, I just realised that the cookieless domain define rules in the wp-config.php where commented out, I must have done this to debug something or other and forgot to remove them. After I removed them and uploaded the file, none of the the static content files from my theme folder were loading.

    It took me a while to realise but turned out I had to change the url paths as they were missing “wp-content” in the path. I’ve no idea how they were able to load previously without it.

    Anyway the problem I have now is that the after submitting login details correctly (they bounce back if entered incorrectly so appear to be authenticated when try to log on), the session doesn’t seem to start up. The page self submits on the login page and I can’t access the admin.

    Before I tried to enable again the cookieless domain I set up php-fpm on the VPS. I don’t know if this is causing a conflict or not but I doubt it as the website runs normally if I comment out the cookie constants in wp-config.php.

    These are the variables I’m using:

    define(“WP_CONTENT_URL”, “http://static.domain.com”);
    define(“COOKIE_DOMAIN”, “www.domain.com”);
    define(“WP_PLUGIN_URL”, “http://www.domain.com/wp-content/plugins”);

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cookiless domain problem’ is closed to new replies.