W

How to Index Posts & Pages on Google Search Console

websahayataa

Member

Reputation: 2%
Joined
24/12/24
Messages
16
Hello friends, web.hindisahayata.in is my domain, I am very worried about WebPages Indexing 😥 None of my Posts & Pages are getting indexed on Google Search Console.

🙏 Please help me 🙏

I don't understand where I am going wrong!!

🤔 Is my Robots.txt File not correct?

🤔 Why are none of my posts getting indexed on Google Search Engine?

If anyone has a solution for this, please share.
 
I also have a problem with this, and every ten posts or threads I send the sitemap manually. If anyone knows where the problem is, please share. :)
 
@websahayataa
Hi,

Try to do this in robots.txt

Code:
User-agent: *
Disallow: /find-new/
Disallow: /account/
Disallow: /login/
Disallow: /admin.php
Disallow: /search/
Disallow: /whats-new/
Allow: /
Sitemap: https://yourdomainname/sitemap.xml

Or like this most usefull for XF

Code:
User-agent: *
Disallow: /admin.php
Disallow: /install/
Disallow: /core/
Disallow: /js/
Disallow: /account/
Disallow: /register/
Disallow: /login/
Disallow: /search/
Disallow: /thread/
Disallow: /whats-new/
Disallow: /xf/
Allow: /resources/
Allow: /threads/
Allow: /forums/
Allow: /members/
Allow: /post/
Allow: /t/
Allow: /p/

Sitemap:yourdomainname/sitemap.xml
For WordPress test this :

Code:
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /wp-content/plugins/
Disallow: /wp-content/themes/
Disallow: /xmlrpc.php

# Allow Googlebot access to specific files or folders if needed
User-agent: Googlebot
Allow: /wp-content/uploads/

# Block specific crawlers if necessary
User-agent: BadBot
Disallow: /

# Sitemap declaration
Sitemap: https://www.yourdomain.com/sitemap.xml

check in your Google search console for errors.
 
Last edited:
Similar threads Most view View more
Back
Top Bottom