i've noticed that all of the url's within the generated HTML source are fully qualified with the domain name... relative url's don't appear to be used. since we are supplying the tag, i think we can use relative url's everywhere and reduce the size of the html coming down?
for example:
Product Name
i don't see any reason why this can't just be:
Product Name
or is there an easy way to configure this behavior that i am not seeing?
If tyhe URL's are linke the onces you recommended how are you going to switch between SSL and normal HTTP?d77 wrote: i've noticed that all of the url's within the generated HTML source are fully qualified with the domain name... relative url's don't appear to be used. since we are supplying the tag, i think we can use relative url's everywhere and reduce the size of the html coming down?
for example:
Product Name
i don't see any reason why this can't just be:
Product Name
or is there an easy way to configure this behavior that i am not seeing?
OpenCart®
Project Owner & Developer.
interesting consideration. i am not using ssl, nor am i overly familiar with how it will behave once set up.
what i would expect is that a visitor would have to arrive at the site using https. so if i type in:
https://store.mydomain.com/
and i click on a relative url like:
Product Name
i would be directed to: https://store.mydomain.com/index.php?co ... ry&path=19
what i have seen done on other sites is that if a user attempts to access the site using http:// instead of https:// they are automatically redirected to the ssl url. i'm not sure how to approach having it behave that way, but that is the general idea.
what i would expect is that a visitor would have to arrive at the site using https. so if i type in:
https://store.mydomain.com/
and i click on a relative url like:
Product Name
i would be directed to: https://store.mydomain.com/index.php?co ... ry&path=19
what i have seen done on other sites is that if a user attempts to access the site using http:// instead of https:// they are automatically redirected to the ssl url. i'm not sure how to approach having it behave that way, but that is the general idea.
Last edited by d77 on Fri Sep 21, 2007 2:27 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 4 guests