Shopping Cart Operations > Security
HTML Block use absolute addressing
(1/1)
helperbee:
My host first needs the site to be live to enable HTTPS, but site is not ready and I don't want to take down current site until this new one can replace it within hours.
Related to this, I have a couple related questions:
1) Where do I learn about the development workflow to understand the sequence of standing up an e-com site to see if I'm overlooking something?
2) Some of my HTML Blocks use absolute addressing to build menu links, this means I have http:// , and anticipate that these links will break once the site switches to HTTPS. What can I do to minimize the "URL fixing" I have to do after HTTPS is enabled. I don't see a way to make links relative when building Blocks.
abantecart:
--- Quote from: helperbee on July 26, 2015, 02:25:54 AM ---1) Where do I learn about the development workflow to understand the sequence of standing up an e-com site to see if I'm overlooking something?
--- End quote ---
If you need AbanteCart technical docs, you can check in here:
http://www.abantecart.com/document_wiki/index.php/Main_Page
--- Quote from: helperbee on July 26, 2015, 02:25:54 AM ---2) Some of my HTML Blocks use absolute addressing to build menu links, this means I have http:// , and anticipate that these links will break once the site switches to HTTPS. What can I do to minimize the "URL fixing" I have to do after HTTPS is enabled. I don't see a way to make links relative when building Blocks.
--- End quote ---
In AbanteCart all links are built dynamically in PHP code. In PHP code you need to use $this->html->getSecureURL() vs $this->html->getURL
If you build static HTML block and put HTML with absolute URLs, you can use just // instead of http or https.
Navigation
[0] Message Index
Go to full version