0

What I want to achieve?

www.example.com/list/1/2

my .htacess file

RewriteRule ^list/([0-9a-zA-Z]+) list.php?id=$1&p=$2 [NC,L]

How can I fix that?

Amit Verma
  • 39,545
  • 18
  • 87
  • 107
  • Possible duplicate of [Reference: mod\_rewrite, URL rewriting and "pretty links" explained](https://stackoverflow.com/questions/20563772/reference-mod-rewrite-url-rewriting-and-pretty-links-explained) – Machavity Dec 26 '17 at 14:42

1 Answers1

1

Try:

RewriteRule ^list/([0-9a-zA-Z]+)/([0-9a-zA-Z]+) list.php?id=$1&p=$2 [NC,L]
Ben
  • 4,856
  • 4
  • 17
  • 26