• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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