/** * TH3STAR - Force WordPress Blog Posts INDEX, FOLLOW * * Applies to individual published blog posts only. * Overrides Yoast NOINDEX and NOFOLLOW settings. */ /** * Force INDEX, FOLLOW in Yoast robots string. */ function th3star_force_blog_robots_string( $robots ) { if ( ! is_singular( 'post' ) ) { return $robots; } $directives = is_string( $robots ) ? array_map( 'trim', explode( ',', $robots ) ) : array(); // Remove conflicting indexing directives. $directives = array_filter( $directives, function ( $directive ) { $name = strtolower( trim( explode( ':', $directive, 2 )[0] ) ); return ! in_array( $name, array( 'index', 'noindex', 'follow', 'nofollow', 'none' ), true ); } ); $directives = array_values( $directives ); // Enforce INDEX, FOLLOW. array_unshift( $directives, 'index', 'follow' ); return implode( ', ', array_unique( $directives ) ); } /** * Force INDEX, FOLLOW in Yoast robots array. */ function th3star_force_blog_robots_array( $robots ) { if ( ! is_singular( 'post' ) ) { return $robots; } if ( ! is_array( $robots ) ) { $robots = array(); } // Force indexing. $robots['index'] = 'index'; $robots['follow'] = 'follow'; // Remove conflicting directives. unset( $robots['noindex'], $robots['nofollow'], $robots['none'] ); return $robots; } // Apply final Yoast robots overrides. add_filter( 'wpseo_robots', 'th3star_force_blog_robots_string', PHP_INT_MAX ); add_filter( 'wpseo_robots_array', 'th3star_force_blog_robots_array', PHP_INT_MAX ); WEB DESIGN & SEO BLOG | FREELANCE WEB DESIGNER KUALA LUMPUR
elementskit logo

WEB DESIGN & SEO BLOG

Websites are as relevant as ever, they just have a new type of visitor: AI agents

Websites are as relevant as ever, they just have a new type of visitor: AI agents

Many are questioning if it’s the top of the web site period, now that individuals are interacting an increasing number of with info throughout the confines of their AI shoppers…

What is topical authority in SEO? A forward-looking guide for 2027

What is topical authority in SEO? A forward-looking guide for 2027

A purchaser researching electronic mail deliverability asks Google why emails land in spam, then asks ChatGPT the way to enhance their sender repute, and checks Reddit for instruments others have…

5 ways AI is replacing SEO (and 4 things that aren’t changing)

5 ways AI is replacing SEO (and 4 things that aren’t changing)

Will AI substitute web optimization? Many articles say no, for numerous causes: Google nonetheless dominates, AI is dependent upon internet content material, and web optimization work nonetheless wants individuals. These…

A new Semrush metric to measure AI search performance

A new Semrush metric to measure AI search performance

Final week, a coalition of brands and measurement leaders stated AI search wants a measurement customary. At present, Semrush is delivery the primary measurable layer of 1: AI-influenced visitors, a…

How to Optimize WordPress Category & Tag Pages

How to Optimize WordPress Category & Tag Pages

You’ve spent months writing posts and submitting each beneath a class or two. A number of tags right here, a couple of tags there. Then you definitely open Google Search…

five new assessments, fix with AI for stores, and more abilities • Yoast

five new assessments, fix with AI for stores, and more abilities • Yoast

The seasonal rush is nearly right here. Earlier than your busiest weeks, it’s price ensuring your web site works for each customer, and for each software you employ to run…

How to use AI for content creation (step-by-step workflow)

How to use AI for content creation (step-by-step workflow)

AI can write a weblog submit, script, or caption in seconds. The tougher half is getting a last draft with a transparent perspective, the correct proof, correct product info, and…

Google November 2026 core update: What marketers should know

Google November 2026 core update: What marketers should know

In response to the Google Search Status Dashboard, Google began rolling out its November 2026 core replace on November 10. The replace applies globally throughout all languages, and Google says the…

ChatGPT Business Hub now shows mentions and clicks

ChatGPT Business Hub now shows mentions and clicks

OpenAI launched Businesses in ChatGPT in beta on November 10. This system’s Enterprise Hub lets firms declare their enterprise in ChatGPT, replace their info, and see how usually ChatGPT mentions them…

AI Overviews are taking over the map pack. Here’s what I found

AI Overviews are taking over the map pack. Here’s what I found

For many native companies, showing within the map pack has at all times been the primary objective. Rank within the prime three, and the calls are available. That’s why getting…

Up to 40% off plans

Up to 40% off plans

AI brokers are already deciding which web sites get found, quoted, and chosen. This Black Friday, you possibly can construct an agent-ready web site on Elementor and save as much…

What is citation core? A guide to AI search visibility

What is citation core? A guide to AI search visibility

AI platforms typically depend on third-party web sites when mentioning or recommending manufacturers. Which means enhancing your AI visibility requires work past your individual web site. Quotation core offers you…

What is a pillar page & how to create one (+ examples)

What is a pillar page & how to create one (+ examples)

Planning content material one key phrase at a time usually backfires: comparable pages find yourself competing towards one another in search outcomes, and none of them builds sufficient authority to…

How to do an SEO competitor analysis with the Semrush MCP

How to do an SEO competitor analysis with the Semrush MCP

An search engine marketing competitor evaluation helps you perceive the place and why your rivals are profitable in search.  On this article, I’ll present you the way to analyze your…

Your next visitor isn’t human, is your site ready?

Your next visitor isn’t human, is your site ready?

Your subsequent web site customer isn’t human. Individuals now ship brokers like ChatGPT, Claude, Gemini, Mistral, and Perplexity to browse web sites, examine choices, and act on their behalf: reserving…

Look past the industry benchmarks and measure ROI

Look past the industry benchmarks and measure ROI

You may see AI referrals in your analytics. Nonetheless, the session depend is small, and also you solely have an {industry} benchmark to inform you what an AI customer was…

How to use Semrush with Google Search Console

How to use Semrush with Google Search Console

Utilizing Semrush with Google Search Console (GSC) provides you two views of your web site, aspect by aspect, for a extra full view into your search visibility.  GSC reviews what…

How to use AI for competitive intelligence (10 prompts to try)

How to use AI for competitive intelligence (10 prompts to try)

For a lot of companies, producing aggressive intelligence is never the difficulty. Advertising and marketing and product groups have already got extra aggressive information than they will realistically use. And…

Prompt tracking methodology to measure AI visibility

Prompt tracking methodology to measure AI visibility

“If we weren’t monitoring a immediate, however an LLM cites our content material, are you able to alert us?” That’s a query prospects ask after they wish to perceive what…

Which is right for your team?

Which is right for your team?

Each Semrush and Ahrefs provide AI visibility options on prime of mature search engine marketing information, so the Semrush vs. Ahrefs determination comes right down to how each collects that…

Where search is heading in 2027

Where search is heading in 2027

search engine optimisation has all the time tailored to modifications in how folks search and the way engines like google work. Its focus has expanded from focusing on exact-match key…

Social media competitor analysis [+ free template]

Social media competitor analysis [+ free template]

A social media competitor evaluation can reveal content material gaps, uncover new alternatives, and present you the place to focus your efforts. However provided that you evaluate the fitting manufacturers…

WebMCP and the agent-ready web

WebMCP and the agent-ready web

In my last post, many of the approaches I lined for making websites agent prepared had been about serving to brokers learn a web site. MCP servers (which aren’t the…

How to Track ChatGPT Visibility: A Practical Guide

How to Track ChatGPT Visibility: A Practical Guide

ChatGPT is altering how folks analysis merchandise, evaluate manufacturers, and make buy selections, all with out leaving the platform. That issues for entrepreneurs as a result of guests from AI…

AI for product marketing (7 actionable use cases)

AI for product marketing (7 actionable use cases)

Utilizing AI for product advertising and marketing may help you carry out vital duties quicker than you possibly can manually. And by connecting your current instruments and establishing automations, you…

1 2 3 … 67