You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, I tried implementing two redirects on a site. One of the source paths had a wildcard in it, and the other one did not. Here's a representative example:
If someone visits path/to/foo.html, they would be redirected to https://www.example.com/foo
If someone visits path/to/bar.html, they would be redirected to https://www.example.com/other
What I observed was:
If someone visits path/to/foo.html, they are redirected to https://www.example.com/other
If someone visits path/to/bar.html, they are redirected to https://www.example.com/other
In other words, the source path containing the wildcard seemed to me to take priority.
I'm opening this Issue to request that the behavior be addressed in the plugin's documentation. Currently, in all the examples where a source path includes a wildcard, there is only one redirect in that example.
The text was updated successfully, but these errors were encountered:
Currently, in all the examples where a source path includes a wildcard, there is only one redirect in that example.
This is true about all examples, regardless of whether a source path includes a wildcard. All examples have only one redirect defined in the redirects dictionary.
Thanks for building this plugin!
Today, I tried implementing two redirects on a site. One of the source paths had a wildcard in it, and the other one did not. Here's a representative example:
I had expected the outcome to be:
path/to/foo.html
, they would be redirected tohttps://www.example.com/foo
path/to/bar.html
, they would be redirected tohttps://www.example.com/other
What I observed was:
path/to/foo.html
, they are redirected tohttps://www.example.com/other
path/to/bar.html
, they are redirected tohttps://www.example.com/other
In other words, the source path containing the wildcard seemed to me to take priority.
I'm opening this Issue to request that the behavior be addressed in the plugin's documentation. Currently, in all the examples where a source path includes a wildcard, there is only one redirect in that example.
The text was updated successfully, but these errors were encountered: