Redirecting Single Post Page to its Archive Page
-
Hello.
We have a custom post type called Event, with an archive page called Events.
We want to redirect all single Events to the main Events page, so:
https://mypage.com/event/singleeventurl/
should redirect to:
https://mypage.com/events/
We tried a simple regex redirection like /event/(.*) to /events/ but none is working properly, and some of them actually redirect us to:
https://mypage.com/events/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/singleeventurl/
With a “too many redirects” error.How can we achieve this redirection using the plugin?
Thanks!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Redirecting Single Post Page to its Archive Page’ is closed to new replies.