• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Rewrite rule not work in htaccess

Giuseppe

Basic Pleskian
Hi guys,
i migrate a server from cpanel in Plesk, inc panel no issue, in plesk with same htaccess files website not working.

The object of my rules is: https://www.surflanguage.com/it/index.php -> Surf Language on every page.

The htaccess configuration is:
# RewriteOptions inherit
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# SEO-friendly rewrite of localized pages:
RewriteRule ^(en|de|es|it)/(.*)$ $2?lang=$1 [L,QSA]
RewriteRule ^(.*)$ $1?lang=en [L,QSA]


But rules not working, can someone help me?
 
Try to disable nginx and check how your site goes on.
 
Back
Top