Zen Cart Logo
Forums / General Questions / Generate HTTPS feeds with rss_feed_2-1-6

Generate HTTPS feeds with rss_feed_2-1-6

Views: 432

Results 1 to 8 of 8
31 Jul 2018, 9:28 AM
#1
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Generate HTTPS feeds with rss_feed_2-1-6

I am using zen cart 1.5.5f and rss_feed_2-1-6, how do make the generated feed with https instead of http since i am forcing ssl on all pages. Thanks.

31 Jul 2018, 4:46 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,100
Plugin Contributions:
56

Re: Generate HTTPS feeds with rss_feed_2-1-6

From what I've seen of the plugin, if you follow mc12345678's lead and do the recommended base changes for https-all-the-time the rss plugin should follow.

31 Jul 2018, 5:32 PM
#4
altruso avatar

altruso

New Zenner

Join Date:
Jul 2018
Location:
Lepia
Posts:
13
Plugin Contributions:
0

Re: Generate HTTPS feeds with rss_feed_2-1-6

TamyA:

I am using zen cart 1.5.5f and rss_feed_2-1-6, how do make the generated feed with https instead of http since i am forcing ssl on all pages. Thanks.

I had to delete and upload the htaccess file from scratch

31 Jul 2018, 6:01 PM
#5
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Generate HTTPS feeds with rss_feed_2-1-6

mc12345678:

How are you forcing https on all pages?

Seems if following: https://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart (be sure to read to the end) that it would do so automatically or else http: is in some way hard-coded into the plugin.

am serving all pages with https, i changed all the path to relevant paths and added the lines of code to the .htaccess to redirect any page with http to https, not sure if the word force is the correct term here but that is what i did.
I

31 Jul 2018, 6:06 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Generate HTTPS feeds with rss_feed_2-1-6

TamyA:

am serving all pages with https, i changed all the path to relevant paths and added the lines of code to the .htaccess to redirect any page with http to https, not sure if the word force is the correct term here but that is what i did.
I

Could you be a little more specific? Besides the .htaccess file at the root of your store (assuming that is where it was placed, but not sure as ZC does not come with an .htaccess in the root of the store, therefore there is no .htaccess to which redirect lines are added.... The file must be created and the lines added to it...)

So where (what file(s)) were these paths modified?

31 Jul 2018, 6:34 PM
#7
tamya avatar

tamya

Zen Follower

Join Date:
Feb 2007
Posts:
336
Plugin Contributions:
0

Re: Generate HTTPS feeds with rss_feed_2-1-6

mc12345678:

Could you be a little more specific? Besides the .htaccess file at the root of your store (assuming that is where it was placed, but not sure as ZC does not come with an .htaccess in the root of the store, therefore there is no .htaccess to which redirect lines are added.... The file must be created and the lines added to it...)

So where (what file(s)) were these paths modified?

Yes the htaccess is in the root under the /public_html and these 3 lines of code added to it as follow
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

31 Jul 2018, 7:04 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Generate HTTPS feeds with rss_feed_2-1-6

TamyA:

Yes the htaccess is in the root under the /public_html and these 3 lines of code added to it as follow
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

So as both lat9 and I have suggested, the FAQ: https://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart identifies the need to also modify the includes/configure.php and admin/includes/configure.php.

Neither of those two files have been identified as being modified (yet). Unless there is a reason to repeat the content of the FAQ, please follow the direction provided there. If there is something not understood about those instructions or how to do something related to them, please ask.