You do not have permission to preview drafts

  • Unknown's avatar

    i CAN preview drafts when i set my primary domain to stubbybrown.wordpress.com.

    i CAN NOT preview drafts when i set my primary domain is set to stubbybrown.com.

    i’ve been thru the cookie stuff w/no successful resolution.

    what gives?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    i found some conditions that may point the problem. but still seeking resolution. apparently the preview function is looking for a login cookie matching my primary domain. but i can’t get around a critical redirect when logging in which prevents login from setting the authentication cookie to the same domain preview is looking for.

    here’s what happens:

    1) the URL i want to login to my dashboard is http://stubbybrown.com/wp-admin/ because preview apparently will look for a cookie an auth cookie containing this domain.

    2) however the login URL gets redirected to http://stubbybrown.wordpress.com/wp-admin/ so i login anyway.

    3) dashboard URLs contain stubbybrown.wordpress.com.

    4) when i go to preview a new post or a post already published, the URL then switches domains to stubbybrown.com and i get the “no permission to preview.

    5) just but inserting wordpress in the browser so the URL contains stubbybrown.wordpress.com, the page previews.

    so why does login redirect domains? and then why does the preview function redirects domains again? this seems to be causing the problem. if i can’t login with my primary domain, i can’t preview posts in my primary domain because preview is looking for a cookie that doesn’t match login domains.

  • Unknown's avatar

    OK, w/o changing anything on my end, previews of drafts are possible regardless of which primary domain i select as stated previously. so somebody changed something at wordpress.com. thank you very much! hopefully this maintains!

  • The topic ‘You do not have permission to preview drafts’ is closed to new replies.