Can’t get the URLs to be indexed – checked all possible reasons – pls help!

[ad_1]

I know this has been asked here a lot but I couldn’t find a single solution that worked for me. So here I go again:

I have a wordpress site with decent content but I can’t get google search console to index my site. It says URLs are blocked by robots.txt.

Now, my robots.txt file is pretty basic. Allows all bots, only disallows admin page. I have also added my sitemap URL there.

`User-agent: *`
`Allow: /wp-admin/admin-ajax.php`
`Disallow: /wp-admin/`

`Sitemap: `
`Sitemap: `

I have made sure that my worpress site isn’t discouraging bots from crawling the site from general sites.

I have checked my header page and I haven’t added any no follows tag there for robots.

Can anybody please point me towards the right direction and help me figure out what could be there issue here. I’m losing my head for the last three days.

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer