WordPress permalinks가 주 디렉토리 waringis.com (최상위 코드)에서 작동하고 burrowpress.com이라는 두 번째 도메인이 하위 디렉토리 'waringis.com/burrowpress'로 리디렉션되도록 다음 코드를 결합하려고합니다. (아래 코드) -WordPress permalink 코드와 .htaccess redirect를 어떻게 결합합니까?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
RewriteEngine On
RewriteCond %{HTTP_HOST} burrowpress.com$ [NC]
RewriteCond %{REQUEST_URI} !^/burrowpress/.*$
RewriteRule ^(.*)$ /burrowpress/$1
지금 영구 링크 워드 프레스에 노력하고 리디렉션 작동하지만 이미지 대신 burrowpress.com/images/의 waringis.com/burrowpress/images/하는 직접 링크 할 필요 - 어떤 도움 많이 고맙습니다 ...
Amanda, 답변 중 하나가 문제를 해결하는 데 도움이 되었습니까? 그렇다면 해결 된 것으로 표시해야하며 솔버와 자신 모두 몇 가지 평판 포인트를 얻습니다. –
솔루션이 완벽하게 작동했습니다. 감사합니다. 미안해. 내가 더 빨리 반응하지 않았어, 추수 감사절에 나왔다. 내가 더 높은 평판을 얻 자마자 나는 당신을 투표 할 것입니다! – Amanda