0
그래서 이것은 내 URL입니다 :URL은 1
나는 다음과 같은 htaccess로를 기록 할:
PropertyBuyRent = 임대 및 리조트 값이 비어 있지 않은 경우 다음 URL을 같이해야한다 :
http://www.mysite.com/mypage.php/TimeshareForRent/Marriott 년대 + 그랜드 + 당신은이 규칙을 사용할 수 있습니다
그래서 이것은 내 URL입니다 :URL은 1
나는 다음과 같은 htaccess로를 기록 할:
PropertyBuyRent = 임대 및 리조트 값이 비어 있지 않은 경우 다음 URL을 같이해야한다 :
http://www.mysite.com/mypage.php/TimeshareForRent/Marriott 년대 + 그랜드 + 당신은이 규칙을 사용할 수 있습니다
(리조트의 URL에서 오는 어떤 값) 오션 + 리조트 :
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s/+(testing/mypage\.php)\?PropertyBuyRent=rent&Developer=&Resort=([^&]+)&City=&State=&Country=&Price= [NC]
RewriteRule^/%1/TimeshareForRent/%2? [R=301,L,NE]
RewriteRule ^(testing/mypage.php)/TimeshareForRent/([^/]+)/?$ /$1?PropertyBuyRent=rent&Developer=&Resort=$2&City=&State=&Country=&Price= [L,NC,QSA]