AMP Validated URLs
-
I have problem with validate URL, when press button re-validate, and it give me this error:
Failed to fetch URL(s) to validate. This may be due to a request timeout.
I have add this code to my costume function, but still not solve
// Increase timeout for AMP validation requests from 15 to 60 seconds. add_filter( 'http_request_args', function( $args, $url ) { $query = wp_parse_args( wp_parse_url( $url, PHP_URL_QUERY ) ); if ( isset( $query['amp_validate'] ) ) { $args['timeout'] = 100000; } return $args; }, 10, 2 );
The page I need help with: [log in to see the link]
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘AMP Validated URLs’ is closed to new replies.