Git Product home page Git Product logo

Comments (6)

wujun234 avatar wujun234 commented on August 17, 2024

以目前的搜索方式,暂时没法区分

from hexo-theme-tree.

seekstar avatar seekstar commented on August 17, 2024

好像可以用noindexhttps://blog.hubspot.com/marketing/how-to-unindex-pages-from-search-engines

里面有提到a portion of:

There are a few occasions where you may want to exclude a webpage — or a portion of a webpage — from search engine crawling and indexing

这个讲得比较细一点:
https://www.business2community.com/seo/how-to-block-part-of-a-page-from-indexing-by-search-engines-02404854

这个也是讲怎么排除部分内容的,但是好像是只对谷歌有效:https://perishablepress.com/tell-google-to-not-index-certain-parts-of-your-page/

from hexo-theme-tree.

seekstar avatar seekstar commented on August 17, 2024

Meta tag放到body里好像是不符合标准的:https://stackoverflow.com/questions/1447842/what-happens-if-the-meta-tags-are-present-in-the-document-body

然后googleon和googleoff好像没有被google officially documented:https://digitalreadymarketing.com/googleon-googleoff-tags/

所以可以把sidebar之类的放到另一个html里,然后在那个html的head里打上noindex的meta tag,然后把这个html嵌套到总的博客的html里吗?

from hexo-theme-tree.

wujun234 avatar wujun234 commented on August 17, 2024

这个你可以先试试看,主要最近精力没在这一块

from hexo-theme-tree.

seekstar avatar seekstar commented on August 17, 2024

诶?这个问题解决了?

from hexo-theme-tree.

wujun234 avatar wujun234 commented on August 17, 2024

没有,刚刚浏览了一波,看比较久远,就关了

from hexo-theme-tree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.