Jump to content


This topic is now archived and is closed to further replies.


my site doesnt forward from http to https

Recommended Posts

Hi @mikejay It does go into secure mode as it should when going to login or checkout. There are ways to make it secure on all pages. That being said, you are using very old version of code. Here is a link to the oscommerce download page. I would strongly suggest to check into using the newest Phoenix Community Edition coding!



Share this post

Link to post
Share on other sites

You may have got the out of date "Official" Version.

You need the bang up to date Phoenix Version, click the link in my signature.

Live shop Phoenix on PHP 7.4 Working my way up the versions.

Share this post

Link to post
Share on other sites
19 hours ago, mikejay said:

but if i just use the site name or www. it wont forward to the https

Edit the includes/configure.php file and, if present, change the links for your site from http://www... to https://www...

Then edit the .htaccess file in the root of your shop and add the following, edited to match your site. The first line is not required if one is present but be sure to place the other lines after it.

RewriteEngine On 

#redirect index.php to root
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ https://www.YOUR SITE.com/catalog/ [R=301,L]

#redirect non-www to www
RewriteCond %{HTTP_HOST} ^YOUR SITE\.com
RewriteRule ^(.*)$ https://www.YOUR SITE.com/catalog/$1 [R=permanent,L]

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.YOUR SITE.com/catalog/$1 [R,L]


Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post

Link to post
Share on other sites