Welcome! Log In Create A New Profile

Advanced

Rewrite

Posted by muzhik 
Rewrite
January 18, 2015 03:28AM
Hello, moved from one version to another joomla. need to http requests html opened without html
the code below did not help me, gives 500 error, but if I remove the hands .html page that opens successfully


location ~ \.html$ {
if (!-e $request_filename) {
rewrite ^/(.*)\.html$ /$1 last;
}
}

my sef
from
/second/88-pasta/1239-nautically.html
to
/second/88-pasta/1239-nautically
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready