xin chào mọi người hiện tại mình đang chạy link sau
https://domain.com/curl.php?https://www.domain2.com/contents/bai-viet
giờ mình muốn rewrite nó thành
https://domain.com/contents/bai-viet
đây là file .taccess của mình
RewriteEngine on
RewriteRule ^contents/([a-zA-Z0-9_-]+)$ curl.php?https://www.domain2.com/contents/$1
nhưng không hiểu sau chạy cứ bị chuyển link sang dạng http://domain.com/curl.php?http://ai-viet