Title: Preview pattern does not work
Last modified: July 21, 2022

---

# Preview pattern does not work

 *  Resolved [kierancalv](https://wordpress.org/support/users/kierancalv/)
 * (@kierancalv)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/preview-pattern-does-not-work/)
 * Hi Guys
 * Great plugin 🙂
 * One issue I have found is: When i try to view or preview a pattern it does not
   work?
 * EG: [http://mysite.com/?blockmeister_pattern=test-pattern](http://mysite.com/?blockmeister_pattern=test-pattern)–
   returns the home page
 * Tested on 3.1.4, vanilla theme with no other plugins
 * Thanks
 * Kieran
    -  This topic was modified 3 years, 10 months ago by [kierancalv](https://wordpress.org/support/users/kierancalv/).

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

 *  Plugin Author [BlockMeister](https://wordpress.org/support/users/blockmeister/)
 * (@blockmeister)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/preview-pattern-does-not-work/#post-15847671)
 * Hi Kieran,
 * As it just so happens, I noticed this yesterday too.
    In my case it was caused
   by the WPML plugin I was testing with.
 * BlockMeister checks for the preview=true parameter in the URL to show the preview,
   but WPML causes a redirect and removes that param.
 * From your sample URL I see that on your site the same might be happening, because
   the url should
    be: [http://mysite.com/?blockmeister_pattern=test-pattern](http://mysite.com/?blockmeister_pattern=test-pattern)**&
   preview=true**
 * Please disable any other plugin to find the plugin that is causing the incomplete
   redirect.
 * That said, I am testing an alternative way to detect when previews should render
   or not (instead of relying on the presence of the preview param). This would 
   then also enable the view option to work.
    -  This reply was modified 3 years, 10 months ago by [BlockMeister](https://wordpress.org/support/users/blockmeister/).
 *  Plugin Author [BlockMeister](https://wordpress.org/support/users/blockmeister/)
 * (@blockmeister)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/preview-pattern-does-not-work/#post-15847690)
 * > Tested on 3.1.4, vanilla theme with no other plugins
 * Oeps, missed that. So in your case it’s not caused by another plugin. But something
   is causing a redirect, else the preview=true param should be present at the end
   of your URL?
 * Anyway, the alternative test logic I mentioned should solve the problem anyways
   in the upcoming release. I will let you known when that is released.
 *  Thread Starter [kierancalv](https://wordpress.org/support/users/kierancalv/)
 * (@kierancalv)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/preview-pattern-does-not-work/#post-15848696)
 * Hi
 * WPML was still active in my case. Sorry thought it was disabled 🙁
 * So the preview URL does actually work perfect. Its the view pattern (bottom left
   of the screen after you save) that does not work as it is of course missing the&
   preview=true.
 * I am sure you are aware of that one though 🙂
 * Loving the plugin, it’s exactly what I needed to get some less inexperienced 
   guys start building pages from blocks we create.
 * Thanks for your help,
 *  Plugin Author [BlockMeister](https://wordpress.org/support/users/blockmeister/)
 * (@blockmeister)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/preview-pattern-does-not-work/#post-15882667)
 * Hi
 * I worked around the WPML issue in the latest release.
 * Both preview and view pattern should work now, even with the WPML issue as mentioned
   in my previous reply.
 * Can you confirm?
 *  Thread Starter [kierancalv](https://wordpress.org/support/users/kierancalv/)
 * (@kierancalv)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/preview-pattern-does-not-work/#post-15883699)
 * Working perfectly now
 * Thanks 🙂

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

The topic ‘Preview pattern does not work’ is closed to new replies.

 * ![](https://ps.w.org/blockmeister/assets/icon-256x256.png?rev=2598699)
 * [BlockMeister - Block Pattern Builder](https://wordpress.org/plugins/blockmeister/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blockmeister/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blockmeister/)
 * [Active Topics](https://wordpress.org/support/plugin/blockmeister/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blockmeister/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blockmeister/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [kierancalv](https://wordpress.org/support/users/kierancalv/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/preview-pattern-does-not-work/#post-15883699)
 * Status: resolved