Home › Forums › Back End › How to create wildcard redirects using wp_redirect › Reply To: How to create wildcard redirects using wp_redirect
November 8, 2015 at 9:03 am
#234698
Participant
@Alen.. Thanks a lot.. You’re really a gem. I took the php way because I had some conditions for the redirect as you can. I wanted a specific user (in my site one custom role of shop_vendors) who has limited capabilities on the site but has also access to forums be redirected to a custom made profile page. And that’s why I was looking for the wp_redirect function. Your function worked very well. I just made one more addition to the condition and it worked like a charm.
Thank you once again.