Pinchanzee 0 Light Poster

Having trouble with this Mod_Rewrite line:

RewriteRule	^user/(.*)/faves/page([0-9]*)$	user/faves.php?user=$1&p=$2 [NC,L]

This works successfully for, say /user/someuser/faves/page2, giving user = someuser and page = 2
It also works for /user/someuser/faves/ - with or without the ending slash, but it does not work with /user/someuser/faves/page1.

First thought is that it's down to this line:

RewriteRule 	^(.*)/page1/?$		$1		[NC]

Which I expect should take /user/someuser/faves/page1 to this next line:

RewriteRule	^user/(.*)/faves/?$	user/faves.php?user=$1 	[NC,L]

But for some reason I end up with a get value of user = someuser/faves

The problem only occurs with /page1 - so I've narrowed it down to those two lines, but can't figure it out any further.

The website is http://pinchweb.com -if it's necessary to visit.
Any help would be greatly appreciated.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.