AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

How to customize redirection instead of 301

2 Posts
2 Users
1 Reactions
886 Views
Posts: 4
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@waiyan)
Active Member
Joined: 3 years ago
[#51207]

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? 

 Screenshot 1

1 Reply
Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 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
Share: