
Learn How to Create Robots.txt Files For WordPress For Better search engine (SEO) Ranking In google or any other search engine
Robots.txt file code
Note – New update on yoast plugin
Sitemap has migrated to another location
Go to General — Features — XML Sitemaps and click the question mark next to it. Then click “See the XML Sitemap
read for more info- https://www.gomahamaya.com/yoast-seo-plugin-sitemap-missing/
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://www.gomahamaya.com/sitemap_index.xml
Note-
Don’t add such files (if you are adding such file means you might be hurting your search engine ranking)
Disallow: /wp-content/plugins
Disallow: /wp-content/themes
Note – this is best robots.txt file per Google’s webmaster documentation
——————————————————————————————————-
High Performance Hosting must try
fastcomet- https://www.gomahamaya.com/go/fastcomet-blackfriday
14 days free trail cloud hosting – https://www.gomahamaya.com/go/fastcomet-free-trail
Bluehost- https://www.gomahamaya.com/go/bluehost
inmotion hosting – https://www.gomahamaya.com/go/inmotion-hosting
———————————————————————————————————–
Donate to support our work- https://www.paypal.me/gomahamaya
——————————————————————————————————-
Get in touch with us on Social Media.
Facebook: https://www.facebook.com/gomahamaya
Twitter: https://twitter.com/gomahamaya
——————————————————————————————————–
contact us on our website- https://www.gomahamaya.com/
——————————————————————————————————–