http to https migration: index.htm issue - Joomla! Forum - community, help and support
hello,
to take advantage (hopefully) of google ranking boosts, attempting change entire site https. certificate installed, , pages showing secure. problem attempting 301 redirect in htaccess , not appear functioning correctly. using following:
rewriteengine on
rewritecond %{https} off
rewriterule (.*) https://%{http_host}%{request_uri} [r=301,l]
problem is, when attempt go page on joomla site bookmark, entering url in browser, or google search result, going directly to:
https://www.mydomain.com/index.htm (for example, google result points http://www.mydomain.com/my-reviews. being redirected https://www.mydomain.com/index.htm)
once on https page, of links on page , in navigation directory work correctly.
any ideas of missing?
thanks help.
to take advantage (hopefully) of google ranking boosts, attempting change entire site https. certificate installed, , pages showing secure. problem attempting 301 redirect in htaccess , not appear functioning correctly. using following:
rewriteengine on
rewritecond %{https} off
rewriterule (.*) https://%{http_host}%{request_uri} [r=301,l]
problem is, when attempt go page on joomla site bookmark, entering url in browser, or google search result, going directly to:
https://www.mydomain.com/index.htm (for example, google result points http://www.mydomain.com/my-reviews. being redirected https://www.mydomain.com/index.htm)
once on https page, of links on page , in navigation directory work correctly.
any ideas of missing?
thanks help.
i use following rule .htaccess file.
the (.*) capture url, , $1 add end of new https domain. simplest way force https without loosing intended destination.
code: select all
rewriteengine on
rewritecond %{server_port} 80
rewriterule ^(.*)$ https://www.mydomain.com/$1 [r,l]
the (.*) capture url, , $1 add end of new https domain. simplest way force https without loosing intended destination.
Comments
Post a Comment