我有这样的网址:
https://www.example.com/login?redirect=https://www.example.com/settings
如何使它Disallow
是具有redirect
作为参数的URL?但是我想允许不带参数的主URL。
例如:
允许:
https://www.example.com/login
不允许:
https://www.example.com/login?redirect=https://www.example.com/settings
https://www.example.com/login?redirect=https://www.example.com/change-password
https://www.example.com/login?redirect=* (etc)...