Your sites Log in Sign up Menu

Disable pagination?

I noticed that even when I don't use pagination in my template, typing /page/1 .. /2 .. etc. produces the pages with some result (depending on what's in the template). It's not a big deal, but I wonder if there is a way to disable pagination all along?

I tried to create a redirect rule "/page/(.*)" > "/" but it didn't work out either


10 months ago, 1 replies   developers   redirects   Improve this question

Redirects only work for otherwise broken links, i.e. you cannot use the redirect settings to handle paths which match pages on your template or files in your folder.

However, you can write some JS and install it on your template's entries.html file which will redirect pages whose window.location.pathname matches the pattern /page/$X if you like

Answered 10 months ago · Improve this answer