admin管理员组

文章数量:1331091

When I search my website in google, all the pages and posts can see. I want to make only homepage visible in search results and remove other pages(privacy, contact etc). And also all the posts can visible without snippet. I want to fix this. Please help me. enter image description here

When I search my website in google, all the pages and posts can see. I want to make only homepage visible in search results and remove other pages(privacy, contact etc). And also all the posts can visible without snippet. I want to fix this. Please help me. enter image description here

Share Improve this question asked Jul 13, 2020 at 6:19 RamodSRamodS 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

In your WP directory edit ( or create ) robots.txt

User-agent: *
Allow: /$ 
Disallow: /

Then wait till search engine reindex your pages, or try to run it manually with google with Google Search Console

本文标签: postsHow to show only homepage in google results instead of privacycontact pages