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
  • 40,709
  • 21
  • 93
  • 115
  • 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
  • 5,069
  • 4
  • 18
  • 26