Title: JoelSanchez's Replies | WordPress.org

---

# JoelSanchez

  [  ](https://wordpress.org/support/users/joelsanchez/)

 *   [Profile](https://wordpress.org/support/users/joelsanchez/)
 *   [Topics Started](https://wordpress.org/support/users/joelsanchez/topics/)
 *   [Replies Created](https://wordpress.org/support/users/joelsanchez/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/joelsanchez/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/joelsanchez/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/joelsanchez/engagements/)
 *   [Favorites](https://wordpress.org/support/users/joelsanchez/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Redirection to "_index_ssl.html_gzip", generating 404 as a result](https://wordpress.org/support/topic/redirection-to-_index_sslhtml_gzip-generating-404-as-a-result/)
 *  Thread Starter [JoelSanchez](https://wordpress.org/support/users/joelsanchez/)
 * (@joelsanchez)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/redirection-to-_index_sslhtml_gzip-generating-404-as-a-result/#post-7509675)
 * I think this pitfall should be included somewhere in the documentation, btw.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Redirection to "_index_ssl.html_gzip", generating 404 as a result](https://wordpress.org/support/topic/redirection-to-_index_sslhtml_gzip-generating-404-as-a-result/)
 *  Thread Starter [JoelSanchez](https://wordpress.org/support/users/joelsanchez/)
 * (@joelsanchez)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/redirection-to-_index_sslhtml_gzip-generating-404-as-a-result/#post-7509674)
 * Solved, it was a faulty 301 redirection on my .htaccess:
 *     ```
       RewriteCond %{REQUEST_URI} trabajos/.+
       RewriteRule trabajos/(.*) /trabajo/$1 [L,R=301]
       ```
   
 * This was redirecting /trabajos/_index_ssl.html_gzip to /trabajo/_index_ssl.html_gzip,
   which does not exist, hence the error.
 * Now it is like this:
 *     ```
       RewriteCond %{REQUEST_URI} trabajos/.+
       RewriteCond %{REQUEST_URI} !_index.
       RewriteRule trabajos/(.*) /trabajo/$1 [L,R=301]
       ```
   
 * Developers should be careful creating 301 requests when using W3TC, and make 
   sure the redirections exclude this form:
 * `_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Hyyan WooCommerce Polylang Integration] Fatal error: Call to a member function is_visible() on boolean](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-is_visible-on-boolean/)
 *  Thread Starter [JoelSanchez](https://wordpress.org/support/users/joelsanchez/)
 * (@joelsanchez)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-call-to-a-member-function-is_visible-on-boolean/#post-7500470)
 * Thank you for the information. I’m not on 2.6 (I’m on 2.5), so it will be great
   as a drop-in replacement.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Clean Up] NextGEN Gallery Compatibility Solution](https://wordpress.org/support/topic/nextgen-gallery-compatibility-solution/)
 *  Thread Starter [JoelSanchez](https://wordpress.org/support/users/joelsanchez/)
 * (@joelsanchez)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/nextgen-gallery-compatibility-solution/#post-6861715)
 * There was a typo (“&” instead of “%”):
 * `$wcu_sql = "DELETE FROM $wpdb->posts WHERE post_status = 'draft' AND post_type
   NOT LIKE '%ngg_%' AND post_type NOT LIKE '%display_type%' AND post_type NOT LIKE'%
   displayed_gallery%'"`

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