php - Redirect loop in wordpress only in root directory -


i getting recirect loop error in wordpress site on root folder. here apache2 virtual host:

<virtualhost www.myhost.dev:80>     <location />             redirectmatch ^/$ /site/     </location>      <location /site>             redirectmatch ^/site$ /site/     </location>      <location /site/>             proxypass http://sub.myhost.dev/site/             proxypassreverse http://sub.myhost.dev/site/     </location> </virtualhost>   # default host <virtualhost myhost.dev:80>     redirect permanent / http://www.myhost.dev/site/ </virtualhost> 

site url , home set to: www.myhost.dev/site

sub.myhost.dev subdomain of myhost.dev


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -