Forums / Templates, Stylesheets, Page Layout / Want the Login link in header to take customer to Secure Login page

Want the Login link in header to take customer to Secure Login page

Started by mom2da3ks on 9 Feb 2011, 10:07 PM · Views: 1,140

Results 1 to 6 of 6
9 Feb 2011, 10:07 PM
#1
mom2da3ks avatar

mom2da3ks

New Zenner

Join Date:
Feb 2011
Posts:
14
Plugin Contributions:
0

Want the Login link in header to take customer to Secure Login page

I know to edit the** includes/templates/template_default/common/tpl_header.php
**
I just don't know how to change it. When a customer clicks the "login" link at the top of the page, I want them routed to the "https://mysitelogin.blahblah" not "http://mysitelogin.blahblah". can this be done?
and if it can, can I change the "login" to "secure login"?

9 Feb 2011, 10:20 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Want the Login link in header to take customer to Secure Login page

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 Feb 2011, 10:26 PM
#3
mom2da3ks avatar

mom2da3ks

New Zenner

Join Date:
Feb 2011
Posts:
14
Plugin Contributions:
0

Re: Want the Login link in header to take customer to Secure Login page

I followed the tutorial to the letter and when you click to login, it still takes you the the http:// addy and not the https:// addy. I just want the login/register page and checkout pages secure. I must be doing something totally wrong. I know it is simple as black and white but I am not seeing it.

Here is a link to my site:
https://www.valoriebrowndesigns.com/store

9 Feb 2011, 11:13 PM
#4
mom2da3ks avatar

mom2da3ks

New Zenner

Join Date:
Feb 2011
Posts:
14
Plugin Contributions:
0

Re: Want the Login link in header to take customer to Secure Login page

I figured it out. I only want the login and checkout pages using SSL and I altered the header_php with a work-around to allow the customer to just go to the secure login page. now to make sure the checkout page is secure as well. thanks. this is resolved as far as i am concerned...

10 Feb 2011, 8:01 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Want the Login link in header to take customer to Secure Login page

You must have some very odd links in your custom template code then ... because if your template is written properly then all the links that need SSL will automatically use it appropriately.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Feb 2011, 3:50 PM
#6
mom2da3ks avatar

mom2da3ks

New Zenner

Join Date:
Feb 2011
Posts:
14
Plugin Contributions:
0

Re: Want the Login link in header to take customer to Secure Login page

actually after going through all the steps again, i found that one of the configure.php files didn't save with the true notation as the other one did. weird. but once i changed it and uploaded it to the server, it worked like a charm!!! beautiful...i removed the custom link to my login and zc worked EXACTLY as it should!! ty!!