나는 이런 내 웹 사이트에서 URL이 있습니다. 이 같은만드는 방법 꽤 URL을
내 기대 URL 뭔가 -
http://mydomain.com/centers/Tharanga-Higher-Educational-Institute#page=art-section
지금까지 내 htaccess로 파일이 코드는
# Enable Rewriting
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /profiles/centers/index.php\?code=([0-9]+)&name=([^&]+)&?([^\ ]+)
RewriteRule ^profiles/centers/index\.php /%1/?%2 [R=301,L,NE]
하지만이 코드는 나를 위해 작동하지 않습니다. 누군가가 나를 도울 수 있기를 바랍니다. 감사합니다.
리디렉션이 필요없는 깨끗한 URL이므로 현재 환경에서'http : // www.mydomain.com/profiles/centers /'와'Tharanga + Higher + Educational + Institute # page = 예술 섹션' – Vector