I am facing issue regarding redirection.
My system has been already live.Google already cached all pages with https .
In past my secure url and unsecured were both https://www.example.com.
But now
secure url is https://www.example.com
unsecured url is http://www.example.com
Now, I want to and trying to configure url like this
checkout and customer urls are open with https://www.example.com(Woking )
other all urls are open like http://www.example.com(Working)
Issue:
As my all pages are cached as https in google so,
my other all urls are open with https
But,i want to redirect https non checkout and non customer url to http
Using htaccess
all pages is cache in google with https.That if an non-customer/non-checkout url is coming with https, then it should be redirect to http
Here, i have done the following changed in admin:
Base URL>secure url>https://www.abc.com
Base URL>unsecure url>http://www.abc.com
Use Secure URLs in Frontend=yes
Best Answer
This code for solved this problem
Thanks!!!!!!!!