• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question help .htaccess

AlexZonimi

New Pleskian
Hello, I would like to know if anyone can help me convert the .htaccess below, I tried to use the platform extension but it didn't work.


Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !(/$|\.)
    RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteRule . index.php [L]
</IfModule>

I've tried to use it too: location / { try_files $uri $uri/ /index.php; }

Returning to Apache is not an option, thanks in advance and I hope you understand my English
 
Back
Top