Redirect query to main URL – how to do it?
-
If I add a query mark to the url on my website and then a meaningless set of numbers, there is no redirection to the main url.
That’s what I mean:
https://site.com?845fuy438fy349f348yf
https://site.com/category/page/?horhcohghcv90yh09c3This is what I want to get:
https://site.com
https://site.com/category/page/How can I set this up so that any queries are redirected to the main url? I see a lot of discussion on this topic here, but I couldn’t find a single example of how this should be set up correctly. Including I looked at the Q&A site and the manual for this plugin. I couldn’t find an answer to my question other than “use regular expressions”. Why can’t you make a single checkbox – “all queries redirect to the main address”?
In the settings I could only find “Default query matching” and selected “Ignore query parameters”, but it does not work.
How to fix it?
- The topic ‘Redirect query to main URL – how to do it?’ is closed to new replies.