General

Preview Problems and Third Party Cookies

If you can’t preview your posts, pages, or themes on your site, you may need to enable third-party cookies in your web browser.

Checking your browser...

↑ Table of Contents ↑

What are cookies?

You can find out more about cookies, and how they are used on WordPress.com in our dedicated cookie page.

↑ Table of Contents ↑

So what's the issue then?

When you have your own custom domain for your site, the cookie used to store your login information becomes a third-party cookie, because while the cookie originates from the ‘wordpress.com’ domain, your browser is asked to read it when you visit your own domain.

As an example, let’s assume the following:

  • Your dashboard URL is example.wordpress.com/wp-admin/
  • Your site url is acustomdomain.com

When you try to preview a draft post you are editing, we’ll open a new window with the draft post on your site. That window address will be something like http://acustomdomain.com/?p=xxxx&preview=true

Since you must be logged in to see draft posts, WordPress.com asks your browser for the login cookie.

Because the preview page comes from the acustomdomain.com domain, and the login cookie is from the wordpress.com domain, browsers that don’t have third-party cookies enabled will not send the required information, and previewing a page or post won’t work.

↑ Table of Contents ↑

How do I enable third-party cookies?

If you would like to enable third-party cookies for just WordPress.com you will need to allow third-party cookies (sometimes called setting an exception) from the following domains:

  • [*.]wordpress.com
  • example.wordpress.com (where the “example” part is your full WordPress.com site name)

Note, if you have a custom domain, for example acustomdomain.com you will also need to allow cookies from that domain making a total of three exceptions.

Alternatively, you can enable third-party cookies for all sites. In doing so you will not need to add any exceptions.

Check out the following links for instructions relevant to the web browser you use:

  • Mozilla Firefox
  • Google Chrome
  • In Apple’s Safari, the settings for managing cookies are found under Safari → Preferences → Privacy.
  • In Microsoft’s Edge by clicking on the … in the top right corner, choosing Settings → Site permissions → Cookies and site data, and then enabling the Block third-party cookies option.

Not quite what you're looking for?

Get Help