SuperMonis
Member
I'm trying to get a certain page on my website load in http instead of https because the page embeds other sites so it doesn't work correctly under https. The page is: https://creative-fun.net/vote
From reading online, this rule should do that:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/vote$
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://creative-fun.net/$1 [R,L]
And I've added it to the htaccess file for the site but this rule is not working, am I doing something wrong here?
EDIT: so currently all templated pages on my site (e.g. forums, shoutbox, homepage, etc.) are loaded on whatever the user is currently on. If they're on http it loads it via that and if on https it loads via that.
I want all these pages to be loaded by https - how do I configure it to do this without using rewrite rules (as Xenforo is blocking the required rules).
The issue is that a custom page I created called 'vote' I want loaded over http - but all other pages over https.
From reading online, this rule should do that:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/vote$
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://creative-fun.net/$1 [R,L]
And I've added it to the htaccess file for the site but this rule is not working, am I doing something wrong here?
EDIT: so currently all templated pages on my site (e.g. forums, shoutbox, homepage, etc.) are loaded on whatever the user is currently on. If they're on http it loads it via that and if on https it loads via that.
I want all these pages to be loaded by https - how do I configure it to do this without using rewrite rules (as Xenforo is blocking the required rules).
The issue is that a custom page I created called 'vote' I want loaded over http - but all other pages over https.
Last edited: