When you rank high in the search engines, your competitors will try outrank you by checking your backlinks just by entering your site URL in tools like SEMRush.

Luckily, there is an easy way to prevent that by using the robots.txt file that will tell SEMRush to not crawl your pages.

Add the following text to your robots.txt file to prevent SEMRush from crawling your pages and protect your site from your competitors.

User-agent: SemrushBot
Disallow: /

Check out our robots.txt file to see an example.

After you have updated your robots.txt file, confirm that it works by entering your site URL in the input field below:

SEMRush is one of the best SEO tools and I use it myself to analyze competitors with their tons of features. Free free to check play around by taking advantage of the 7 day trial. All you have to is enter a credit card details. You can cancel your SEMRush subscription within 7 days at no cost.


Pathaksa Tongpitak About the Author

Pathaksa Tongpitak

Pathaksa is an accomplished super affiliate and full-stack PHP developer with more than 15 years in the digital space and the founder of AffiliateWeapons.com. Throughout his career, he's empowered countless entrepreneurs and affiliates to optimize their online ventures through innovative solutions and strategic guidance. Beyond curating premium marketing deals, he dedicates himself to sharing industry insights while maintaining an extensive database of 6304+ verified promotions and discounts.