Sample Header Ad - 728x90

Problems with .htaccess and slash

-1 votes
1 answer
89 views
I'm trying to solve a problem with .htaccess. I have this lines in my .htaccess, but the website still have a "with slash" version. **Sorry, it's an erotic page** https://carlamila.es/acompanantes-madrid.php/ Thanks in advance!!! #With www to nonwww RewriteCond %{HTTP_HOST} ^www.carlamila.es [NC] RewriteRule (.*) https://carlamila.es/$1 [R=301,L,QSA] #Http to HTTPS RewriteCond %{HTTPS} off RewriteRule (.*) https://carlamila.es/$1 [R=301,L,QSA] #With to without slash RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule (.*) http://carlamila.es/$1/ [R=301,L,QSA]
Asked by Jordi Webmaster (1 rep)
Feb 6, 2021, 09:39 AM
Last activity: Nov 11, 2021, 09:40 PM