AbanteCart Development > AbanteCart v2.0

About redirections


Hi guys, here is another suggestion that I personally did experience and could be very useful to Abantecart's upgrade.

Here is my personal experience:

Since we are creating an online store we want all our customers to visit our store in the https form (for security reasons plus for the fact that when our customers see the green "lock" they feel more secure).
Another reason why I wanted to do this, was because I am using a third-party template so I had css conflicts with the https and http urls. In my case the https was showing everything OK but not the http url. So yes, I wanted everyone to be send to the https url.

Frankly speaking I did not know how to do it and thanks to a member in here (thank you sam  :) ) I was finally able to do it!

However, I came across some serious issues afterwards:

1. One issue was that because the admin panel sends you to an http address (at least that is my case) I got locked out of it.
2. Second issue: Even if your https-address  store appears to be working correctly, when a customer tries to log in (due to another http case) you get hit with a critical error.

Consequently, and because I was unable to resolve all this stuff by myself, I did contact the guys of my hosting provider who thankfully did resolve the entire thing for me.

Bottom line is this: I do not know how much programming it may require, but just keep in mind the conflicts that may occur between https and http urls and regarding the marketplace... that the extensions are able to work in these (or both) urls... you do not want developers to get smashed for something like this.

Just throwing some ideas, with friendly regards  :)

It is easy to redirect all HTTP traffic to HTTPS via htaccess rules


Good suggestion about admin but take a note if something wrong with your SSL certificate you will not be able to login into admin so auto-redirect is not the best idea for admin panel. I prefer to show some message to admin

Hi Basara, regarding the SSL certificate it was OK; so much I knew.

To be honest, and regarding the redirections, it was thanks to sam, who basically told me about how to do it.

But once I did the redirection that is when all my trouble started.

So I did contact the guys from my host-provider and thankfully they were able to sort it out for me.

As we speak all the links from the online store are https now... even the admin panel...


[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod