Plugin Author
iClyde
(@iclyde)
Hi @holihouse
It is possible to do that via RegExp redirection.
Let me show you example for these pages:
– example.com/test0
– example.com/test1
– example.com/test2
– example.com/test3
– example.com/test10
https\:\/\/example\.com\/(test10|test0|test1|test2|test3)
– Order is not random there.
You can use RegExp in “Redirection Rules” under “Regex matches”
Let me know if that resolves your issue 🙂
Thank you!
Hi iClyde!
Thank you so much for your input!
I was looking to do it via the “match” column in the database table. Do you know if it’s possible there?
Thanks!
Plugin Author
iClyde
(@iclyde)
Hi @holihouse
Above solution is most optimized for large amount of redirections, you can also create patterns there to save even more text space.
Match column is only used for simple redirections, for RegExp it will be empty and that rule is saved in meta data.
If you really want, you can use match with simple redirection and create bulk SQL command to insert all redirections, but it’s overkill if you would ask me.
Let me know if you need further help regarding RegExp creation 🙂
Thank you!
Thanks iClide. Is this the from column you are referring to?
Also, is there a way to ignore case for all entries globally, or I necessarily need a separate meta entry for each match?
Plugin Author
iClyde
(@iclyde)
Hi @holihouse
You need meta entry, but most URLs in WordPress should be lower-cased by default, I believe it does not make any difference as slugs are case-insensitive.
I refer to “match” column you mentioned in your previous post.