cancel
Showing results for 
Search instead for 
Did you mean: 

Changed from http:// to https:// and www. to non-www.

SOLVED

Changed from http:// to https:// and www. to non-www.

Using Magento ver. 1.9.3.1

I Changed my unsecure base URL  from http://www.dieselcranks.com  to https://dieselcranks.com so both front and back end is secure, looks like all my outside google links are working fine.

The problem I’m having is links using the “advance search” do not resolve correctly.  

Example:

http://www.dieselcranks.com/catalogsearch/advanced/result/?name=crank&description=crank&sku=5736

Resolve to:

https://dieselcranks.com/catalogsearch/advanced/?SID=f286a6ba0f29fe8f3bfc42a91cdc07d8&___SID=U

 

It should be:

https://dieselcranks.com/catalogsearch/advanced/result/?name=crank&description=crank&sku=5736

I have these links on another web site that I can change, but I also have them on a .pdf catalogs with many copies that are used by many customers.

How can I get this to resolve correctly?

Thank You

RickC

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Changed from http:// to https:// and www. to non-www.

In addition to adding it to the Admin-system-web-unsecured I also had to add the rewrite to .htaccess.

 

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

View solution in original post

3 REPLIES 3

Re: Changed from http:// to https:// and www. to non-www.

Hi @RichardCaldwell,

 

 

Were you able to resolve this issue?

 


Best regards.
Gabriel

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.

Re: Changed from http:// to https:// and www. to non-www.

Gabriel,

 

Thanks for looking.

No I still don't know why this is working the way that it is.

Re: Changed from http:// to https:// and www. to non-www.

In addition to adding it to the Admin-system-web-unsecured I also had to add the rewrite to .htaccess.

 

RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]