OgaBoss Posted October 31, 2014 Share Posted October 31, 2014 Pls this pagination is not working and have try nd try but it keep redirecting me to the 1st page instead of next pageRewriteEngine OnRewriteRule ^blog/([0-9] )-([a-zA-Z0-9_-] )/([0-9] )/?$ blog/replies.php?id=$1 [L]-----------For Pagination - not working-----------RewriteEngine OnRewriteRule ^blog/([0-9] )-([a-zA-Z0-9_-] )/([0-9] )/?$ blog/replies.php?id=$1¤tpage=$2 [L,QSA]Pls what could be the problem? Link to comment Share on other sites More sharing options...
justsomeguy Posted October 31, 2014 Share Posted October 31, 2014 Which part of that pattern is supposed to be the page number? Link to comment Share on other sites More sharing options...
OgaBoss Posted November 1, 2014 Author Share Posted November 1, 2014 Site.ext/195-pagination-problem/2 Link to comment Share on other sites More sharing options...
OgaBoss Posted November 1, 2014 Author Share Posted November 1, 2014 Sorry... Site.ext/blog/195-pagination-problem/2 Link to comment Share on other sites More sharing options...
justsomeguy Posted November 3, 2014 Share Posted November 3, 2014 One issue is that all of your patterns include a space at the end, but your URL does not have spaces. It looks like the page number is the third pattern, you're telling it to use the second. Link to comment Share on other sites More sharing options...
OgaBoss Posted November 6, 2014 Author Share Posted November 6, 2014 Can u pls, help me fix it? Link to comment Share on other sites More sharing options...
justsomeguy Posted November 6, 2014 Share Posted November 6, 2014 I'm trying to help you. What don't you understand about what I told you? Link to comment Share on other sites More sharing options...
OgaBoss Posted November 7, 2014 Author Share Posted November 7, 2014 About that pattern Link to comment Share on other sites More sharing options...
Ingolme Posted November 7, 2014 Share Posted November 7, 2014 That's a regular expression. You can learn regular expressions at http://regular-expressions.info Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now