JoelSanchez
Forum Replies Created
-
I think this pitfall should be included somewhere in the documentation, btw.
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}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
In reply to: [WP Clean Up] NextGEN Gallery Compatibility SolutionThere 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%'"