Answer the question
In order to leave comments, you need to log in
Instead of 404, it gives 301 incorrectly on the WordPress CMS, how to set up .htaccess correctly?
Hello!
The essence of the question is that on my site, if I add the number 1 to the page address htpp://site.com/page/1 It
gives the correct 404 error, but if I write a number greater than one, then a 301
htpp redirect occurs ://site.com/page/2
I know that wp_query works this way, namely, it throws up pages for the blog, but I would like to know how to fix it, I tried to do it through .htaccess and the 404.php file in the site theme itself, through 404page plugin, nothing comes out. Tell me your idea or ready-made tips? (
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question