![]() |
|
Https redirection - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Https redirection (/thread-13184.html) |
Https redirection - Richardp - 2018-12-06 Hi , htaccess file version 1.4.12;Rewrite rules are now handled by PHP codeSee the file "zenphoto-rewrite.txt" for the actual rulesThese rules redirect everything not directly accessing a file to the Zenphoto index.php script
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} !(/$|.) RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteRule ^.*/?$ index.php [L,QSA] Can anyone help please? suggest a solution ? Thank you Https redirection - acrylian - 2018-12-06 You should do the redirection via your host/server. You often can configure a "force ssl" or similar on your host's settings when you enable https. Https redirection - MarkRH - 2018-12-08 I've always seen it as:
So, might try Https redirection - Richardp - 2018-12-08 Tried that didn't work Https redirection - acrylian - 2018-12-08 I have to admit I never tried it since the hosts I know do this via server side setting. But besides that I only know what @MarkRH posted. There is also the syntax I am not sure what these lines are actually for?: Maybe try to strip down to the really ZP necessary stuff and try with that. Https redirection - MarkRH - 2018-12-08 Those extra lines are from cPanel's AutoSSL process. It adds them before every single RewriteRule just about. Https redirection - acrylian - 2018-12-09 @MarkRH: Thanks, I am not familar with cPanel at all. |