Hi,
I'm trying to debug why this rewrite isn't working. It seems really simple.
RewriteRule similar/([A-Za-z0-9-]+)/([0-9]+)/?$ /similar.php?q=$1&p=$2 [R,L]
Shouldn't this take any url http://localhost/similar/xyz/1 to http://www.localhost/similar.php?q=xyz&p=1?
But, the server seems to time out when this happens.
I think the "" anchor is throwing it off. Maybe something like this?
RewriteRule ^.*/similar/([A-Za-z0-9-]+)/([0-9]+)/?$ /similar.php?q=$1&p=$2 [R,L]
for some reason, I think the GET strings are still not being passed through.
Is there a way to check what url is actually being to the server to be interpreted?
Has been resolved once I changed the redirect statement:
RewriteRule change/([A-Za-z0-9-]+)/([0-9]+)/?$ /similar.php?q=$1&p=$2 [R,L]