hardsteal20
New Member
- Messages
- 6
- Reaction score
- 0
- Points
- 0
In my site I have forum and I use mod_rewrite for getting theme name in URL.
I used this in .htaccess
RewriteRule ^forum\:topic\=([0-9]+)-(.*)[^\/]$ forum.php?thread=$1&title=$2 [NC,L]
But I want to add '&p=1' at the end of url for pagination. But not working.
Right now my URL is like this:
mysite.com/forum:topic=1-Topic-Title-Here [It's working]
But I want:
mysite.com/forum:topic=1-Topic-Title-Here&p=2 [It's not working]
Itried the flag QSA too, but fail. I am bad at regular expressions! Any Idea?
I used this in .htaccess
RewriteRule ^forum\:topic\=([0-9]+)-(.*)[^\/]$ forum.php?thread=$1&title=$2 [NC,L]
But I want to add '&p=1' at the end of url for pagination. But not working.
Right now my URL is like this:
mysite.com/forum:topic=1-Topic-Title-Here [It's working]
But I want:
mysite.com/forum:topic=1-Topic-Title-Here&p=2 [It's not working]
Itried the flag QSA too, but fail. I am bad at regular expressions! Any Idea?