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.

i use following rule .htaccess file.

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

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support