apache - limitinternalrecursion wordpress permalinks -


i have nginx server proxy_pass-ing urls end in /blog ip address have wordpress instance running apache.

the issue having when enable permalinks limitinternalrecursion error. when don't enable permalinks works expected , can access of blog pages through proxy.

here contents of .htaccess file:

# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /blog/ rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /blog/index.php [l] </ifmodule>  # end wordpress 

edit:

i found out rewrite rule provided wordpress needed changed to:

<ifmodule mod_rewrite.c>      rewriteengine on      rewritebase /      rewritecond %{request_filename} !-f      rewritecond %{request_filename} !-d      rewriterule ^(.+)$ /index.php/$1 [l,qsa]  </ifmodule> 

Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -