GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Terence Eden (edent@mastodon.social)'s status on Wednesday, 29-Jan-2025 18:22:00 JST Terence Eden Terence Eden

    Is there a way to stop search engines crawling a site but still let rich previews work?

    My robots.txt was:

    User-agent: *
    Disallow: /

    But when I shared a link on Facebook & other sites, it often wouldn't show the OGP image & description even though the metatags are in there.

    I want a site which is hidden from search engines, but still shareable on social networks.

    Any tips?

    In conversation about 4 months ago from mastodon.social permalink
    • Embed this notice
      Eugen Rochko (gargron@mastodon.social)'s status on Wednesday, 29-Jan-2025 18:22:00 JST Eugen Rochko Eugen Rochko
      in reply to
      • かき@GNUsocialJP

      @Edent robots.txt is the wrong approach. It can stop crawling but not indexing. You want the noindex meta tag in your HTML. In fact, if you have the noindex tag but your robots.txt prevents e.g. Google from crawling your page it will not pick it up and still serve your pages from the index.

      In conversation about 4 months ago permalink
    • Embed this notice
      Terence Eden (edent@mastodon.social)'s status on Wednesday, 29-Jan-2025 18:28:44 JST Terence Eden Terence Eden
      in reply to
      • Eugen Rochko

      @Gargron ah, that makes sense. Ta.

      In conversation about 4 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.