Title: Plugin causes redirect
Last modified: January 3, 2019

---

# Plugin causes redirect

 *  [Mike Meinz](https://wordpress.org/support/users/mikemeinz/)
 * (@mikemeinz)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-causes-redirect/)
 * Optimization opportunity
 * The plugin sends request to [https://www.google.com/cse/cse.js?cx=xxxxx](https://www.google.com/cse/cse.js?cx=xxxxx).
   A Status Code of 302 is returned and a redirect to [https://cse.google.com/cse/cse.js?cx=xxxxx](https://cse.google.com/cse/cse.js?cx=xxxxx)
   is made.
 * The plugin sends the request to [https://www.google.com/cse/cse.js?cx=xxxxx](https://www.google.com/cse/cse.js?cx=xxxxx)
   on every WordPress post or page. Can this be changed so that the request is only
   sent on the page that contains the [wp_google_search] shortcode?

Viewing 1 replies (of 1 total)

 *  Plugin Author [WebshopLogic](https://wordpress.org/support/users/webshoplogic/)
 * (@webshoplogic)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-causes-redirect/#post-11061716)
 * Ok, we try to find a solution to the symptom.

Viewing 1 replies (of 1 total)

The topic ‘Plugin causes redirect’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-search/assets/icon-256x256.png?rev=976021)
 * [WP Google Search](https://wordpress.org/plugins/wp-google-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-search/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-search/reviews/)

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * 1 reply
 * 2 participants
 * Last reply from: [WebshopLogic](https://wordpress.org/support/users/webshoplogic/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/plugin-causes-redirect/#post-11061716)
 * Status: not resolved