cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.4 issue with http redirected via https to https+SID

Highlighted

Magento 2.3.4 issue with http redirected via https to https+SID

Hello All,

 

I have an issue with magento 2.3.4 and the 301 redirect that adds a SID to the url. This happens to the homepage as wel as product pages and CMS pages. In magento 2.3.4 the setting under general, web to disable SID is no longer there and as i understood this disabled by default. I run a single store. Which database is exported from a magento 1.9 installation.

 

example (1) as below seems fine. The other examples all end in a url with SID added.

All pages with SID in the url are blocked by robots.txt. I still have a lot of backlinks directing to the http pages which now are redirected twice via a 301 redirect ending in a page which is blocked by the robots.txt effectively losing any value. Ideal would be that the http request should end up with the https version of the site without the SID.

 

What is the solution to this issue? 

 

(1)

https://www.vctrade.nl
200 OK

 

(2)

https://vctrade.nl
301 Moved Permanently
https://www.vctrade.nl/?SID=hur6ejg8q72kektck9k6t8r5ur
200 OK

 

(3)

http://www.vctrade.nl
301 Moved Permanently
https://vctrade.nl/
301 Moved Permanently
https://www.vctrade.nl/?SID=0ao2h2hreg4rs0i0mb12l515el
200 OK

 

(4)

http://vctrade.nl
301 Moved Permanently
https://vctrade.nl/
301 Moved Permanently
https://www.vctrade.nl/?SID=9r1b37e1ao2ip8deqb5no87kri
200 OK