question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to do noindex/follow? index/nofollow?

See original GitHub issue

It seems there is no config for “follow”, and just setting noindex to true sets the meta robots to ‘noindex, nofollow’. On certain pages I want to set ‘noindex,follow’. How can I achieve this?

Conversely, what about ‘index,nofollow’.

These are rare in use, but I think still important to have the ability to do so.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
garmeehcommented, Jun 18, 2019

Hoping to publish it before next Monday if all goes well 🤞 Just testing at the moment.

In the meantime can you try this:

import Head from 'next/head';

<Head>
  <meta key="robots" name="robots" content="noindex,follow" />
  <meta key="googlebot" name="googlebot" content="noindex,follow" />
</Head>

Could you let me know if that works?

3reactions
garmeehcommented, Jun 16, 2019

Hey @geochanto, very good point. I had overlooked this 😅. I will investigate adding this in V2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Noindex, Nofollow HTML Metatags: How to Tell Google ...
No Index No Follow in HubSpot. Adding the "noindex" and "nofollow" meta tags is even easier. All you have to do is open...
Read more >
Noindex, Nofollow & Disallow - DeepCrawl
Noindex : tells search engines not to include your page(s) in search results. · Disallow: tells search engines not to crawl your page(s)....
Read more >
Noindex a post or page in WordPress, the easy way! - Yoast
To noindex posts or pages in WordPress and keep them out of the search results, just follow these simple instructions, using Yoast SEO....
Read more >
SEO: noindex vs. nofollow - Siteimprove Support
Both noindex and nofollow are a part of the Robot Exclusion Protocol (REP), the standard for controlling how webpages on your site are...
Read more >
The Difference Between Noindex and Nofollow Meta Tags
CONCLUSION · “noindex” suggests to search engines (most notably Google) not to index a specific webpage. · “nofollow” suggests to search engines ( ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found