wordpress - 301 redirect .htaccess - https preventing redirect -
the english section of site has moved subdirectory of old domain own domain. such, have set 301 redirects follows in .htaccess...
errordocument 404 http://www.some-site.jp/ rewriteengine on rewritecond %{http_host} ^(some-site\.jp)(:80)? [nc] rewriterule ^(.*) http://www.some-site.jp/$1 [r=301,l] rewriterule ^index\.html$ / [r=301,l] rewriterule ^(.*)/index\.html$ /$1/ [r=301,l] redirect 301 /en/index.html https://some-site.com/ redirect 301 /en/contact/index.html https://some-site.com/contact/ etc.......
this works fine of site, has no certificate. contact page alone https , not redirect.
i tried solutions found here no avail. suggestions?
Comments
Post a Comment