Prevent AutoPagerize from Reading Pages
-
Hi there,
Do you know a browser plugin called AutoPagerize which works with Firefox, Safari, and GoogleChrome. This is very useful and personally I’m using it. However, it loads WordPress pages unnecessarily. I mean the pages WordPress can create besides blog post whose urls are like
?page_id=3
.I don’t mind normal blog posts get automatically pagerized but not with the pages. I have tried to forbid queried urls with .htaccess,
RewriteCond %{QUERY_STRING} ^page_id [NC] RewriteRule .* - [F,L]
When I open a page such as
https://samplesite/?page_id=2
, the browser reports it is forbidden to be accessed. But when I open a page with permalink url likehttps://samplesite/about
, then Autopagerize somehow reads other pages of?page_id=3,4,5,6..
.Also I have tried using a plugin called redirection and set
https://samplesite/?page_id=(.*?)
to show a 404 page. But strangely the result was the same. Autopagerize just reads other sequential url pages when I openhttps://samplesite/about
.I hope I described the situation clearly. If you don’t get what I’m talking about, you might see the situation just by running the plugin and open a WordPress site which has WordPress pages.
I know I should ask to the browser plugin developer so that the developer can adjust it. But there is no guarantee that this kind of other plugins does not appear in the future and it is not a smart way to ask them every time they are released.
So, I just wondered if it is configurable from the WordPress side to prevent it. If you have a solution, please let me know. I’m sure this will help others too. Thanks.
- The topic ‘Prevent AutoPagerize from Reading Pages’ is closed to new replies.