Notifications
Clear all

How to customize redirection instead of 301

2 Posts
2 Users
1 Reactions
238 Views
Posts: 4
Topic starter
(@waiyan)
Active Member
Joined: 10 months ago

When the pagination number of the forum posts is wrong (the number is larger than the total number of pages), it redirects to the login page and status code is 301. When I see the plugin source code, I see there is no hook to customize that. I want to simply show 404. How can I do that? 

1 Reply
Sofy
Posts: 4565
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi,

The redirection here goes to the first page, not the login page. Therefore, you can't simply change the value to 404 and make it work.

Currently, we offer paid plugin customization and custom addon development services at the gVectors Team. They can assess the work and create it for you: https://wpforo.com/pro-support/#customization

Reply