• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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