Trick to fix error of "Alternate page with proper canonical tag". For Blogger (Blogspot.com), we can customise our robots.txt file to enhance search engine indexing and restrict access to specific areas of our blog. Here is an example of a well -structured robots.txt file for a Blogger site. We can copy any one of the two.
Note: Just replace the yellow colour text with red background highlighted link with your website link.
Note: Just replace the yellow colour text with red background highlighted link with your website link.
HTML Code 1
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Disallow: /*?m=1
Disallow: /*?updated-max=*
Disallow: /*?max-results=*
Allow: /
Sitemap: https://bimalsirg.blogspot.com/sitemap.xml
Disallow:
User-agent: *
Disallow: /search
Disallow: /*?m=1
Disallow: /*?updated-max=*
Disallow: /*?max-results=*
Allow: /
Sitemap: https://bimalsirg.blogspot.com/sitemap.xml
HTML Code 2
User-agent: *
Disallow: /search
Disallow: /*?m=1
Disallow: /*?updated-max=*
Disallow: /*?max-results=*
Allow: /
Sitemap: https://yourblog.blogspot.com/sitemap.xml
Disallow: /search
Disallow: /*?m=1
Disallow: /*?updated-max=*
Disallow: /*?max-results=*
Allow: /
Sitemap: https://yourblog.blogspot.com/sitemap.xml
Note: In case if above copied robot.txt file does not work then Just replace it back with given below default robot.txt file.Ensure the yellow highlighted link is replaced with your website link.
Default Costom robot.txt file
HTML Code
User-agent: Mediapartners-Google
Disallow:
User-agent: *
Disallow: /search
Allow: /
Sitemap:
https://bimalsirg.blogspot.com/sitemap.xml
Post a Comment
If the 'BimalSirG YouTube App ' doesn't install or work in your phone, then please comment here your mobile model with problem details.