• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Problem configuring rewrite rules for .htaccess

J

JamieRW

Guest
Apache/2.2.3 (Debian)
Control Panel Plesk
Environment Joomla 1.5.9

Hi,

I am having problems configuring .htaccess. The first rewrite rule for http:// to http://www seems to work fine but the https:// to http://www doesn't seem to.

I have 'Force SSL' enabled for the 'Administrator only' in Joomla but when I try and login I am getting thrown back to the login screen.

I'm wondering if these rules are conflicting somehow... can anyone confirm that this should work or suggest a fix.

Thanks in advance, DM.

--
########## Begin - Rewrite rules to enhance SEO SEF
#
RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]
RewriteRule ^(.*)$ http://www.mydomain/$1 [R=301,L]
#
RewriteCond %{HTTPS_HOST} ^mydomain.com$ [NC]
RewriteRule ^(.*)$ https://www.mydomain/$1 [R=301,L]
#
########## End - Rewrite rules to enhance SEO SEF
--
 
Back
Top