Additional URLs being generated | WordPress.org

[ad_1]

Hello @casydigi

To prevent Google from crawling the pages, you could consider adding a directive in your robots.txt file to disallow the crawling of URLs containing “?mailoptin-ajax=track_optin_impression”.

Here’s the robots.txt rule to use:

User-agent: *
Disallow: /*?mailoptin-ajax=track_optin_impression

This rule tells all web crawlers (User-agent: *) not to crawl any URLs that contain “?mailoptin-ajax=track_optin_impression”.

Note that adding this directive to your robots.txt file will only prevent Google and other search engines from crawling those pages. It will not remove those pages from search results if they have already been indexed. To remove already indexed pages, you can use the Google Search Console’s URL removal tool.

You can also disable impression tracking completely by MailOptin.

Regards

 

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