2014-05-22 2 views
0

magento가 nginx에 호스팅되었습니다. magento roor 디렉토리에 wordpress가 설치되어 있습니다.magento 하위 디렉토리의 블로그가 index.php없이 작동하지 않음

나는 www.mymagento.com/blog과 같은 블로그 주소를 가지고 있으며 블로그 게시물 URL은 www.mymagento.com/blog/page/2/입니다.

blogpost URL 페이지가 제대로 작동합니다. 그러나 내가 www.mymagento.com/blog에 갈 때.

페이지 구조가 엉망입니다.

활성화 할 경우 웹 서버 Rewrites을 magento admin에서 사용하면 모든 것이 잘 작동합니다.

이것은 www.mymagento.com 더미 URL입니다.

어떻게하면이 문제를 해결할 수 있습니까? 당신을 도울 것입니다

<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase /blog/ 
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /shop/index.php [L] 
</IfModule> 

희망 : www.mymagento.com/blog, 깨끗한 브라우저 기록의 htaccess로 코드 다시 시도 다음

답변

-1

추가!

+0

내 응용 프로그램은 NGINX – Muk

+0

에서 호스팅됩니다 .htaccess는 Apache 서버에만 해당됩니다. – Tanzaho

관련 문제