• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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