Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to create wildcard redirects using wp_redirect Reply To: How to create wildcard redirects using wp_redirect

#234698
Ayanize
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.