Archived topic
URL contains a form with a GET method
6 replies · Started by Bobby on January 25, 2021
Hi Team,
We recently migrated to GP theme and now sitebulb audit report showing "URL contains a form with a GET method"
for almost all URLs on the website.
https://sitebulb.com/hints/indexability/url-contains-a-form-with-a-get-method/
Is this from the search form? Please advise how to fix it
Hi there,
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
The theme itself does not handle URLs or permalinks at all.
Let me know :)
Hi Leo,
Looks this form is from the theme in the search form
form method="get" class="search-form navigation-search" action="https://site.com/">
<input type="search" class="search-field" value="" name="s" title="Search" />
Website url given for you to double check.
Yup that's the navigation search option from GP:
https://docs.generatepress.com/article/navigation-search/
Maybe I'm a little bit confused about what the issue is here.
I clicked a few pages but don't see any weird URLs?
hi Leo,
Looks similar
https://generatepress.com/forums/topic/url-contains-a-form-with-a-get-method/
SEO audit tool gives this reason:
URLs that contain a form element with the method set to GET, which creates submission URLs with the form data in the query string. This presents a potential vulnerability for a large number of URLs to be created and/or cached, which could cause issues with crawl efficiency or index bloat
I have added an image of the SEO audit report.
Hi there,
the GP Navigation search uses the same method that the WP search function provides.
You could try disallowing those URLs in your robot text. More info here:
https://sanzon.wordpress.com/2008/04/29/advanced-usage-of-robotstxt-w-querystrings/