.html 확장 페이지에서 변수를 전달하고 .html 페이지는 mod 재 작성으로 구성되어 있으므로 html 파일이 아닌 PHP .html로 다시 작성됩니다. 어떤 단서를 ?변수를 HTML 확장 프로그램 페이지에 전달합니다. html과 같은가요? a = asdfadf
편집 : 내 htaccess로 파일 * :
RewriteEngine on
RewriteRule ^watch/(.*)/(.*).html$ video.php?tag=$1&video=$2 [L]
RewriteRule ^(.*)/([0-9]+).html$ index.php?tag=$1&page=$2 [L]
RewriteRule ^(.*).html?([a-zA-Z=]+)$ index.php?tag=$1 [L]
*이 코멘트에 공급한다. 간격은 원본과 다를 수 있습니다.
.htaccess는 어떻게 생겼습니까? – TimWolla
내가 자세히 말할 수 없으면 미안해. 나는 성공적으로 .htaccess를 만들고 잘 작동합니다. 하지만 그 후에도 여전히 .html과 같은 변수가 필요합니까? orderby = views – WordpressGuru
RewriteEngine on RewriteRule^watch /(.*)/(.*) .html $ video.php? tag = $ 1 & video = $ 2 [L] RewriteRule^[.])/([0-9] +) .html $ index.php? tag = $ 1 & page = $ 2 [L] RewriteRule^(. *). html? ([a-zA-Z =] +) $ index.php? tag = $ 1 [L] – WordpressGuru