Jump to content
Sign in to follow this  
crombiecrunch

Need help with some https:// to http:// coding

Recommended Posts

Hello all I am almost done with my new full integration of my site. This is whats going on:

 

you go to the main site; http:// - fine

 

click on any tab that takes you to a secure WHMCS area; https:// - great

 

click back on any tab that takes you out of the secure areas to the main parts of the site; stays https:// - not good.

 

example code of my NAV bar I am using

<li><a href="/index.html" title="Home" class="current"><span>Home</span></a></li>

 

Is my only option to change the code to

<li><a href="http://www.mysite.com/index.html" title="Home" class="current"><span>Home</span></a></li>

 

Or is there other code I can use to keep the /index.html coding?

Share this post


Link to post
Share on other sites

that is the easiest way as the links on the secured site (https) will always look for and add the https as that is main directory when you use the lkinks as ("/index.html") you will have to manually add the (http://) full domain to the links that go back to your main site

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated