hi, thanks for your reply. I've found a few tutorials but still having problems achiving what i need due to the following.
The following are the combinations i would expect to use
domainname.com/categoryname/
domainname.com/categoryname/pagenumber.htm
domainname.com/pagenumber.htm
As you can see from the above, i am trying to get to varibles "categoryname" and "pagenumber", however because the first varible can be either depending on which url you use i cant determin one from the other. However the .htm could be used to work out which is which i guess, but this is where things start to get to complex for me.
Also, my other problem is, because i am collecting 2 varibles sometimes and other times just the 1
If anyone can help i would be very greatfull, i am very new to MOD REWRITE and to be honest dont have much of a clue to what i am doing.