2
RewriteRule ^tag/([^/]+)/([^/]+)/?$ search.php?search=$1&tag=true&from=$2 [QSA,NC,L]
RewriteRule ^tag/([^/]+)/?$ search.php?search=$1&tag=true [QSA,NC,L]
RewriteRule ^tag/([^/]+)/page/(.+)/?$ search.php?search=$1&tag=true&page=$2 [QSA,NC,L]
위의 규칙은 동적 URL을 친숙한 URL로 다시 작성하는 것 같습니다.다음과 같은 다시 쓰기 규칙에서 "태그"제거 :
최종 결과는 모양이 http://www.example.com/tag/word
나는 그것을 같이하고 싶은이 http://www.example.com/word
사람이 "태그"폴더를 생성하지 않도록 제대로 기존의 재 작성 규칙을 변경하는 데 도움이 수 있습니까?