Block User Profiles from Search Results

[ad_1]

Plugin Contributor
Paolo

(@paoltaia)

Hi,

the easiest way to block your profile pages from being indexed would be via a robots.txt file.

You need to create a file named “robots.txt” in the root directory of your website and add the following lines:

User-agent: *
Disallow: /profile/

Please note that it’s up to the search engine or bot to honor this request. Some may choose to ignore your robots.txt file. And remember that changes might take some time to be reflected in search engine indexes.

Thanks,

 

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