2017-12-26 25 views
0

달성하고자하는 것은 무엇입니까?.htaccess를 사용하여 여러 매개 변수로 URL 재 작성

www.example.com/list/1/2

내 .htacess 파일 나는 그것을 고칠 수있는 방법

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

?

+0

[참조 : 모드 \의 _rewrite, URL 재 작성하고 "꽤 링크가"설명] (https://stackoverflow.com/questions/20563772/reference-mod-rewrite- url-rewriting-and-pretty-links-described) – Machavity

답변

1

시도 :

RewriteRule ^list/([0-9a-zA-Z]+)/([0-9a-zA-Z]+) list.php?id=$1&p=$2 [NC,L] 
의 사용 가능한 복제
+0

감사합니다. 금, 당신이 건드린 건데 :) –