Jump to content

SSL "www" & "no www"


keweli

Recommended Posts

I have redirected all http://www to http:// by editing the htaccess with this:

RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^example\.com
RewriteRule (.*) http://example.com/$1 [R=301,L]



It works good, but if someone copies a link of the checkout page with www, there is a problem.

Anyone know how to add anything so that my https://www.site.com will also be redirected to https://site.com?

Link to comment
Share on other sites

  • 4 weeks later...

If all the pages are under that domain then you shouldn't have to purchase a new SSL just for it to be covered. You need to fix the ini.php file so that all pages have the same prefix either "www.yourdomain.com" or "yourdomain.com" can't use both

Also try and call the hosting for ssl they might change it the way you want, if you act dumb and and say you didn' know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...