Magento, all pages redirects to HTTPS - http

A Magento site I been asked to look into lately has recently been redirecting all traffic to HTTPS. When a link on the page points to HTTP with SEO URL's, Magento is return a HTTPS page with catalog URL's instead.
I am not sure if anyones been in and changed the SSL settings, is there anything I can check or change to return it back to normal. How do I specify what areas of the site is HTTPS?
Thank you very much for any help.

i) Check Base Url in the admin console.
Admin --> System --> Configuration --> Web --> UnSecure --> BAse Url & Base Link Url
if its in https change that to http.
ii) Check your htaccess. If you are not sure whats changed. Take a back up of you htaccess and create a new htaccess. Copy htaccess.sample in your magento root folder and change the name to .htaccess
Before these two steps make sure that you have the right configuration in your ssl.conf

Related

Wordpress Subdomain sites redirect to main site

We use wordpress and our subdomain sites recently started redirecting to our main site.
Exmaple, sub.example.com/products redirects to https://example.com/products and gets a 404.
I did notice if I add https:// in front of the subdomain it goes to the proper subdomain site. What would cause that? How would I fix that issue? I want the user to be able to put sub.example.com and get the proper site without needing to type in the https part.
The only thing that I remember changing recently was adding the ssl certificate.
Thanks!
I recently experienced this issue. Check for any wordpress plugins forcing HTTPs on any http domains. Or anything on your subdomain forcing https when it isn't an https site.

What Cloudflare page rules should be added for a WordPress website to run on HTTPS naked (non www) URLs only?

Here is the existing configuration of my site:
I have a CNAME record www to example.com in Cloudflare DNS settings.
Nothing in .htaccess of the original host server.
WordPress site has its Website and Home address set to http://example.com
I don't have a clear understanding of what Cloudflare does and how it integrates with WordPress. However, I would like to achieve this without making any changes in WordPress. What DNS and Page Rules combo should I configure in order to serve all the URLs ONLY over https without www?
Based on this answer here, I tried changing my DNS settings but it didn't work. And I can't get my head around Cloudflare Page Rules.
In order to accomplish this you should create two Page Rules. One that redirects all traffic to https, and another that directs all www traffic to the root domain.
You can find directions for these Page Rules on this KB article (they are the first two). Or there is a video tutorial as well. If you are already maxed out on Page Rules there is also an option now to purchase additional rules without changing plans.
(I'm from Cloudflare)

Wordpress permalink and HTTPS

I installed HTTPS on my website in WordPress . I use CloudFlare for it and I made changes to the URL in WordPress administration and the CloudFlare plugins etc.
screenshot of home page modification
My concern is the following I have HTTPS in my WordPress general settings . I have HTTPS in the permalinks confirmation page.
Only once editing a page or a project under the title permiliens the portfolio is in HTTP ...
I do not understand why it does not go into HTTPS ( for doing so on other sites I do not remember such a problem).
Can you help me?
First of all make sure that your site is only opening up with https and not with http and https.
In the WP general settings wordpress and site name should start with https
Then logout and then login back to wordpress admin. Post that your permalinks should start displaying as https. Also you need to change the internal links to https manually.
Let me know if that fixed the issue. I had similar problems with my site, for which i moved to https just yesterday. Also let me know if you did anything extra for your site.

HTTPS to HTTP redirect via .htaccess

I have a website hosted on a GoDaddy wordpress hosting. We had an SSL, but not longer have the SSL. Google archive some pages with the SSL so I just want to redirect https requests to the http version of the sit.e I have access to the .htaccess file so I figured that was the best way to do it.
I have been searching around and tried tons of different .htaccess redirects, but none of them are working. Including this https to http 301 redirect via htaccess. I know the htaccess is functioning because wordpress is working and I added a few test redirects to it and they worked as well.
Any thoughts or suggestions would be much appreciated.
Thanks.
Wordpress has its own redirect procedure.
Check in the General Settings of you WP Panel for the WordPress Address and the Site Address fields. Make sure they both are non ssl absolute paths.
Another thing to check is on the wp-config.php
define('FORCE_SSL_ADMIN', true);
That could have been added by another plugin. Remove it or make it false.
One last thing you could try (not the best option) is to ask google to remove those specific links, here's a reference for that.
I hope this helps.

Drupal page won't stay https, redirection loop

On a Drupal 6 site we can't figure out why pages, other than the home page, refuse to be accessed in https. Accessing any page on the site, except the home page, immediately redirects back to itself at http.
Apache is correctly setup with a valid SSL certificate.
I'm certain its not the .htaccess file. There's no rewrite rules regarding https or port 443.
I added $conf['https'] = TRUE; to the settings.php
I installed the Secure Page module and configured it to secure the page we want, but it causes a redirection loop ending in a browser error.
No other modules that I can see relate to http vs. https
I can't find any admin settings regarding the base URL that would force this behavior.
I have a lot of experience with server admin, LAMP software, and a little with Drupal, but this one has me stumped. Any hints or suggestions would help me a lot.
Check to see if base url in settings.php is set to the http address. This can cause this behavior.

Resources