blog next page generates a 404 error
Posted: September 6th, 2011, 9:27 pm
I'm having a problem with my site where a link seems to be getting re-directed and generating a 404 error, but only when s2member is enabled.
The problem is easy to reproduce. The site is http://proxyexhange.org. If you go to the home page without logging in, you'll see a bunch of blog posts. Scroll down to the bottom and you'll see links to go to the next page by selecting the Next link. The Next link points to:
http://proxyexchange.org/page/2/
However, when you select that link, the URL changes to
http://proxyexchange.org/2/, which generates a 404 error.
When I disable s2member, the site works fine, displaying the second page of blogs. The problem occurs even when I enter the URL in the browser directly.
Is s2member somehow removing the "page/" from the URL? I don't see any options to configure this.
I have the latest version of s2member installed, but I don't know when this behaviour started happening. I don't think I have any special POST restrictions configured that could explain this behavior.
The problem is easy to reproduce. The site is http://proxyexhange.org. If you go to the home page without logging in, you'll see a bunch of blog posts. Scroll down to the bottom and you'll see links to go to the next page by selecting the Next link. The Next link points to:
http://proxyexchange.org/page/2/
However, when you select that link, the URL changes to
http://proxyexchange.org/2/, which generates a 404 error.
When I disable s2member, the site works fine, displaying the second page of blogs. The problem occurs even when I enter the URL in the browser directly.
Is s2member somehow removing the "page/" from the URL? I don't see any options to configure this.
I have the latest version of s2member installed, but I don't know when this behaviour started happening. I don't think I have any special POST restrictions configured that could explain this behavior.