Jump to content

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?

Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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