mahi38
Forum Replies Created
-
I apologize for the delay
The fix resolves the problem and Site Health doesn’t complain anymore, great job.
I really appreciate your support !
I wish you a nice weekend
I get the following message running the php snippet :
Error: cannot find the 'https://www.arkanova.fr/wp_33' substring in 'https://www.arkanova.fr/wp-json/wp/v2/types/post'.My site is stored in the subdirectory /public_html/wp_33. Maybe there is something missing in the /public_html/.htaccess file. Here is the current .htaccess redirect code :
#<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} !^/wp_33/ RewriteCond %{REQUEST_URI} !^/wp_55/ RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteRule ^(.*)$ /wp_33/$1 [L] #</IfModule>Thank you for your time and support !
Site Health says :
Error : [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes receivedQuery Monitor adds :
URL : https://www.arkanova.fr/wp-json/wp/v2/types/post?context=edit
Status :
cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received
Caller :do_action('admin_enqueue_scripts') wp-includes/plugin.php:465 WP_Site_Health->enqueue_scripts() wp-admin/includes/class-wp-site-health.php:88 WP_Site_Health->get_test_rest_availability() wp-admin/includes/class-wp-site-health.php:1670HTTP header : no problem apparently
URL de la requête : https://www.arkanova.fr/wp_33/wp-admin/site-health.php Méthode de la requête :GET Adresse distante : 217.182.234.5:443 Code d’état : 200 Version : HTTP/2.0 Politique de référent : strict-origin-when-cross-origin En-têtes de la réponse (1,373 Ko) En-têtes bruts cache-control : no-store, no-cache, must-revalidate content-encoding : gzip content-security-policy : script-src 'self' 'unsafe-inli…ce.com data:; base-uri 'self'; content-type : text/html; charset=UTF-8 date : Sat, 11 May 2019 12:50:01 GMT expires : Thu, 19 Nov 1981 08:52:00 GMT pragma : no-cache referrer-policy : strict-origin-when-cross-origin server: YOORshop set-cookie : PHPSESSID=dfd394bef3ab0f846455…ure; HttpOnly;HttpOnly;Secure strict-transport-security : max-age=16070400; includeSubDomains vary : Accept-Encoding,X-HTTP-Method-…arded-Port,X-Forwarded-Server x-content-type-options : nosniff X-Firefox-Spdy : h2 x-frame-options : SAMEORIGIN x-xss-protection: 1; mode=blockDesactivating NinjaFirewall makes the problem disappear.
The url checked by Site Health works outside in a browser window
I hope this helps to find the clue
thank you
I looked at it and no, there is no line
Yes I saw them, they are all unchecked (no protection) and the problem remains
thanks
Forum: Plugins
In reply to: [Relevanssi - A Better Search] remove HTML code from search resultsOK I managed to clean up truncate_post( 270, ‘false’ ); , code below.
thank youet_divi_post_meta(); if ( 'on' !== et_get_option( 'divi_blog_style', 'false' ) || ( is_search() && ( 'on' === get_post_meta( get_the_ID(), '_et_pb_use_builder', true ) ) ) ) { $excerpt = truncate_post( 270, false ); $excerpt = preg_replace('@….*?\>@', '…', $excerpt); // remove ... .*> $excerpt = preg_replace('@<.*?\…@', '…', $excerpt); // remove <.* ... $excerpt = preg_replace('@as-black @', '', $excerpt); // sanatize accordion slider echo et_core_intentionally_unescaped( $excerpt, 'html' ); } else { the_content(); }- This reply was modified 7 years, 2 months ago by mahi38.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] remove HTML code from search resultsnote : replacing truncate_post( 270 ); with the_excerpt(); does not change anything
Forum: Plugins
In reply to: [Relevanssi - A Better Search] remove HTML code from search resultsI use Divi’s index.php copied to Divi_child/search.php
<?php if ( ! in_array( $post_format, array( 'link', 'audio', 'quote' ) ) ) : ?> <?php if ( ! in_array( $post_format, array( 'link', 'audio' ) ) ) : ?> <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php relevanssi_the_title(); ?></a></h2> <?php endif; ?> <?php et_divi_post_meta(); if ( 'on' !== et_get_option( 'divi_blog_style', 'false' ) || ( is_search() && ( 'on' === get_post_meta( get_the_ID(), '_et_pb_use_builder', true ) ) ) ) { truncate_post( 270 ); } else { the_content(); } ?> <?php endif; ?>Forum: Plugins
In reply to: [Relevanssi - A Better Search] remove HTML code from search resultsI mean the HTML between the 2 ellipsis
Forum: Plugins
In reply to: [Relevanssi - A Better Search] no results on indexed wordsHello Mikko,
It is a draft, so the issue is resolved.
Thank you for the support follow-up
MarcForum: Plugins
In reply to: [Relevanssi - A Better Search] no results on indexed wordsIn the Search Tab I modified the weight on Content from 0 to 1 and now I get 3 search results for ‘bilan’ which is better.
Thank you !
We bought the Pro+ version to support this plugin which is very good.
NinjaFirewall still blocks the payment notification and comes out with rule 531 which I cannot disable in the Rules list because it’s not listed.
Is there a way to white list IPs to exclude them from being blocked ?
thank you
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] code for thumbnail printYes please, send me an update
thanks a lot
Forum: Plugins
In reply to: [Invoices for WooCommerce] Lost Opensans font in 2.7.0Thanks for the quick reply !
Indeed I noticed that fonts are loaded now from the directory
woocommerce-pdf-invoices/vendor/mpdf/mpdf/ttfontsThere are several fonts one can play with.
I use now DejaVuSans which I prefer to Arial.Great plugin, thanks a lot.