This doesn’t have to be a plugin issue.
If someone puts a link on their website to your blog say for example: www.example.com but not only that they place some random string: www.example.com/?foo=bar in that link to your site then when search engines crawl this page with the link to your site on google or any other search engine will see it and try to follow the link to your website.
As is the URL is technically valid the search engine will cache it and serve this new URL to its users.
Have a read over this post at Perishable Press that talks about it in detail.
Related Posts:
- Rewrite url without flushing the database?
- Plugin generated taxonomies’ permalinks with custom placeholders
- How to embed a new string in url?
- TranslatePress | secondary language category/sub-category not working correctly “`/%category%/%postname%/“`
- Hidden permalink different from displayed permalink
- one url for all pages
- Custom pages with plugin
- How to call a plugin function from index.php
- Rewriting every url
- Add rewrite rule to permalink structure
- Add Rewrite Rule for custom page
- add_rewrite_rule, plugin activation and plugin deactivation
- What is the best way to output plugin result in certain url
- Change post permalink to external URL from custom field
- flush_rewrite_rules not working on plugin deactivation, invalid URLs not showing 404
- Prevent page slug from interfering with custom post type archive permalink?
- Passing URL parameters to WordPress pages and pretty url
- Custom rewrite rule is not picked by WordPress
- Add .html extension to custom post type taxonomies
- Change Permalinks Structure to a Sequential Number for Each Post?
- Publish Post After Click On A Link
- How to prefix `attachment` permalinks with `attachment`?
- Alter post slug by a filter that is fired just after a post is created
- How to get the custom page get_permalink?
- Woocommerce different URL for every table placed in the restaurant
- How to set “with_front’=>false” to a plugin-generated cpt?
- Author Specific URL’s in WordPress
- WP get_permalink Return Wrong URL
- Does flush_rewrite_rules() remove all rules added by other plugins as well as mine?
- Add_rewrite_rule doesn’t add custom url in plugin
- How to add nofollow on all external links without plugin?
- Custom url structure for custom template
- How do I customize my WordPress shortlink structure in link-template.php without a plugin?
- Nested CPT URLs + Posts 2 Posts
- Add a Custom Permalink option in the Permalink Admin Screen?
- How can I rewrite a plugin generated URL?
- flush_rewrite_rules() not working on plugin activation
- Social sharing post’s shortlink instead of permalink
- How to get the permalink of a page when loading my plugin
- WordPress custom URL Rewrites redirecting not masking
- Mixed unrelated taxonomy in permalink
- custom taxonomy and custom post type url conflict
- WordPress URL redirect
- Best way to hook a custom url?
- Checking that the Rewrite API is available
- How does WP handle multiple matching rewrite rules?
- How to Create a Custom Plugin Permalink
- How do I add a custom sub menu menu under Woo-commerce marketing?
- Changed permalink structure. Need help with redirecting old posts
- Change permalink structure hidden button edit
- Why slash is removed after domain?
- Load custom PHP on a custom URL via a plugin
- How to change custom post type pemalink Hierarcy
- how to change the verification url of pie register plugin of wordpress?
- resetting permalinks after changing page names
- How to make a proper custom post type link
- Pagination Broken on Static Pages but Works on Blog Articles
- AddToAny shortcode in the loop
- ‘No Results Found’ on single post for custom post type
- Outbound link autometic converted into linkdirect , and not opening
- Custom rewrite rules not working with WPML
- Is it possible to use multiple post_name, post_title and post_content?
- Modifying Author Link to add Author Meta in URL
- SEO Friendly URL on dynamic product page produced via shortcode
- Change permalinks of custom post type ‘question’ as post id or any random number once
- Remove /product/ from url. I want only category name then product name
- Redirecting thousands of posts that currently have no category in their permalink when changing permalink structure to include category
- Rewrite rule not matching
- Customize permalink wordpress category id
- Reoccurring 404 Errors on all subpages
- Permalinks stopped working after migration with WP all-in-one migration plugin
- How to remove custom post type and add category and post name
- Perform internal redirect in WordPress?
- Using arbitrary paths in page urls
- “Custom Post Type Permalinks” plugin URL strcuture
- Filtering get_permalink in Jetpack / ShareDaddy
- Custom Permalink Plugin and Current Page/Ancestor in Menus
- How to Create a Custom Slug for Tags and Categories with a prefix or suffix?
- plugin links not working [closed]
- URL rewrite of independent plugin?
- How to get the permanent link in a plugin?
- Locked out of admin panel after installing HC Custom WP-Admin URL [closed]
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- Custom url rewriting
- How to customize a title by passing query string?
- This WordPress plugin isn’t creating links correctly
- WordPress plugin url for form submit
- Creating author Specific page URL
- rewrite_rules() not applying rules on plugin activation only after permalinks menu is clicked
- flush_rewrite_rules() not working with update_option_{$option}
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- Plugin not working & permalink erorr after upgrade to php 7x on Nginx
- Disable plugin If slug contains specific word
- URL rewrite with external JSON query
- How do I create a custom permalink structure for a page template
- Username Variable in custom links?
- WordPress rewrite rules not working
- I want to filter my products with attributes [closed]
- How to rewrite URL and get the values?
- Do rewrites added with add_rewrite_rule() persist after plugin deletion?