ashleykor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 404 show 410 default pageI see
Thank you for helpForum: Fixing WordPress
In reply to: 404 show 410 default pageThank you for the info
Unfortunately it just returned the status code 410
The rest is still the sameThank you
I managed to achieve <meta name=”robots” content=”noindex, nofollow”> by manually setting the custom term to noindex
I used the Yoast Test plugin to reindex but it did not renew the sitemap.xml
For example Im supposed to have 5 custom terms in that xmlhttps://www.movingfeedback.com/moving-companies-virginia-beach/
https://www.movingfeedback.com/moving-companies-milwaukee/
https://www.movingfeedback.com/moving-companies-tucson/
https://www.movingfeedback.com/moving-companies-houston/
https://www.movingfeedback.com/moving-companies-las-vegas/Im missing 2 – milwaukee and tucson
I updated the ‘wpseo_noindex’ field in ‘wpseo_taxonomy_meta’ column in ‘wp_option’ table.
The sitemap.xml is updated and the dropdown is updated ,but the page itself for that term_id still shows
<meta name=”robots” content=”index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1″>
What can I do for page to show <meta name=”robots” content=”noindex, nofollow”>?Hello
I applied the following functionadd_filter(‘wpseo_robots’, ‘yoast_seo_robots_remove_single’); function yoast_seo_robots_remove_single($robots) if (is_front_page() || is_single(array(‘1′,’bla-bla’){ return $robots; } else { return ‘noindex, nofollow’; }But it doesnt update the post_meta table in DB
So I got that table updated using this function hooked on ‘init’$arg = array( 'post_type' => 'custom-post-type', 'post_status' => 'publish', 'posts_per_page' => -1, ); $listings = get_posts($arg); foreach ($listings as $listing) { if( !in_array($listing->ID,array(211333,83882,73395,73330,71440,71398)) ){ update_post_meta($listing->ID, '_yoast_wpseo_meta-robots-noindex', 1); } }But I can’t bulk update custom taxonomy and I need the ‘wpseo_noindex’ field in wp_option table to be ‘noindex’ for most of the term_ids in custom taxonomy
And I need the dropdown to show noindex – see the screenshot
Forum: Plugins
In reply to: [WP Table Builder – Drag & Drop Table Builder] Custom scriptSorry did not get your question
I just need to apply custom jquery script to trigger the wp table builder button
It doesnt work