ircf
Forum Replies Created
-
Hello,
There is NO 301 redirect, for example : http://sgla.fr/
The .htaccess is not appliable here because we use nginx.
Google DID index the HTTPS websites without any hint, he just tried for it and because de HTTPS page is non mixed content, he decided to index it.Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Image upload not workingHello,
we had the same issue here (e.settings.resize) using mailpoet <=2.6.6 and wp 3.9.
We upgraded wp to 3.9.1 and that solved the issue (upgrading mailpoet to 2.6.6 is not enough).
Thank you for this great plugin πForum: Fixing WordPress
In reply to: IO ERROR messageThank you Tanira,
In our case, it ended that our customer had installed a proxy that limited upload to 2MB, but your solution is indeed a good fix in any other case π
Forum: Fixing WordPress
In reply to: IO ERROR messageMore information about this bug :
– The problem seems to occur on the whole customer’s network (tests done on many machine Linux/Win with the same error).
– The problem doesn’t seem occur on our or other network (as far as we can see…)Ofc, our customer uses a network firewall, but they never had this problem, for example when they use sendit or other file transfert web services…
Also added some .htaccess magic just in case, but I don’t think this will solve anything as our server don’t use the mod_security (not in mods-enabled dir), besides I don’t think this might be a server-side problem :
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>I am gonna try simple HTML form file tests and see what happens…
Forum: Fixing WordPress
In reply to: IO ERROR messageHi,
We have the same problem on a Windows XP desktop. Here are some “clues” we gathered but we still have this error and no solution :
– The IO error happens only on some Win XP installations (worked on a Windows XP 2002 SP3 but not on the customer desktop, unknown XP version at the moment of writing this post)
– Using IE or Firefox doesn’t change anything
– Disabling Windows firewall or antivirus doesn’t change anything
– Using browser or flash method doesn’t change a lot : browser method returns a 205 Reset Content error, flash method returns an I/O Error (likely to be the same…)
– Error happens only on files larger/around 3 MB (pdf/images/anything)
– Uploading using any method works great using Ubuntu
– There is no log of this error in access_log nor in error_logThe problem is this error happens on one of our customers’ desktop so he can’t use WordPress…
Does anyone have a hint to solve that please ?
Hi,
Here is the AIOSEO filter approach to allow front page translations. Just paste this in your theme functions.pΔ₯p or create a aioseo-fix plugin :
/* AIOSEO hack : If using a static front page then use title, description and keywords from page meta instead of AIOSEO config */ /* Please AIOSEO developpers, could you modify the plugin so that this dirty hack would be useless ? */ function custom_aioseop_home_page_title($home_title){ global $post,$aiosp; if ($aiosp->is_static_front_page() && $aiosp->internationalize(get_post_meta($post->ID, "_aioseop_title", true))){ $home_title = $aiosp->internationalize(get_post_meta($post->ID, "_aioseop_title", true)); } return $home_title; } function custom_aioseop_description($description){ global $post,$aiosp; if ($aiosp->is_static_front_page() && $aiosp->get_post_description($post)){ $description = $aiosp->get_post_description($post); } return $description; } function custom_aioseop_keywords($keywords){ global $post,$aiosp; if ($aiosp->is_static_front_page() && $aiosp->internationalize(get_post_meta($post->ID, "_aioseop_keywords", true))){ $keywords = $aiosp->internationalize(get_post_meta($post->ID, "_aioseop_keywords", true)); } return $keywords; } add_filter('aioseop_home_page_title','custom_aioseop_home_page_title'); add_filter('aioseop_description','custom_aioseop_description'); add_filter('aioseop_keywords','custom_aioseop_keywords');We have made a request on AIOSEO forum so that authors modify the plugin…
Forum: Plugins
In reply to: [Plugin: PostLists] How to remove p tags around my list ?As this is a WP more general issue, i solved it using a filter on the_content in functions.php :
function custom_fix_paragraph($content){ $content = str_replace ('<p><div','<div',$content); $content = str_replace ('</div></p>','</div>',$content); return $content; } add_filter('the_content', 'custom_fix_paragraph');For this to work with postlists, i had to remove the author comment (sorry), because it was added between the p and the div opening tags.
Forum: Fixing WordPress
In reply to: classes.php and wp_list_categories()Hello Heitarosd,
I know this is not an issue, but you can achieve the same thing without hacking WordPress. Just put the next code to your theme functions.php :
class custom_walker_category extends Walker_Category { // Copy here your functions you want to override (like your hacked start_el function) } function custom_list_categories($args = array() ) { $args = wp_parse_args( $args ); $args['walker'] = new custom_walker_category; wp_list_categories( $args ); }And then replace in your templates :
wp_list_categories('yourargs...');by :
custom_list_categories('yourargs...');Hope this helps.
Mathieu at IRCF.
Forum: Plugins
In reply to: [Plugin: Widget Context] The plugin does not work at all.Hi Kasparsd,
Widget Context is a great plugin, but lately, after upgrading plugin and WordPress 3.0 RC2, display/hide widgets by URL didn’t worked (anymore ?)
The function get_current_url() (line 226) returned “https://…” instead of “http://”, while my site DOESN’T use https at all…
I just replaced line 233 :
$url = (!empty($_SERVER['HTTPS']))
by this :
$url = (isset($_SERVER['HTTPS']) && $_SERVER["HTTPS"]=="on")Note : My web server handle https but for other sites…
Thank you for your work.
Mathieu at IRCF.
http://www.ircf.fr